Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Learningadd 42 and 17"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Learning
A Model Context Protocol (MCP) server that provides arithmetic tools for AI assistants like Claude.
Features
Add Tool: Add two numbers together with structured input/output
Installation
Prerequisites
Node.js 18 or higher
npm, yarn, or pnpm
From Git Repository
Usage with Claude Desktop
To use this MCP server with Claude Desktop, you need to add it to your Claude configuration file.
Configuration Steps
Locate your Claude Desktop config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Add the server configuration:
Option 1: Using npx (recommended after publishing to npm)
Option 2: Using the built package from cloned repo
After building the project, add this to your claude_desktop_config.json:
Option 3: Development mode with tsx
Restart Claude Desktop to load the new configuration.
Verifying the Installation
Once configured and Claude Desktop is restarted:
Open a new conversation in Claude
Look for the π icon or hammer icon indicating MCP tools are available
Try using the add tool by asking Claude to "add 5 and 3"
Development
Project Structure
Available Scripts
Testing with MCP Inspector
You can test the server using the MCP Inspector:
This will open a web interface where you can interact with your MCP server and test tools.
Adding New Tools
To add new tools to your MCP server, edit src/mcpserver/index.ts:
Publishing to Git
Publishing to npm
Prerequisites
Create an npm account at https://www.npmjs.com/signup
Login to npm:
npm login
Publish Steps
Note: The --access public flag is required for scoped packages on free npm accounts.
Then users can install with:
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.