Create MCP deployment
create_mcp_deploymentPublish one or more agents as an MCP server so an organization's own assistant (the MCP client) can call them as tools. Each agent becomes a tool ask_<tool_name>. identity_modes says how the client names the person asking: 'oauth' (the person signs in with their platform account), 'signed_token' (a deployment key + a token the client signs per person), 'trusted_header' (a key + X-Acting-User-Email, only from ip_allowlist), 'service' (a key, no person). approval_mode says who confirms an action the agent's approval settings hold: 'client_confirm' (the person, in their assistant), 'approvers' (the policy's approvers), 'client_then_approvers'. Create a key with create_mcp_deployment_key for the key modes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>"
},
"name": "create_mcp_deployment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name, unique within the organization. | |
| slug | No | Optional address name (/mcp/<slug>); generated when omitted. | |
| agents | No | Agents to publish: objects {agent_id, tool_name?, description?} (or plain agent ids). | |
| description | No | What this server is for; also shown to the client. | |
| ip_allowlist | No | Client IP ranges (CIDR) allowed to call; required for trusted_header. | |
| signed_token | No | signed_token settings: {method: hmac|jwks, jwks_url, issuer, audience, email_claim, name_claim}. | |
| approval_mode | No | Who confirms held actions. | |
| identity_modes | No | Any of oauth, signed_token, trusted_header, service. Default [oauth]. | |
| person_domains | No | Optional e-mail domains a person must belong to. | |
| governance_profile_id | No | Optional governance profile checking messages in and replies out. |