Connect Spala Project
project_connectAUTH REQUIRED; IDEMPOTENT PROJECT CONNECTION WRITE. Prepares one accessible Spala project for agent access. Accepts one installer client (codex, roo, claude-code, cursor, a2a); when omitted, returns a client-selection response without executable arguments. Returns a client-specific workspace binding plan: protected one-time bootstrap for Codex, Roo, and Cursor; verifier-bound delegated bootstrap for Claude Code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client | No | Target MCP client for @spala-ai/mcp-install. Omit to receive client_selection_required without an executable mutation plan. | |
| projectId | No | Exact Spala project ID. Mutually exclusive with subdomain. | |
| subdomain | No | Exact project subdomain returned by the Spala projects API. Mutually exclusive with projectId. | |
| organizationId | No | Optional organization ID returned for the signed-in account. | |
| bootstrapChallenge | No | S256 challenge returned by project prepare. The verifier remains only in the local credential store. | |
| bootstrapRequestId | No | Non-secret local request ID returned by project prepare. Claude Code only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | No | ||
| mcpUrl | Yes | ||
| handoff | Yes | ||
| project | Yes | ||
| bootstrap | Yes | ||
| nextSteps | No | ||
| transport | Yes | ||
| serverName | Yes | ||
| installPlan | Yes | ||
| workspaceOnly | No | ||
| intentBoundary | No | ||
| preparedByProjectBackend | No | ||
| bootstrapPreparedByProjectBackend | No |