Skip to content
LangChain

Command+K for LangChain

com.commandplusk/command-k

Set up and run an in-product AI assistant: widgets, knowledge, MCP connections, usage.

client:LangChain transport:streamable-http

Install Command+K in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "command-k": {
            "transport": "streamable_http",
            "url": "https://commandplusk.com/api/public/mcp",
        }
})

tools = await client.get_tools()

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

Command+K in other clients