list_repository_issues
Retrieve and display issues from an AtomGit repository to track bugs, feature requests, and tasks for project management.
Instructions
List issues in a AtomGit repository
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Repository owner | |
| repo | Yes | Repository name |
Implementation Reference
- operations/issues.ts:153-160 (handler)Core handler function that executes the API request to list issues in the specified repository.export async function listIssues(owner: string, repo: string) { return atomGitRequest( `https://api.atomgit.com/repos/${encodeURIComponent(owner)}/${encodeURIComponent(repo)}/issues`, { method: "GET", } ); }
- operations/issues.ts:70-73 (schema)Zod schema defining the input parameters (owner and repo) for the list_repository_issues tool.export const ListIssuesSchema = z.object({ owner: z.string().describe("Repository owner"), repo: z.string().describe("Repository name"), });
- index.ts:91-95 (registration)Registration of the list_repository_issues tool in the MCP server, including name, description, and schema reference.{ name: "list_repository_issues", description: "List issues in a AtomGit repository", inputSchema: zodToJsonSchema(issues.ListIssuesSchema), },
- index.ts:341-349 (handler)MCP server wrapper handler that parses input arguments and delegates to the core listIssues function.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) }], }; }