Loftlancer Docs
MCPTools

project_assign_manager

MCP tool for the project.assign_manager action.

MCP tool
project_assign_manager
Canonical action
project.assign_manager
Description
Assign project manager
OAuth scopes
mcp:toolsprojects:read
Org roles
owner
Project grant
Org role only

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_assign_manager",
  "definitions": {
    "project_assign_manager": {
      "type": "object",
      "properties": {
        "organizationId": {
          "type": "string",
          "minLength": 1
        },
        "organizationSlug": {
          "type": "string",
          "minLength": 1
        },
        "projectId": {
          "type": "string",
          "format": "uuid"
        },
        "userId": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": [
        "projectId",
        "userId"
      ],
      "additionalProperties": false
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Example request

{
  "name": "project_assign_manager",
  "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).