Skip to main content
Version: Next

Space MCP API

The Space MCP API exposes tools for listing, retrieving, creating, updating, and deleting spaces. For MCP background, see the official docs.

Errors and retries

All MCP tools return a uniform ToolResponse envelope (ok, result, issues[]). When ok: false, inspect issues and apply retries/backoff (respect retry_after_ms for 429 and back off on 5xx/transient errors). See Errors and Retries (MCP) for details.

Tools

space.list

List spaces within a workspace (team). Discover team IDs via workspace.list.

{
"team_id": "team_1" // Workspace (team) ID to list its spaces
}
{
"ok": true, // Tool succeeded
"result": {
"items": [
{
"id": "space_1", // Space ID
"name": "Engineering" // Space name
}
]
},
"issues": [] // Optional warnings/issues collected during execution
}
  • Errors
    • AUTH_ERROR (401), FORBIDDEN (403)
    • NOT_FOUND (404) when team_id is invalid
    • RATE_LIMIT (429)
    • UPSTREAM_ERROR (5xx/timeout)

space.get

Retrieves a single space by its space_id. This call is read-only and returns core metadata such as the space's name, privacy, and owning team_id. Useful for validating IDs and reading properties before updates.

{
"space_id": "space_1" // Target space ID
}
{
"ok": true, // Tool succeeded
"result": {
"id": "space_1", // Space ID
"name": "Engineering", // Space name
"private": false, // Whether space is private
"team_id": "team_1" // Owning workspace (team) ID
},
"issues": []
}
  • Errors
    • AUTH_ERROR (401), FORBIDDEN (403)
    • NOT_FOUND (404) when space_id does not exist
    • RATE_LIMIT (429)
    • UPSTREAM_ERROR (5xx/timeout)

space.create

Creates a new space within the specified team (team_id). On success, returns the created space. This operation has side effects in ClickUp; ensure the token has permission to create spaces in the target team.

{
"team_id": "team_1", // Workspace (team) ID
"name": "[TEST] Eng", // Space name
"multiple_assignees": true // Optional: allow multiple assignees in this space
}
{
"id": "space_1", // New space ID
"name": "[TEST] Eng", // Space name
"private": false, // Whether the space is private
"team_id": "team_1" // Owning workspace (team) ID
}
  • Errors
    • AUTH_ERROR (401), FORBIDDEN (403)
    • NOT_FOUND (404) when team_id is invalid
    • RATE_LIMIT (429)
    • UPSTREAM_ERROR (5xx/timeout)

space.update

Partially updates an existing space. Provide only the fields you want to change (e.g., name, private, multiple_assignees). Returns the updated space. Requires appropriate permissions.

{
"space_id": "space_1", // Target space ID
"name": "Delivery", // Optional
"private": false, // Optional
"multiple_assignees": true // Optional
}
{
"id": "space_1",
"name": "Delivery",
"private": false,
"team_id": "team_1"
}
  • Errors
    • AUTH_ERROR (401), FORBIDDEN (403)
    • NOT_FOUND (404) when space_id does not exist
    • RATE_LIMIT (429)
    • UPSTREAM_ERROR (5xx/timeout)

space.delete

Permanently deletes a space identified by space_id. This operation is destructive and cannot be undone. Review ClickUp workspace policies before deleting.

{
"space_id": "space_1" // Target space ID
}
{
"deleted": true // True if the space was deleted
}
  • Errors
    • AUTH_ERROR (401), FORBIDDEN (403)
    • NOT_FOUND (404) when space_id does not exist
    • RATE_LIMIT (429)
    • UPSTREAM_ERROR (5xx/timeout)