Customization MCP servers

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 ServerPurposeKey Tools
product-toolsTeam coordination, Requirements, Wiki, Artifacts, Reminders, Deliverydispatch, steer_worker, cancel_worker, ask_question, requirement_track, wiki_query, wiki_patch, artifact_upload, project_push, remind_me
agent-configControl-plane proposals for team & projects (Propose ≠ Save)team_list, agent_read, agent_write, agent_create, project_propose, project_attach
workflowRead and draft schema-validated workflow DAGsworkflow_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):

  1. Add a server entry (command/stdio or HTTP/SSE endpoint + optional auth headers).
  2. Enable or disable that MCP server individually for each teammate in Team & Projects → Members (/team/<agentId>/edit).
  3. Secret masking: MCP auth headers and tokens stay strictly on the backend and are masked on every HTTP read to the browser.
  4. External MCP tool calls surface cleanly in ReasoningTrace with their server badge (e.g. query [postgres]) and obey the agent's permissionMode and approval policies.