get_project
Retrieve comprehensive project details including tasks and documents by providing the project's unique identifier.
Instructions
Get detailed information about a specific project including tasks and documents
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The unique identifier of the project |
Implementation Reference
- src/tools/projects.ts:104-115 (handler)The main handler function for the 'get_project' tool. Parses input arguments using GetProjectSchema, fetches project details via supabaseService.getProject(project_id), and returns the project object.export const getProject = requireAuth(async (args: any) => { const { project_id } = GetProjectSchema.parse(args) logger.info('Getting project details', { project_id }) // Get basic project details (this calls /api/mcp/projects/${projectId}) const project = await supabaseService.getProject(project_id) return { project } })
- src/tools/projects.ts:88-102 (registration)MCPTool registration for 'get_project', including name, description, and JSON input schema.export const getProjectTool: MCPTool = { name: 'get_project', description: 'Get detailed information about a specific project including tasks and documents', inputSchema: { type: 'object', properties: { project_id: { type: 'string', format: 'uuid', description: 'The unique identifier of the project' } }, required: ['project_id'] } }
- src/tools/projects.ts:19-21 (schema)Zod schema for input validation in the get_project handler, requiring a UUID project_id.const GetProjectSchema = z.object({ project_id: z.string().uuid() })
- src/tools/projects.ts:780-780 (registration)Handler registration in the exported projectHandlers object: get_project maps to the getProject function.get_project: getProject,