redirection mcp for LangChain
io.github.mrfentmen/redirection-mcp
MCP server for redirection.io: projects, rule MCP: real tools for real work.
client:LangChain
transport:stdio
runtime:npm
Install redirection mcp in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"redirection-mcp": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "redirection-mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs