My

Provides a simple MCP server that adds two numbers using the official MCP SDK with input validation.
  • javascript

0

GitHub Stars

javascript

Language

7 months ago

First Indexed

3 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "slavkurochkin-first-mcp": {
      "command": "node",
      "args": [
        "mcp.js"
      ]
    }
  }
}

You run a small, focused MCP server that provides a reliable addition tool. It adheres to the Model Context Protocol to enable simple, safe arithmetic operations in your workflows or editor integrations, returning results quickly and with input validation.

How to use

To use the addition tool with an MCP client, connect your client to the MCP server and call the tool named add with two numbers. The server processes the inputs, validates them, and then returns the sum as a text result. You can incorporate this tool into any workflow that requires quick arithmetic calculations without implementing your own calculation logic.

How to install

Prerequisites: you need Node.js installed on your system.

Step 1 — Install dependencies

npm install

Step 2 — Run the MCP server

node mcp.js

Available tools

add

Addition Tool: Accepts two numbers, a and b, and returns their sum as text. Includes input validation to ensure both parameters are numbers.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational