
DeepMCPAgent
Model-agnostic LangChain/LangGraph agents powered entirely by MCP tools over HTTP/SSE.
Why DeepMCPAgent?
- ๐ Zero manual wiring โ discover tools dynamically from MCP servers
- ๐ External APIs welcome โ HTTP / SSE servers with headers & auth
- ๐ง Bring your own model โ any LangChain chat model (OpenAI, Anthropic, Ollama, Groq, local, โฆ)
- โก DeepAgents loop (optional) โ or LangGraph ReAct fallback if not installed
- ๐ ๏ธ Typed tools โ JSON Schema โ Pydantic โ LangChain
BaseTool
- ๐งช Quality โ mypy (strict), ruff, pytest, GitHub Actions
TL;DR (Quickstart)
python3 -m venv .venv && source .venv/bin/activate
pip install "deepmcpagent[deep]"
python examples/servers/math_server.py # serves http://127.0.0.1:8000/mcp
python examples/use_agent.py