TypeTrace for LangChain
io.github.atrix21/typetrace
Finds the code an AI coding agent needs: file:line pointers plus callers and callees, locally.
client:LangChain
transport:stdio
runtime:npm
Install TypeTrace in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"typetrace": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "typetrace-cli"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs