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
Basic information
MCP architecture demo with single-server & multi-server clients using LangGraph, AI-driven tool calls, and async communication.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"langgraph-mcp-integration": {
"command": "python",
"args": [
"server/weather_server.py"
]
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
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 security scanner for your LLM agentic workflows
AI-powered n8n workflow automation through natural language. MCP server enabling Claude AI & Cursor IDE to create, manage, and monitor workflows via Model Context Protocol. Multi-instance support, 17 tools, comprehensive docs. Build workflows conversationally without manual JSON
This project demonstrates a decoupled real-time agent architecture that connects LangGraph agents to remote tools served by custom MCP (Modular Command Protocol) servers. The architecture enables a flexible and scalable multi-agent system where each tool can be hosted independent
An MCP (Model Context Protocol) server that helps AI assistants (like Claude) break down complex tasks into manageable steps, track progress, and manage a hierarchical task list.
This repository contains hands-on projects, code examples, and deployment workflows. Explore multi-agent systems, LangChain, LangGraph, AutoGen, CrewAI, RAG, MCP, automation with n8n, and scalable agent deployment using Docker, AWS, and BentoML.
Comments