MCP Calculator Streamable HTTP
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 Streamable HTTPadd 15 and 27"
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.
create venv
python3 -m venv .venv
activate
source .venv/bin/activate
#install dependecies uv add mcp uv add 'mcp[cli]'
run
uv run mcp dev server.py npx @modelcontextprotocol/inspector python server.py
run
python3 server.py
test (agent auto)
:use the mcp calculator_streamable_http add 1 to 1 and show the result
curl
1 Initialize Session
curl -X POST http://localhost:8000/mcp
-H "Content-Type: application/json"
-H "MCP-Protocol-Version: 2025-06-18"
-H "Accept: application/json, text/event-stream"
-d '{
"jsonrpc":"2.0",
"id":1,
"method":"initialize",
"params":{"protocolVersion":"2025-06-18",
"capabilities":{"tools":{}},
"clientInfo":{"name":"test-client",
"version":"1.0.0"}}}'
1.1 Initialize Session and get session-id
curl -X POST http://localhost:8000/mcp
-H "Content-Type: application/json"
-H "MCP-Protocol-Version: 2025-06-18"
-H "Accept: application/json, text/event-stream"
-d '{
"jsonrpc":"2.0",
"id":1,
"method":"initialize",
"params":{"protocolVersion":"2025-06-18",
"capabilities":{"tools":{}},
"clientInfo":{"name":"test-client",
"version":"1.0.0"}}}'
-v 2>&1 | grep -i "mcp-session-id" | cut -d' ' -f3
1.2 Initialize Session and get session-id
curl -X POST http://localhost:8000/mcp
-H "Content-Type: application/json"
-H "MCP-Protocol-Version: 2025-06-18"
-H "Accept: application/json, text/event-stream"
-d '{
"jsonrpc":"2.0",
"id":1,
"method":"sessions/open",
"params":{"protocolVersion":"2025-06-18",
"capabilities":{"tools":{}},
"clientInfo":{"name":"test-client",
"version":"1.0.0"}}}'
-v 2>&1 | grep -i "mcp-session-id" | cut -d' ' -f3
Send Initialized Notification curl -X POST http://localhost:8000/mcp
-H "Content-Type: application/json"
-H "MCP-Protocol-Version: 2025-06-18"
-H "Accept: application/json, text/event-stream"
-H "Mcp-Session-Id: a8691f135a564c1cac7cbc5b160948a7"
-d '{"jsonrpc":"2.0","method":"notifications/initialized"}'List Tools curl -X POST http://localhost:8000/mcp
-H "Content-Type: application/json"
-H "MCP-Protocol-Version: 2025-06-18"
-H "Accept: application/json, text/event-stream"
-H "Mcp-Session-Id: a8691f135a564c1cac7cbc5b160948a7"
-d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}'Call Add Tool curl -X POST http://localhost:8000/mcp
-H "Content-Type: application/json"
-H "MCP-Protocol-Version: 2025-06-18"
-H "Accept: application/json, text/event-stream"
-H "Mcp-Session-Id: a8691f135a564c1cac7cbc5b160948a7"
-d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"add","arguments":{"a":1,"b":1}}}'
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
QuLab MCP remote server (Streamable HTTP) for computational science and lab tools.
Remote MCP server exposing SMI Aware tools, resources, and skills over Streamable HTTP.
This MCP server enables users to perform scientific computations regarding linear algebra and vect…
Streamable HTTP MCP server exposing planner flows, tasks, and squads.
Related MCP Servers
- AlicenseAqualityCmaintenanceA mathematical computation service that enables users to perform symbolic calculations including basic arithmetic, algebra, calculus, equation solving, and matrix operations through the MCP protocol.16MIT
- -licenseNot gradedqualityNot gradedmaintenanceA calculator server that exposes mathematical functions as tools (add, subtract, multiply, divide, square, power, square root), enabling language models to perform calculations through Model Context Protocol (MCP).
- FlicenseNot gradedqualityDmaintenanceA simple calculator MCP server that provides basic arithmetic functions (add and subtract) through HTTP transport, designed to be cloud-ready and easily deployable.
- -licenseNot gradedqualityNot gradedmaintenanceA Python MCP server that provides a tool called addNumbers for mathematical operations.
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/eliezerraj/mcp-calculator-streamable-http'
If you have feedback or need assistance with the MCP directory API, please join our Discord server