Codehabits for LangChain
io.github.codehabits-dev/codehabits-mcp
Team conventions, anti-patterns, and domain knowledge from .codehabits/ for AI coding agents.
client:LangChain
transport:stdio
runtime:npm
Install Codehabits in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"codehabits-mcp": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@codehabits/mcp"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs