coldHat for LangChain
io.github.vince-gonzalez/coldhat
Put on anyone's AI rules by GitHub username: fetches their hat.md and its hat code.
client:LangChain
transport:streamable-http
tools:3
Install coldHat in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"coldhat": {
"transport": "streamable_http",
"url": "https://coldhat.f-keys.com/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs