Skip to main content
Glama

get_project

Retrieve detailed information about a specific GitHub project, including its structure, tasks, and current status, to support project management and tracking.

Instructions

Get details of a specific GitHub project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
projectIdYes

Implementation Reference

  • Core handler implementation that fetches project details by ID using the GitHubProjectRepository
    async getProject(projectId: string): Promise<Project | null> { try { return await this.projectRepo.findById(projectId); } catch (error) { throw this.mapErrorToMCPError(error); } }
  • MCP server dispatch handler that routes 'get_project' tool calls to the ProjectManagementService
    case "get_project": return await this.service.getProject(args.projectId);
  • Registers the getProjectTool in the central ToolRegistry singleton
    this.registerTool(getProjectTool);
  • Defines the get_project tool 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" } } ] };
  • Zod input schema validation for get_project tool parameters
    export const getProjectSchema = z.object({ projectId: z.string().min(1, "Project ID is required"), }); export type GetProjectArgs = z.infer<typeof getProjectSchema>;

Other Tools

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