Skip to main content
Glama
kunwarVivek

mcp-github-project-manager

get_issue

Retrieve detailed information about a specific GitHub issue by providing its issue ID, enabling users to access issue data for project management and tracking purposes.

Instructions

Get details of a specific GitHub issue

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
issueIdYes

Implementation Reference

  • MCP tool dispatch handler in index.ts that calls the service method for get_issue tool execution.
    case "get_issue":
      return await this.service.getIssue(args.issueId);
  • Tool definition including schema, description, and examples for get_issue.
    export const getIssueTool: ToolDefinition<GetIssueArgs> = {
      name: "get_issue",
      description: "Get details of a specific GitHub issue",
      schema: getIssueSchema as unknown as ToolSchema<GetIssueArgs>,
      examples: [
        {
          name: "Get issue details",
          description: "Get detailed information about an issue",
          args: {
            issueId: "42"
          }
        }
      ]
    };
  • Zod input schema validation for get_issue tool parameters.
    export const getIssueSchema = z.object({
      issueId: z.string().min(1, "Issue ID is required"),
    });
    
    export type GetIssueArgs = z.infer<typeof getIssueSchema>;
  • Registration of getIssueTool in the central ToolRegistry singleton.
    this.registerTool(getIssueTool);
  • Service layer method that delegates to GitHubIssueRepository.findById for retrieving issue details.
    async getIssue(issueId: string): Promise<Issue | null> {
      try {
        return await this.issueRepo.findById(issueId);
      } catch (error) {
        throw this.mapErrorToMCPError(error);
      }
    }

Tool Definition Quality

Score is being calculated. Check back soon.

Install Server

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