Skip to main content
Glama

list_repository_issues

Retrieve and list issues from a specific AtomGit repository by specifying the repository owner and name for efficient issue tracking and management.

Instructions

List issues in a AtomGit repository

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ownerYesRepository owner
repoYesRepository name

Implementation Reference

  • index.ts:91-95 (registration)
    Registration of the 'list_repository_issues' tool in the MCP server's listTools handler, including name, description, and reference to the input schema.
    { name: "list_repository_issues", description: "List issues in a AtomGit repository", inputSchema: zodToJsonSchema(issues.ListIssuesSchema), },
  • Zod input schema for the list_repository_issues tool, defining required owner and repo parameters.
    export const ListIssuesSchema = z.object({ owner: z.string().describe("Repository owner"), repo: z.string().describe("Repository name"), });
  • Main handler function implementing the tool logic: fetches the list of issues from the AtomGit API endpoint for the given repository.
    export async function listIssues(owner: string, repo: string) { return atomGitRequest( `https://api.atomgit.com/repos/${encodeURIComponent(owner)}/${encodeURIComponent(repo)}/issues`, { method: "GET", } ); }
  • Dispatch handler in the MCP server's callToolRequestHandler that parses input, calls the listIssues function, and formats the response.
    case "list_repository_issues": { const args = issues.ListIssuesSchema.parse(request.params.arguments); const { owner, repo } = args; const result = await issues.listIssues(owner, repo); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; }

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/kaiyuanxiaobing/atomgit-mcp-server'

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