Skip to content
LangChain

hyphy mcp for LangChain

io.github.mrfentmen/hyphy-mcp

HyPhy MCP: 20 real tools to read, check, lint, scaffold, build and run HyPhy code.

client:LangChain transport:stdio runtime:npm

Install hyphy mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "hyphy-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@mrfentmen/hyphy-mcp"],
        }
})

tools = await client.get_tools()

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

hyphy mcp in other clients