Add MCP server
create_mcp_serverConnect an MCP or OpenAPI server to an AgentPlaybooks playbook by saving its transport configuration for later tool calls.
Instructions
Connect an MCP or OpenAPI server to this playbook by storing its transport configuration. This writes playbook state; it does not by itself invoke remote tools. Requires playbooks:write or full permission. Use call_connected_tool to invoke a discovered tool, and list_mcp_servers to inspect connections. Pass playbook_id as the UUID or GUID of the playbook this call should target.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name of the connected server | |
| tools | No | Known tool definitions, if already discovered | |
| resources | No | Known resource definitions, if already discovered | |
| description | No | What this server provides | |
| playbook_id | Yes | UUID or GUID of the target playbook | |
| transport_type | No | Connection type (default: http) | |
| transport_config | No | Transport-specific configuration. Do not put plaintext secrets here. |