Skip to content
LangChain

Codna — repository intelligence for LangChain

io.github.thyn-ai/codna

Map a repo before spending a token: triage, bug-fix PRs, SARIF reachability, on-device recall.

client:LangChain transport:stdio runtime:pypi

Install Codna — repository intelligence in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

tools = await client.get_tools()

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

Codna — repository intelligence in other clients