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 in the switch statement that validates parameters and calls the Coolify API endpoint to retrieve branches for a GitHub App repository.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:744-756 (schema)Schema definition specifying the tool name, description, and input schema with required parameters for validation.{ 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'] } },