MCP
python3 -m venv .venv oder python -m venv .venv source .venv/bin/activate pip install --upgrade pip pip install -r requirements.txt .venv\Scripts\python.exe app.py
Lokales MCP + Groq + OpenAI Agents SDK
Dieses Unterrichtsbeispiel enthält:
app.py: ein dauerhaft laufender lokaler Streamable-HTTP-MCP-Server mit mehreren Tools.mcp_groq_agent.ipynb: ein Agent, der diese Tools entdeckt und aufruft.
Einrichtung
Verwenden Sie Python 3.10 oder neuer. Öffnen Sie ein Terminal, wechseln Sie in diesen Projektordner, erstellen Sie eine virtuelle Umgebung und installieren Sie alles, was sowohl der Server als auch das Notebook benötigen (ersetzen Sie python3.11 bei Bedarf durch Ihren aktuellen Python-Befehl):
cd /Users/somenathmandal/Documents/transfer/grok-playground/MCP
python3.11 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txtErstellen Sie .env aus dem Beispiel und tragen Sie Ihren Groq-API-Schlüssel ein:
cp .env.example .envGROQ_API_KEY=replace_with_your_groq_key
GROQ_MODEL=openai/gpt-oss-20b.env darf niemals committet oder geteilt werden; es wird durch .gitignore ausgeschlossen.
Related MCP server: Enterprise MCP Gateway and Tool Registry
MCP-Server starten
Starten Sie den MCP-Server in einem Terminal und lassen Sie ihn laufen:
source .venv/bin/activate
.venv/bin/python app.pyDer Streamable-HTTP-Endpunkt ist jetzt verfügbar unter:
http://127.0.0.1:8000/mcpLassen Sie das Terminal geöffnet. Drücken Sie Ctrl+C, wenn Sie den Server stoppen möchten.
Agent-Notebook ausführen
In einem zweiten Terminal:
cd /Users/somenathmandal/Documents/transfer/grok-playground/MCP
source .venv/bin/activate
jupyter lab mcp_groq_agent.ipynbWählen Sie den .venv-Python-Kernel, falls Jupyter danach fragt, und führen Sie dann die Zellen von oben nach unten aus. Das Notebook verbindet sich direkt mit http://127.0.0.1:8000/mcp; es startet oder importiert app.py nie. Der Groq-API-Schlüssel wird aus .env geladen und niemals im Notebook gespeichert.
Wie die Teile zusammenhängen
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 toolsDer Server muss laufen, bevor Sie die MCP-Verbindungszellen ausführen. Wenn das Notebook einen Verbindungsfehler meldet, prüfen Sie zuerst, ob das Server-Terminal meldet, dass Uvicorn unter http://127.0.0.1:8000 läuft.
Das Notebook schützt außerdem vor veralteten Umgebungsvariablen für Zertifikatsdateien, die gelegentlich von Notebook-Launchern geerbt werden. Es entfernt eine Zertifikatsvariable nur dann, wenn der referenzierte Pfad nicht existiert; gültige benutzerdefinierte Zertifikatseinstellungen bleiben erhalten.
MCP
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