Skip to content
LangChain

codesurface for LangChain

io.github.codeturion/codesurface

Indexes your codebase's public API and serves it via compact MCP tool responses.

client:LangChain transport:stdio runtime:pypi

Install codesurface in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "codesurface": {
            "transport": "stdio",
            "command": "uvx",
            "args": ["codesurface"],
        }
})

tools = await client.get_tools()

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

codesurface in other clients