Skip to content
LangChain

Perfonext Build MCP for LangChain

io.github.souvikdu/perfonext-build-mcp

MCP server for Next.js build stats, chunk attribution, and bundle optimization advice.

client:LangChain transport:stdio runtime:npm

Install Perfonext Build MCP in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

Perfonext Build MCP in other clients