Skip to main content
LangBot can call tools from MCP servers. Once an MCP server is added, the built-in Agent — with tool use enabled on its model — can invoke those tools during a conversation.
Install from LangBot Space for the smoothest setup — listed MCPs are pre-configured and ready to use.You can also fetch from ModelScope, mcp.so, or composio.dev, then add them manually as shown below.

Two Transport Modes

Earlier versions split the remote mode into separate http (Streamable HTTP) and sse options; these are now unified into a single remote mode, with the transport auto-detected by the backend. Existing http / sse rows in the database are normalized to remote on upgrade, and their connection args (URL, headers, timeout) are preserved unchanged.
MCP tools require the pipeline to use the built-in Agent, with a model that has tool use enabled — see Models. External runners (Dify, n8n, Langflow, Coze, etc.) use their own tool mechanisms.

Installing an MCP Server

From LangBot Space (Preferred)

LangBot Space is the official LangBot marketplace, with a curated list of ready-to-use MCP servers. In the WebUI, browse and install them with one click under Plugin ManagementMCP Management — URL, command, and mode are filled in by the listing, so nothing has to be configured by hand. This covers most cases. For services that aren’t listed, use the manual flow below.

Adding Manually

Open Plugin ManagementMCP Management: MCP management page Click Add in the top right, choose Add MCP Server, pick Local (stdio) or Remote mode: for remote just paste the URL, for local fill in the launch command. Click Test to verify connectivity, then Submit: create new MCP server After saving, toggle the switch on the card to connect. Click the card to see details: MCP server detail

Enabling in a Pipeline

Once an MCP server is added, the pipeline extension config decides which servers the Agent can see:
  • Enable “all MCP servers”, or
  • Bind only specific MCP servers
Tools from unbound servers won’t appear in that pipeline’s tool list.

Advanced: stdio MCP

stdio MCP is hosted by Box Runtime. Before the connection is ready, LangBot:
  1. Creates or reuses a shared MCP Box session
  2. If a local project path can be inferred from the command, stages the project into the workspace
  3. Installs dependencies if the project has requirements.txt, pyproject.toml, setup.py, or setup.cfg
  4. Connects the MCP process’s stdin/stdout through a WebSocket relay
To fine-tune mount, network, or timeout behavior, add a box override under the MCP extra_args:
Common fields:
stdio MCP runs inside Box. Dependency install and process startup are subject to the sandbox profile, network permission, resource limits, and the mount allowlist.

Common Issues