Skip to content
LangChain

429 throttle mcp for LangChain

io.github.iqingyoung/429-throttle-mcp

带速率限制的 MCP HTTP 代理:滑动窗口+令牌桶控速,长程任务不再 429

client:LangChain transport:stdio runtime:npm

Install 429 throttle mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "429-throttle-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "429-throttle-mcp"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

429 throttle mcp in other clients