create_project
Create new projects in Simplicate with essential details including project name, organization, manager, start date, and budget for effective project management.
Instructions
Create a new project
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| budget | No | Project budget | |
| name | Yes | Project name | |
| organization_id | No | Organization ID | |
| project_manager_id | No | Project manager employee ID | |
| start_date | No | Start date (YYYY-MM-DD) |
Input Schema (JSON Schema)
{
"properties": {
"budget": {
"description": "Project budget",
"type": "number"
},
"name": {
"description": "Project name",
"type": "string"
},
"organization_id": {
"description": "Organization ID",
"type": "string"
},
"project_manager_id": {
"description": "Project manager employee ID",
"type": "string"
},
"start_date": {
"description": "Start date (YYYY-MM-DD)",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
}
Implementation Reference
- src/mcp/server-full.ts:406-408 (handler)MCP CallToolRequestSchema handler case for 'create_project' tool. Delegates execution to SimplicateServiceExtended.createProject with tool arguments and formats response as MCP content.case 'create_project': { const data = await this.simplicateService.createProject(toolArgs); return { content: [{ type: 'text', text: JSON.stringify(data, null, 2) }] };
- src/mcp/server-full.ts:64-78 (registration)Tool registration in ListToolsRequestSchema handler. Defines name, description, and input schema validation for 'create_project'.{ name: 'create_project', description: 'Create a new project', inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Project name' }, organization_id: { type: 'string', description: 'Organization ID' }, project_manager_id: { type: 'string', description: 'Project manager employee ID' }, start_date: { type: 'string', description: 'Start date (YYYY-MM-DD)' }, budget: { type: 'number', description: 'Project budget' }, }, required: ['name'], }, },
- Supporting utility method in SimplicateServiceExtended that performs the actual HTTP POST request to Simplicate API endpoint '/projects/project' to create the project.async createProject(data: Partial<SimplicateProject>): Promise<SimplicateProject> { const response = await this.client.post('/projects/project', data); return response.data; }
- TypeScript interface defining the SimplicateProject structure used for input/output typing in createProject method.export interface SimplicateProject { id: string; name: string; project_number: string; organization?: { id: string; name: string }; project_manager?: { id: string; name: string }; start_date?: string; end_date?: string; budget?: number; status?: string; }