Skip to content
LangChain

codehost port for LangChain

io.github.cloudcorprecords/codehost-port

GitHub repositories, issues and pull requests via the REST API, as MCP tools.

client:LangChain transport:stdio runtime:npm

Install codehost port in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "codehost-port": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@reneturcios/codehost-port"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

codehost port in other clients