MCP Calculator Server
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 Calculator Serveradd 123 and 456"
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 Calculator Server - VSCode Setup Guide
This project contains a simple Model Context Protocol (MCP) server that provides an add_numbers tool.
Prerequisites
Related MCP server: TestMCP
Quick Setup
1. Initialize Virtual Environment
python3 -m venv venv
source venv/bin/activate # On Windows: .\venv\Scripts\activate
pip install -r requirements.txt2. Configure VSCode Extension
This project includes a local mcp_config.json that is configured to use the local venv.
If your VSCode extension (like Roo Code or Cline) supports workspace-level MCP settings, it will automatically detect the server. Otherwise, you can point your global settings to the local venv path:
{
"mcpServers": {
"calculator": {
"command": "/ABSOLUTE/PATH/TO/mcp_poc/venv/bin/python3",
"args": ["/ABSOLUTE/PATH/TO/mcp_poc/mcp_server.py"]
}
}
}Repository-level Configuration
We have included a template configuration file at mcp_config.template.json. You can copy this and adjust the paths for your local machine.
How to Test
Run the included test script to ensure the server is working correctly:
python3 test_server.pySetup on a New PC
If you are moving to a different machine:
Clone the repo:
git clone https://github.com/barneybarney143/mcp_poc.gitRun Setup:
python3 -m venv venv source venv/bin/activate pip install -r requirements.txtUpdate Path: MCP servers usually require absolute paths. Open your VSCode MCP settings and update the
commandandargsto match the location of the project on your new machine.TIPIf you use theRoo Code extension, it can automatically detect the
mcp_config.jsonin the root of this workspace using relative paths!
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityDmaintenanceA simple and extendable MCP server that currently provides basic addition functionality and can be easily extended by defining new tools with docstrings.Last updated4
- -license-quality-maintenanceA Python MCP server that provides a tool called addNumbers for mathematical operations.Last updated
- Alicense-qualityDmaintenanceA simple demonstration MCP server that provides a basic arithmetic tool for adding two numbers together, showcasing how to build custom MCP servers with input validation.Last updated30ISC
- Flicense-qualityCmaintenanceA simple MCP server that provides a tool for adding two numbers, designed for testing MCP integration with Claude.Last updated
Related MCP Connectors
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
MCP server exposing the Backtest360 engine API as tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/barneybarney143/mcp_poc'
If you have feedback or need assistance with the MCP directory API, please join our Discord server