simple_mcp_server_with_langgraph
Simple MCP server with Langgraph.
Overview
Simple_mcp_server_with_langgraph is a lightweight server application that utilizes Langgraph for managing multiple MCP (Microcontroller Protocol) servers.
To use this project, run the client.py script to connect to the server. For multiple MCP servers, execute weather_server.py alongside client.py.
- Easy setup for MCP server-client architecture - Support for multiple MCP servers - Built with Python 3.11 for modern compatibility
- Managing communication between microcontrollers in IoT applications.
- Simulating weather data collection from multiple sensors.
- Developing and testing server-client interactions in a controlled environment.
Add to your AI client
Use these steps to connect simple_mcp_server_with_langgraph in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"simple-mcp-server-with-langgraph-eunsugoh": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-simple-mcp-server-with-langgraph-eunsugoh"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"simple-mcp-server-with-langgraph-eunsugoh": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-simple-mcp-server-with-langgraph-eunsugoh"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"simple-mcp-server-with-langgraph-eunsugoh": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-simple-mcp-server-with-langgraph-eunsugoh"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"simple-mcp-server-with-langgraph-eunsugoh": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-simple-mcp-server-with-langgraph-eunsugoh"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"simple-mcp-server-with-langgraph-eunsugoh": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-simple-mcp-server-with-langgraph-eunsugoh"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"simple-mcp-server-with-langgraph-eunsugoh": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-simple-mcp-server-with-langgraph-eunsugoh"
]
}
}
}FAQ
What programming language is used?
This project is developed in Python 3.11.
How do I run the server?
You need to run the client.py script for basic functionality, and weather_server.py for multiple server setups.
Is this project suitable for beginners?
Yes, it is designed to be simple and easy to understand for those new to server-client architectures.