codehost remote for LangChain
io.github.cloudcorprecords/codehost-remote
Forward GitHub tools to the hosted GitHub Copilot remote MCP endpoint.
client:LangChain
transport:stdio
runtime:npm
Install codehost remote in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"codehost-remote": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@reneturcios/codehost-remote"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs