get_project
Retrieve detailed project information including tasks and documents using 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 using GetProjectSchema, logs the request, fetches the project using supabaseService.getProject(project_id), and returns the project data.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:19-21 (schema)Zod schema for validating the input to the get_project tool, requiring a UUID project_id.const GetProjectSchema = z.object({ project_id: z.string().uuid() })
- src/tools/projects.ts:88-102 (registration)MCPTool object definition for 'get_project', including name, description, and input schema for tool listing.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:778-788 (registration)Local registration of project handlers, mapping 'get_project' to the getProject function.export const projectHandlers = { list_projects: listProjects, get_project: getProject, create_project: createProject, update_project: updateProject, get_project_context: getProjectContext, archive_project: archiveProject, duplicate_project: duplicateProject, get_project_timeline: getProjectTimeline, bulk_update_projects: bulkUpdateProjects }
- src/index.ts:143-155 (registration)Global registration of all handlers in HeliosMCPServer constructor by spreading projectHandlers into allHandlers, making 'get_project' available for tool calls.this.allHandlers = { ...projectHandlers, ...taskHandlers, ...documentHandlers, ...conversationHandlers, ...contextAggregationHandlers, ...workflowAutomationHandlers, ...intelligentSearchHandlers, ...analyticsInsightsHandlers, ...initiativeHandlers, ...promptToProjectTools.reduce((acc, tool) => ({ ...acc, [tool.name]: tool.handler }), {}), ...debugHandlers, }