MCP
python3 -m venv .venv o python -m venv .venv source .venv/bin/activate pip install --upgrade pip pip install -r requirements.txt .venv\Scripts\python.exe app.py
Local MCP + Groq + OpenAI Agents SDK
Este ejemplo didáctico contiene:
app.py: un servidor MCP Streamable HTTP local persistente con varias herramientas.mcp_groq_agent.ipynb: un agente que descubre y llama a esas herramientas.
Configuración
Usa Python 3.10 o superior. En una terminal, entra en esta carpeta de proyecto, crea un entorno virtual e instala todo lo necesario tanto para el servidor como para el notebook (reemplaza python3.11 por tu comando moderno de Python si es necesario):
cd /Users/somenathmandal/Documents/transfer/grok-playground/MCP
python3.11 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txtCrea .env a partir del ejemplo y pon tu clave de API de Groq en él:
cp .env.example .envGROQ_API_KEY=replace_with_your_groq_key
GROQ_MODEL=openai/gpt-oss-20bNunca hagas commit ni compartas .env; está excluido por .gitignore.
Related MCP server: Enterprise MCP Gateway and Tool Registry
Ejecutar el servidor MCP
Inicia el servidor MCP en una terminal y déjalo en ejecución:
source .venv/bin/activate
.venv/bin/python app.pyEl endpoint HTTP Streamable ahora está disponible en:
http://127.0.0.1:8000/mcpMantén esa terminal abierta. Pulsa Ctrl+C cuando quieras detener el servidor.
Ejecutar el notebook del agente
En una segunda terminal:
cd /Users/somenathmandal/Documents/transfer/grok-playground/MCP
source .venv/bin/activate
jupyter lab mcp_groq_agent.ipynbSelecciona el kernel de Python .venv si Jupyter lo pide y, a continuación, ejecuta las celdas de arriba abajo. El notebook se conecta directamente a http://127.0.0.1:8000/mcp; nunca inicia ni importa app.py. La clave de API de Groq se carga desde .env y nunca se almacena en el notebook.
Cómo se conectan las piezas
Notebook agent
-> Groq OpenAI-compatible API (model reasoning and tool selection)
-> http://127.0.0.1:8000/mcp (tool discovery and execution)
-> app.py MCP toolsEl servidor debe estar en ejecución antes de ejecutar las celdas de conexión MCP. Si el notebook informa de un error de conexión, confirma primero que la terminal del servidor indica que Uvicorn se está ejecutando en http://127.0.0.1:8000.
El notebook también protege contra variables de entorno obsoletas de archivos de certificado que a veces se heredan de los lanzadores de notebooks. Solo elimina una variable de certificado cuando la ruta referenciada no existe; la configuración personalizada de certificados válida se conserva.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Hosted MCP runtime where the agent is the operator: sign up by tool call, publish your own tools.
Remote MCP server exposing SMI Aware tools, resources, and skills over Streamable HTTP.
The OpenRouter for tools. One MCP connection gives any AI agent 254 hosted tools, pay per call.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceExposes MCP tools that enable remote LLMs to query local Docker containers, OS processes, and system services in real time.-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to discover and execute tools via a secure MCP server with JWT authentication, RBAC, rate limiting, and audit logging.1MIT
- FlicenseNot gradedqualityAmaintenanceEnables MCP-compatible AI clients to invoke CLI-driven agent tools over Streamable HTTP, including shell execution, file operations, patching, image viewing, web search, and nested agent tasks, with permission modes and real-time progress streaming.-
- FlicenseNot gradedqualityCmaintenanceEnables agents to discover and execute local tools via a Streamable HTTP endpoint using the Groq OpenAI-compatible 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/diposhreeroy/MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server