get_github_app_repository_branches
Retrieve branch information from GitHub repositories accessible through a GitHub App, enabling repository management within the Coolify MCP Server environment.
Instructions
Get branches of a repository accessible by a GitHub App
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| github_app_id | Yes | GitHub App ID | |
| owner | Yes | Repository owner | |
| repo | Yes | Repository name |
Implementation Reference
- src/tools/handlers.ts:484-489 (handler)Handler implementation: validates required parameters (github_app_id, owner, repo) and performs a GET request to the Coolify API endpoint for repository branches.case 'get_github_app_repository_branches': requireParam(args, 'github_app_id'); requireParam(args, 'owner'); requireParam(args, 'repo'); return client.get(`/github-apps/${args.github_app_id}/repositories/${args.owner}/${args.repo}/branches`);
- src/tools/definitions.ts:745-756 (schema)Input schema definition specifying parameters: github_app_id (string), owner (string), repo (string), all required.name: 'get_github_app_repository_branches', description: 'Get branches of a repository accessible by a GitHub App', inputSchema: { type: 'object', properties: { github_app_id: { type: 'string', description: 'GitHub App ID' }, owner: { type: 'string', description: 'Repository owner' }, repo: { type: 'string', description: 'Repository name' } }, required: ['github_app_id', 'owner', 'repo'] } },
- src/tools/definitions.ts:41-42 (registration)The tool is listed in READ_ONLY_TOOLS array, indicating it's available in read-only mode.'get_github_app_repository_branches' ];