MCPTools
project_status_change
MCP tool for the project.status.change action.
- MCP tool
- project_status_change
- Canonical action
- project.status.change
- Description
- Change project status
- OAuth scopes
mcp:toolsprojects:write- Org roles
- owner, manager
- Project grant
- May require grant
Input (JSON)
Validated with Zod in @loftlancer/api/mcp. Organization context uses organizationId or organizationSlug (MCP tokens do not carry an active-org cookie).
{
"$ref": "#/definitions/project_status_change",
"definitions": {
"project_status_change": {
"type": "object",
"properties": {
"organizationId": {
"type": "string",
"minLength": 1
},
"organizationSlug": {
"type": "string",
"minLength": 1
},
"id": {
"type": "string",
"format": "uuid"
},
"status": {
"type": "string",
"enum": [
"active",
"inactive",
"maintenance"
]
}
},
"required": [
"id",
"status"
],
"additionalProperties": false
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Example request
{
"name": "project_status_change",
"arguments": {}
}Output
The MCP server returns a single text content block whose body is pretty-printed JSON from the underlying studio tRPC caller (runMcpTool in @loftlancer/api/mcp). Errors surface as tool errors (for example insufficient_scope, organization_required, or validation messages).