get_project
Retrieve detailed information about a specific GitHub project by its ID, including tasks, milestones, and custom fields, for streamlined project management.
Instructions
Get details of a specific GitHub project
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes |
Implementation Reference
- src/index.ts:265-266 (handler)MCP tool dispatch handler that routes 'get_project' tool calls to the ProjectManagementService.getProject method.case "get_project": return await this.service.getProject(args.projectId);
- Tool definition for 'get_project' including input schema (projectId: string), description, and usage examples.export const getProjectTool: ToolDefinition<GetProjectArgs> = { name: "get_project", description: "Get details of a specific GitHub project", schema: getProjectSchema as unknown as ToolSchema<GetProjectArgs>, examples: [ { name: "Get project details", description: "Get details for a specific project", args: { projectId: "PVT_kwDOLhQ7gc4AOEbH" } } ] };
- src/infrastructure/tools/ToolRegistry.ts:195-195 (registration)Registers the getProjectTool in the central ToolRegistry singleton instance.this.registerTool(getProjectTool);
- Service layer method that delegates to GitHubProjectRepository.findById and handles error mapping.async getProject(projectId: string): Promise<Project | null> { try { return await this.projectRepo.findById(projectId); } catch (error) { throw this.mapErrorToMCPError(error); } }
- Repository implementation executes GraphQL query to fetch project details by ID.const response = await this.graphql<GetProjectResponse>(query, { id });