Demo 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., "@Demo MCP Serversuma 5 y 7"
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.
Demo: servidor MCP + LLM mockeado
Ejemplo mínimo del protocolo MCP (Model Context Protocol) con:
server.py: servidor MCP con dos tools (suma,clima).mock_llm.py: un "LLM" 100% falso, basado en reglas con regex, que decide qué tool llamar según el mensaje del usuario. No hace ninguna llamada a red ni a ninguna API real.client.py: cliente MCP que lanzaserver.pycomo subproceso, le pide la lista de tools, y usamock_llm.pypara decidir qué tool invocar y cómo redactar la respuesta final con el resultado.
Setup
python3.11 -m venv .venv
./.venv/bin/pip install -r requirements.txtRelated MCP server: MCP Boilerplate
Ejecutar
./.venv/bin/python client.pyPrueba en el propio client.py tres mensajes: una suma, una
consulta de clima y un mensaje sin match, para ver los tres caminos
(tool suma, tool clima, sin tool).
Sustituir el LLM mockeado por uno real
mock_llm.py expone la misma forma que necesitarías para conectar un LLM
real vía tool-calling (p. ej. Claude): recibe el mensaje del usuario y la
lista de tools, decide si llamar a una y con qué argumentos, y luego
redacta la respuesta final a partir del resultado de la tool. Cambiar
MockLLM por un cliente real (Anthropic, OpenAI, etc.) no requiere tocar
server.py ni la lógica de client.py que habla con MCP.
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
- Alicense-qualityDmaintenanceA demonstration server for the Model Context Protocol (MCP) that exposes calculator and Yahoo Finance tools, allowing LLMs to interpret natural language requests and make tool calls via the MCP standard.1Apache 2.0
- Alicense-qualityDmaintenanceA minimal, production-ready MCP server with a simple addition calculator tool that demonstrates integration with the Model Context Protocol.81MIT
- Alicense-qualityDmaintenanceThis MCP server provides tools like weather lookup and follows the Model Context Protocol for tool calling, resource sharing, and prompt templates.270MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
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/juan97serrano/demo_mcp_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server