get_github_app_repositories
Retrieve repositories accessible by a GitHub App to manage deployments and operations in Coolify self-hosted PaaS instances.
Instructions
Get repositories accessible by a GitHub App
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| github_app_id | Yes | GitHub App ID |
Implementation Reference
- src/tools/handlers.ts:480-482 (handler)The core handler logic that executes the tool call by invoking the Coolify API endpoint to retrieve repositories accessible to the specified GitHub App.case 'get_github_app_repositories': requireParam(args, 'github_app_id'); return client.get(`/github-apps/${args.github_app_id}/repositories`);
- src/tools/definitions.ts:735-743 (schema)The tool's schema definition, including input validation requiring 'github_app_id' parameter.{ name: 'get_github_app_repositories', description: 'Get repositories accessible by a GitHub App', inputSchema: { type: 'object', properties: { github_app_id: { type: 'string', description: 'GitHub App ID' } }, required: ['github_app_id'] } },
- src/index.ts:36-38 (registration)Registration of tool list handler in MCP server, which includes this tool via getToolDefinitions().this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions() }));
- src/index.ts:57-57 (registration)Tool execution handler registration in MCP server, dispatching to handleTool based on tool name.const result = await handleTool(this.client, name, args || {});
- src/tools/definitions.ts:40-42 (helper)Tool included in READ_ONLY_TOOLS array, making it available in read-only mode.'get_github_app_repositories', 'get_github_app_repository_branches' ];