MCP
python3 -m venv .venv or python -m venv .venv source .venv/bin/activate pip install --upgrade pip pip install -r requirements.txt .venv\Scripts\python.exe app.py
ローカル MCP + Groq + OpenAI Agents SDK
この授業用の例には、以下が含まれています:
app.py: いくつかのツールを備えた、永続的なローカル Streamable HTTP MCP サーバーです。mcp_groq_agent.ipynb: それらのツールを検出して呼び出すエージェントです。
セットアップ
Python 3.10 以降を使用してください。ターミナルでこのプロジェクトフォルダーに移動し、
仮想環境を作成して、サーバーとノートブックの両方に必要なものをすべてインストールしてください
(必要に応じて python3.11 を、お使いの新しい Python コマンドに置き換えてください):
cd /Users/somenathmandal/Documents/transfer/grok-playground/MCP
python3.11 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt例から .env を作成し、その中に Groq API キーを記入してください:
cp .env.example .envGROQ_API_KEY=replace_with_your_groq_key
GROQ_MODEL=openai/gpt-oss-20b.env をコミットしたり共有したりしないでください。.gitignore によって除外されています。
Related MCP server: Enterprise MCP Gateway and Tool Registry
MCP サーバーを起動する
1 つのターミナルで MCP サーバーを起動し、実行したままにしてください:
source .venv/bin/activate
.venv/bin/python app.pyStreamable HTTP エンドポイントは、次の場所で利用できるようになりました:
http://127.0.0.1:8000/mcpそのターミナルは開いたままにしてください。サーバーを停止したいときは Ctrl+C を押してください。
エージェントノートブックを実行する
2 つ目のターミナルで:
cd /Users/somenathmandal/Documents/transfer/grok-playground/MCP
source .venv/bin/activate
jupyter lab mcp_groq_agent.ipynbJupyter から求められたら .venv の Python カーネルを選択し、セルを上から下へ実行してください。
ノートブックは http://127.0.0.1:8000/mcp に直接接続します。app.py を起動したり
インポートしたりすることはありません。Groq API キーは .env から読み込まれ、
ノートブックに保存されることはありません。
各要素の連携
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 toolsMCP 接続セルを実行する前に、サーバーが起動している必要があります。ノートブックが
接続エラーを報告した場合は、まずサーバーのターミナルで Uvicorn が
http://127.0.0.1:8000 で実行中と表示されていることを確認してください。
ノートブックはまた、ノートブックランチャーから偶発的に継承される、古くなった 証明書ファイルの環境変数からも保護します。参照先のパスが存在しない場合にのみ 証明書変数を削除し、有効なカスタム証明書設定は維持されます。
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