mcp-server-demo
Provides tools to query a local SQLite database, including search customers and get order by id, and exposes the database schema as a resource.
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-server-demosearch customers where name is John"
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.
Objetivo
Demostrar dominio del protocolo abierto que está estandarizando cómo los LLM acceden a herramientas y datos externos. En vez de acoplar tools a un framework concreto, se construye un servidor MCP reutilizable por cualquier cliente compatible (Claude Desktop, el sistema multi-agente de este portfolio, IDEs, etc.).
El servidor expone, como mínimo:
Tools — acciones invocables: consultar una base de datos local (SQLite) y llamar a una API externa (ej. clima, tipo de cambio, o una API pública de datos).
Resources — datos legibles por el modelo (ej. el esquema de la base, un catálogo).
(Opcional) Prompts — plantillas de prompt reutilizables parametrizadas.
Related MCP server: MCP Server
Stack tecnológico
Opción A — Python: SDK oficial
mcp(conFastMCP) — recomendado por rapidez de desarrolloOpción B — TypeScript:
@modelcontextprotocol/sdk— útil si se quiere mostrar versatilidadTransporte:
stdiopara uso local con clientes de escritorio; Streamable HTTP para exposición remotaBase de datos: SQLite (con un dataset de ejemplo sembrado)
API externa: una API pública sin fricción (ej. Open-Meteo para clima, o exchangerate.host)
Validación: Pydantic (Python) o Zod (TS)
Cliente de prueba: MCP Inspector (
npx @modelcontextprotocol/inspector) y/o Claude DesktopTesting / calidad: pytest (o vitest), ruff/black (o eslint/prettier)
Estructura de carpetas (variante Python)
mcp-server-demo/
├── README.md
├── pyproject.toml
├── .env.example
├── data/
│ ├── seed.sql # Esquema + datos de ejemplo
│ └── demo.db # SQLite generada (git-ignored)
├── src/
│ ├── server.py # Entry point: instancia FastMCP y registra todo
│ ├── config.py
│ ├── tools/
│ │ ├── db_tools.py # query_customers, get_order_by_id, etc.
│ │ └── api_tools.py # get_weather, get_exchange_rate, etc.
│ ├── resources/
│ │ └── schema.py # Expone el esquema de la DB como resource
│ └── db/
│ └── connection.py # Conexión y helpers (queries parametrizadas)
├── scripts/
│ └── seed_db.py # Crea demo.db desde seed.sql
├── examples/
│ └── claude_desktop_config.json # Config de ejemplo para registrar el server
└── tests/
├── test_db_tools.py
└── test_api_tools.pyThis 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.
Latest Blog Posts
- 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/MaximilianoRodrigoSoria/mcp-server-demo'
If you have feedback or need assistance with the MCP directory API, please join our Discord server