docs/user_guide/en/modules/tooling/mcp.md
MCP tooling is split into two explicit modes: Remote (HTTP) and Local (stdio). They map to tooling.type: mcp_remote and tooling.type: mcp_local. The legacy type: mcp schema is no longer supported.
| Mode | Tooling type | When to use | Key fields |
|---|---|---|---|
| Remote | mcp_remote | A hosted HTTP(S) MCP server (FastMCP, Claude Desktop Connector, custom gateways) | server, headers, timeout |
| Local | mcp_local | A local executable that speaks MCP over stdio (Blender MCP, CLI tools, etc.) | command, args, cwd, env, timeouts |
McpRemoteConfig| Field | Description |
|---|---|
server | Required. MCP HTTP(S) endpoint, e.g. https://api.example.com/mcp. |
headers | Optional. Extra HTTP headers such as Authorization. |
timeout | Optional per-request timeout (seconds). |
YAML example
nodes:
- id: remote_mcp
type: agent
config:
tooling:
type: mcp_remote
config:
server: https://mcp.mycompany.com/mcp
headers:
Authorization: Bearer ${MY_MCP_TOKEN}
timeout: 15
DevAll connects to the URL for each list/call request and passes headers. If the server is unreachable, an error is raised immediately—there is no local fallback.
McpLocalConfig fieldsmcp_local declares the process arguments directly under config:
command / args: executable and arguments (e.g., uvx blender-mcp).cwd: optional working directory.env / inherit_env: environment overrides.startup_timeout: max seconds to wait for wait_for_log.wait_for_log: regex matched against stdout to mark readiness.YAML example
nodes:
- id: local_mcp
type: agent
config:
tooling:
type: mcp_local
config:
command: uvx
args:
- blender-mcp
cwd: ${REPO_ROOT}
wait_for_log: "MCP ready"
startup_timeout: 8
DevAll keeps the process alive and relays MCP frames over stdio.
mcp_example/mcp_server.py:
from fastmcp import FastMCP
import random
mcp = FastMCP("Company Simple MCP Server", debug=True)
@mcp.tool
def rand_num(a: int, b: int) -> int:
return random.randint(a, b)
if __name__ == "__main__":
mcp.run()
Launch:
uv run fastmcp run mcp_example/mcp_server.py --transport streamable-http --port 8010
server to http://127.0.0.1:8010/mcp.transport=stdio and point command to that invocation.wait_for_log to debug startup issues.headers; Local mode can receive secrets via env (never commit them).max_concurrency=1) and share the same YAML config.fastmcp client. Local: run the binary manually and confirm the readiness log.--reload) and observe backend logs for tool discovery.logs/.