mcp-add-server
0
The MCP Add Server is a minimal MCP server designed to perform basic addition operations. It provides a simple tool for summing two numbers and serves as an example of implementing an MCP server.
MCP Add Server
A minimal Model Context Protocol (MCP) server offering a basic add(a, b)
tool for summing two numbers. It's designed as a simple example of MCP server implementation.
Features
- Implements a Model Context Protocol compliant server.
- Provides a single tool for addition.
Prerequisites
- Node.js (version 18.x.x or higher recommended)
- npm (comes with Node.js)
Installation
- Clone the repository.
- Install dependencies with npm.
Usage
- Use
npx
to run the server without installing. - Run from a cloned repository using npm.
- Install globally for frequent use.
- Link locally for development.
Running Tests
Tests will be added later. Currently, running npm test shows an error as no tests are specified.
Project Structure
- Source code and dependencies are under
src/
andnode_modules/
respectively.
Contributing
Contributions are welcome! Submit a pull request or open an issue.
License
Licensed under the MIT License.