mcp_example
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_exampleCheck the server health"
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_example
Минимальный канонический пример MCP: один сервер по Streamable HTTP и тонкий клиент, который к нему ходит.
Канонический endpoint
http://127.0.0.1:8000/mcpRelated MCP server: MCP MCPO Demo Server
Установка
Нужны uv и Python 3.10+.
cd mcp_example
uv syncЗапуск
Терминал A — сервер:
uv run mcp-example-serverТерминал B — клиент:
uv run mcp-example-clientДолжны появиться список tools и успешные вызовы health, echo и reverse_text.
Опционально:
uv run mcp-example-server --host 127.0.0.1 --port 8000 --path /mcp
uv run mcp-example-client --url http://127.0.0.1:8000/mcpДемо-tools
Tool | Назначение |
| Проверка, что сервер жив |
| Проверка передачи аргументов |
| Пример простой обработки строки |
Как добавить свой tool
В src/mcp_example/server.py:
@mcp.tool()
def my_tool(query: str) -> str:
"""Кратко опишите, что делает tool — это увидит модель."""
# здесь вызов вашего API / БД
return f"result for {query}"Перезапустите сервер. Клиент (и любой MCP-host) увидит новый tool через tools/list.
Зачем так устроено
MCP SDK (
mcp) реализует протокол (handshake, tools/list, tools/call).Streamable HTTP — общий удалённый транспорт: один URL для скриптов, IDE и агентских runtime.
Клиент в этом репо только проверяет, что протокол работает — LLM не нужен.
Ссылки
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
- FlicenseBquality-maintenanceA minimal reference implementation of an MCP server that responds with "Hello, World" via Streamable HTTP. Serves as a baseline for integration testing and MCP client development with production-ready features including health checks, metrics, and containerized deployment.Last updated334,778
- Alicense-qualityDmaintenanceA demonstration MCP server that provides basic utility tools including hello world functionality and string reversal operations. Shows how to build and deploy MCP tools using the MCPO orchestrator framework.Last updatedGPL 3.0
- Flicense-qualityDmaintenanceA simple demonstration MCP server that provides an echo tool and resource for learning how to build MCP servers. Serves as a starting point and template for creating custom MCP server implementations.Last updated
- Flicense-qualityBmaintenanceA minimal MCP server for homelab environments, providing demo tools like ping and echo over Streamable HTTP for testing client-server integration.Last updated
Related MCP Connectors
Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.
Remote ChromaDB vector database MCP server with streamable HTTP transport
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/xdoni4/mcp_example'
If you have feedback or need assistance with the MCP directory API, please join our Discord server