MCP.so
Sign In

MCP Add Server

@zhangzhefang-github

About MCP Add Server

mcp-add-server

Basic information

Category

Other

License

MIT license

Runtime

node

Transports

stdio

Publisher

zhangzhefang-github

Submitted by

zhefang zhang

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-add-server": {
      "command": "npx",
      "args": [
        "@zhefang/mcp-add-server"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MCP Add Server?

MCP Add Server is a minimal Model Context Protocol (MCP) server that provides a single tool: add(a, b), which returns the sum of two numbers. It serves as a basic example of an MCP server implementation, intended for developers learning about the MCP ecosystem or testing MCP-compatible clients.

How to use MCP Add Server?

Run the server using npx mcp-add-server (requires Node.js 18+ and npm). Alternatively, clone the repository, install dependencies with npm install, and run with npm start. You can also install it globally via npm install -g mcp-add-server or use npm link for local development. Once running, MCP clients can call the add tool with arguments a and b and receive the sum as the result.

Key features of MCP Add Server

  • Implements a Model Context Protocol compliant server.
  • Provides a single add(a, b) tool that returns numeric sums.
  • Can be run via npx, local clone, or global installation.
  • Requires only Node.js 18.x or higher and npm.
  • Includes both a server executable (bin.js) and modular source code (src/server.js).
  • Licensed under the MIT License.

Use cases of MCP Add Server

  • Learning how to build a minimal MCP server from scratch.
  • Testing MCP client tool‑calling functionality.
  • Demonstrating MCP server–client integration in workshops or documentation.
  • Quick validation of MCP tool invocation pipelines.

FAQ from MCP Add Server

What dependencies or runtime does MCP Add Server require?

Node.js version 18.x or higher and npm (which comes with Node.js) are required.

How can I install MCP Add Server?

You can run it without installation via npx mcp-add-server; install globally with npm install -g mcp-add-server; or clone the repo and run npm install && npm start.

Does MCP Add Server have any authentication or security mechanisms?

The README does not mention any authentication, authorization, or transport‑level security. It is a local‑only example server with no built‑in access controls.

What is the project structure of MCP Add Server?

The repository contains src/server.js (main logic), bin.js (executable entry), package.json, LICENSE, and standard files (.gitignore, node_modules).

Are there any tests included?

The README notes that tests are not yet implemented; running npm test currently outputs an error message.

Comments

More Other MCP servers