c0mpute for LangChain
com.profullstack/c0mpute
Chat with open-weight models on the c0mpute open compute network (c0mpute.com)
client:LangChain
transport:streamable-http
Install c0mpute in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"c0mpute": {
"transport": "streamable_http",
"url": "https://c0mpute.com/api/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs