Skip to main content
Glama

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
NameRequiredDescriptionDefault
projectIdYes

Implementation Reference

  • 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" } } ] };
  • 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 });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kunwarVivek/mcp-github-project-manager'

If you have feedback or need assistance with the MCP directory API, please join our Discord server