MCPTools
project_create
MCP tool for the project.create action.
- MCP tool
- project_create
- Canonical action
- project.create
- Description
- Create project
- OAuth scopes
mcp:toolsprojects:write- 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_create",
"definitions": {
"project_create": {
"type": "object",
"properties": {
"organizationId": {
"type": "string",
"minLength": 1
},
"organizationSlug": {
"type": "string",
"minLength": 1
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"description": {
"type": "string",
"maxLength": 500
},
"repositoryUrl": {
"anyOf": [
{
"anyOf": [
{
"not": {}
},
{
"type": "string",
"format": "uri"
}
]
},
{
"type": "string",
"const": ""
}
]
},
"websiteUrl": {
"anyOf": [
{
"anyOf": [
{
"not": {}
},
{
"type": "string",
"format": "uri"
}
]
},
{
"type": "string",
"const": ""
}
]
},
"isPublic": {
"type": "boolean",
"default": false
}
},
"required": [
"name"
],
"additionalProperties": false
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}Example request
{
"name": "project_create",
"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).