Skip to content
LangChain

mockzilla mcp for LangChain

io.github.mockzilla/mockzilla-mcp

Mock OpenAPI specs locally, or log in to deploy hosted mocks on mockzilla.org from your MCP client.

client:LangChain transport:stdio runtime:npm

Install mockzilla mcp in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

mockzilla mcp in other clients