Stateless Math 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., "@Stateless Math MCP ServerAdd the numbers 15 and 27 together"
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 Sample Application (Stateless Architecture)
A Model Context Protocol (MCP) sample project implemented in Python using FastMCP and mcp.client. This project demonstrates a stateless MCP server exposing mathematical tools over stdio transport along with an asynchronous client.
Features
Stateless MCP Server (
server.py): Uses standardstdiotransport without maintaining session states.Asynchronous Client (
client.py): Connects to the MCP server, discovers available tools dynamically, and executes tool calls.
Related MCP server: mcp-poc
Setup & Installation
Prerequisites
Python 3.10+ (Python 3.14 supported)
Virtual Environment (
.venv)
1. Create and Activate Virtual Environment
python3 -m venv .venv
source .venv/bin/activate2. Install Dependencies
pip install -r requirements.txtRunning the Application
Option A: Using the Runner Script
Execute the provided bash script to automatically use the environment's Python interpreter:
chmod +x run_sample.sh
./run_sample.shOption B: Running Manually
Activate your virtual environment and run the client:
python3 client.pyExample Output
When running client.py or ./run_sample.sh, the client will:
Start the MCP server via
stdio.Discover and print all available registered tools.
Invoke the
somatool with argumentsa=15andb=27.
Starting MCP Server (Stateless Mode 2026-07-28 Spec)...
Connected to MCP Server (Stateless Mode).
--- Discovered Tools (Stateless) ---
{
"name": "soma",
"description": "Soma dois números fornecidos pelo usuário statelessly.",
...
}
------------------------------------
Calling tool: soma(15, 27)...
Result: O resultado de 15.0 + 27.0 é 42.0
Client finished. Stateless server connection closed.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 minimal reference implementation of an MCP server with two basic math tools (add and multiply), designed as a starting point for learning MCP protocol and deploying remote servers to cloud platforms.Last updated1
- Alicense-qualityCmaintenanceA minimal MCP server with four tools (add, greet, text_stats, divide) demonstrating typed parameters, structured outputs, and error handling over stdio transport.Last updatedMIT
- Alicense-qualityCmaintenanceA minimal, zero-dependency MCP server that enables defining and running tools over stdio transport, without extra features like HTTP or resources.Last updated321MIT
- Flicense-qualityCmaintenanceA minimal MCP server that exposes tools for addition, echoing text, time lookup, and URL fetching, with support for HTTP and stdio transports.Last updated
Related MCP Connectors
This MCP server enables users to perform scientific computations regarding linear algebra and vect…
MCP server for the Inistate platform: module discovery, entry management, and activity submission.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
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/mburatti/MCP_RFC_20260728'
If you have feedback or need assistance with the MCP directory API, please join our Discord server