simple_mcp
Einfacher MCP-Server (Python)
Dieses Projekt stellt einen minimalen Model Context Protocol (MCP)-Server mit Python bereit. Es stellt ein einzelnes Tool random_float bereit, das einen zufälligen Float in [0,1) zurückgibt. Der Server unterstützt mehrere Transportmodi: STDIO (Standard), HTTP und SSE.
Lokal ausführen
Standard (STDIO-Transport)
uv run main.pyRelated MCP server: Math Calculator MCP Server
Server-Umgebungsvariablen
Variable | Zweck | Standard |
APP_TRANSPORT | Transporttyp (STDIO, HTTP, SSE) | STDIO |
APP_HOST | Server-Host | 0.0.0.0 |
APP_PORT | Server-Port | 8000 |
Docker
Image erstellen und ausführen:
docker build -t simple-mcp .Docker mit verschiedenen Transports
# HTTP transport
docker run --rm -p 8000:8000 -e APP_TRANSPORT=HTTP simple-mcp
# SSE transport
docker run --rm -p 8000:8000 -e APP_TRANSPORT=SSE simple-mcp
# Custom port
docker run --rm -p 9000:9000 -e APP_TRANSPORT=HTTP -e APP_PORT=9000 simple-mcpAls eigenständige App testen
Mit Postman testen
uv --directory <path_to_project_directory> run main.pyMit Claude Desktop testen
{
"mcpServers": {
"simple_mcp": {
"command": "uv",
"args": [
"run",
"--directory",
"<path_to_project_directory>",
"main.py"
]
}
}
}Als Docker-Image testen
Mit Postman testen
docker run --rm -i simple-mcpMit Claude Desktop testen
{
"mcpServers": {
"simple_mcp": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"simple-mcp"
]
}
}
}Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- FlicenseAqualityDmaintenanceProvides calculator tools for mathematical operations, access to TypeScript SDK documentation, and meeting summary prompt templates through both stdio and SSE transports.8
- FlicenseDqualityDmaintenanceProvides basic mathematical operations (addition, subtraction, multiplication, division) through a calculate tool. Supports both stdio and HTTP/SSE transport modes.177
- FlicenseNot gradedqualityDmaintenanceA communication pipe and tool suite that enables AI models to interact with external systems through mathematical calculations, remote control, and data processing. It supports multiple transport protocols including stdio, SSE, and HTTP for flexible and extensible tool integration.
- FlicenseNot gradedqualityDmaintenanceProvides math and weather tools accessible via LangGraph agent using MCP protocol with stdio and streamable HTTP transports.1
Related MCP Connectors
16 AI-native tools with dual SSE + streamable-http transport. Free tier available.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.
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/oleksii-donets/simple_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server