MCP Servers
Language: English · 简体中文
CrewDesk uses the Model Context Protocol (MCP) in two distinct layers: built-in per-Run Product MCP servers (how agents interact with CrewDesk itself) and external MCP servers (how teammates connect to your own tools and APIs).
Built-In Product MCP (Per-Run Scoped)
Whenever a Run launches on any harness (oma, Claude Code, pi, omp), the backend injects up to three built-in Product MCP servers scoped strictly to that Run's role, conversation, and agent identity:
| Product MCP Server | Purpose | Key Tools |
|---|---|---|
product-tools | Team coordination, Requirements, Wiki, Artifacts, Reminders, Delivery | dispatch, steer_worker, cancel_worker, ask_question, requirement_track, wiki_query, wiki_patch, artifact_upload, project_push, remind_me |
agent-config | Control-plane proposals for team & projects (Propose ≠ Save) | team_list, agent_read, agent_write, agent_create, project_propose, project_attach |
workflow | Read and draft schema-validated workflow DAGs | workflow_read, workflow_write |
Per-Run Security: Each Run receives an ephemeral, single-Run bearer token that is bound to that Run's frozen permissions and revoked automatically the moment the Run settles.
Mounting External MCP Servers (/team/mcp)
Open Capabilities → MCP (/team/mcp) to register external MCP servers (issue trackers, internal APIs, docs servers, database read tools):
- Add a server entry (command/stdio or HTTP/SSE endpoint + optional auth headers).
- Enable or disable that MCP server individually for each teammate in Team & Projects → Members (
/team/<agentId>/edit). - Secret masking: MCP auth headers and tokens stay strictly on the backend and are masked on every HTTP read to the browser.
- External MCP tool calls surface cleanly in
ReasoningTracewith their server badge (e.g.query [postgres]) and obey the agent'spermissionModeand approval policies.