Calculator MCP 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., "@Calculator MCP Serverwhat is 12 divided by 4?"
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.
Calculator MCP Server
MCP сервер с 4 математическими тулами, работающий по HTTP (Streamable HTTP).
Тулы
Тул | Описание | Параметры | Пример |
| Сложение двух чисел |
| 2 + 3 = 5 |
| Вычитание второго из первого |
| 10 - 4 = 6 |
| Умножение двух чисел |
| 6 × 7 = 42 |
| Деление первого на второе |
| 20 ÷ 5 = 4 |
Related MCP server: MCP Calculator Streamable HTTP
Запуск
python C:\Users\A\Desktop\test_mcp\server.pyСервер запустится на http://127.0.0.1:8000.
Проверка через MCP Inspector
Запусти сервер в первом PowerShell:
python C:\Users\A\Desktop\test_mcp\server.pyОткрой второй PowerShell (не закрывая сервер) и запусти Inspector:
npx -y @modelcontextprotocol/inspectorВ браузере (http://localhost:6274) выбери:
Transport: Streamable HTTP
URL:
http://localhost:8000/mcpНажми Connect
В разделе Tools увидишь 4 тула. Выбери любой, заполни параметры, нажми Run Tool.
Подключение через opencode
В opencode.json уже прописано:
{
"mcp": {
"calculator": {
"type": "remote",
"url": "http://localhost:8000/mcp",
"enabled": true
}
}
}Запусти сервер (python server.py), затем запусти opencode — он сам подключится.
Проверка через curl
Invoke-RestMethod -Uri "http://localhost:8000/mcp" -Method Post -Body '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}' -ContentType "application/json"Invoke-RestMethod -Uri "http://localhost:8000/mcp" -Method Post -Body '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}' -ContentType "application/json"Invoke-RestMethod -Uri "http://localhost:8000/mcp" -Method Post -Body '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"add","arguments":{"первое_число":5,"второе_число":3}}}' -ContentType "application/json"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
- Flicense-qualityDmaintenanceA simple calculator MCP server that provides basic arithmetic functions (add and subtract) through HTTP transport, designed to be cloud-ready and easily deployable.Last updated
- Flicense-quality-maintenanceProvides basic arithmetic calculation tools through an HTTP-accessible MCP server. Supports mathematical operations like addition with streamable responses for integration with MCP clients.Last updated
- Flicense-qualityDmaintenanceBasic MCP server demonstrating tools for arithmetic operations (add, subtract) and a personalized greeting resource.Last updated1
- Alicense-qualityCmaintenanceA basic MCP server that provides arithmetic tools (add, subtract) and a greeting resource, demonstrating core MCP concepts.Last updatedGPL 3.0
Related MCP Connectors
This MCP server enables users to perform scientific computations regarding linear algebra and vect…
MCP server for URL shortening and management
A basic MCP server to operate on the Postman API.
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/Victor200525/test_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server