MCP Tools Langraph Integration
Example project of how to integrate MCP endpoint tools into a Langgraph tool node
The graph consists of only 2 nodes, agent
and tool
.
To use this project, make sure you have Python 3.11.
curl -LsSf https://astral.sh/uv/install.sh | sh
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
@modelcontextprotocol/server-brave-search
to add Brave Search tools. This requires that you have node
and npx
installed.__main__.py
fileuv run mcp_langgraph_tools
Check the multi_server branch for a more advanced example of how to use multiple MCP servers at once.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
Paul Robello - [email protected]
{ "mcpServers": { "mcplanggraphtools": { "command": "uv", "args": [ "run", "mcp_langgraph_tools" ] } } }
Related projects feature coming soon
Will recommend related projects based on sub-categories