What transports do the example servers use?
The Math server runs with `stdio` transport; the Weather server runs with `SSE` (Server‑Sent Events) transport.
@commitbyrajat
基本情報
MCP architecture demo with single-server & multi-server clients using LangGraph, AI-driven tool calls, and async communication.
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"langgraph-mcp-integration": {
"command": "python",
"args": [
"server/weather_server.py"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
This blog post explains the Multi-Client Protocol (MCP) architecture by comparing single-server and multi-server clients. It provides example MCP servers for math operations and weather information, along with client scripts that use LangGraph’s ReAct agent and GPT‑4o to invoke tools. It is intended for developers building AI‑driven applications that need to interact with multiple external services.
Clone the repository, sync dependencies with rye sync, start the weather server (rye run python server/weather_server.py), then run either rye run python client/single_server_client.py or rye run python client/multi_server_client.py. The blog shows how to define MCP servers using FastMCP and clients using MultiServerMCPClient with stdio and SSE transports.
add and multiply toolsget_weather toolThe Math server runs with `stdio` transport; the Weather server runs with `SSE` (Server‑Sent Events) transport.
Run `python server/math_server.py` (uses stdio) and `python server/weather_server.py` (uses SSE). The blog shows starting the weather server in the background with `&`.
The Math server exposes `add(a, b)` and `multiply(a, b)`. The Weather server exposes `get_weather(location)` which returns a hardcoded sunny string.
The repository uses `rye` for dependency management. You must run `rye sync` before executing the scripts. The code also relies on `mcp`, `langgraph`, and other Python packages.
Yes. The `MultiServerMCPClient` dictionary accepts any number of server configurations with `command`/`args` (for stdio) or `url` (for SSE) and `transport`. This allows connecting to arbitrary MCP servers.
A suite of Model Context Protocol (MCP) servers designed to enhance AI agent capabilities. Provides tools for media search/understanding (images, video), web information retrieval, PDF generation, and PowerPoint presentation creation, enabling agents to interact with diverse data
AI assistant integration for n8n workflow automation through Model Context Protocol (MCP). Connect Claude Desktop, ChatGPT, and other AI assistants to n8n for natural language workflow management.
This is a very basic implementation of an Mcp-Reasoning-Server for Cursor AI .
A comprehensive Model Context Protocol (MCP) server providing AI assistants with powerful task management and agent memories capabilities with project-specific storage.
# 🐢🚀 Node.js Sandbox MCP ServerThis repository hosts a Node.js server that implements the Model Context Protocol (MCP) for running JavaScript in isolated Docker containers. It allows for on-the-fly npm dependency installation, making it easy to execute code safely and efficient
コメント