list_github_apps
Retrieve all configured GitHub Apps from your Coolify self-hosted PaaS instance to manage application deployments and integrations.
Instructions
List all GitHub Apps configured in Coolify
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/handlers.ts:461-462 (handler)Handler implementation for the 'list_github_apps' tool. Executes a GET request to the Coolify API endpoint '/github-apps' to list all configured GitHub Apps.case 'list_github_apps': return client.get('/github-apps');
- src/tools/definitions.ts:674-678 (schema)Schema definition for the 'list_github_apps' tool, specifying its name, description, and input schema (no required parameters).{ name: 'list_github_apps', description: 'List all GitHub Apps configured in Coolify', inputSchema: { type: 'object', properties: {}, required: [] } },
- src/index.ts:36-38 (registration)MCP server registration of tools via ListToolsRequestHandler, which returns all tool definitions including 'list_github_apps' from getToolDefinitions().this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions() }));
- src/index.ts:41-67 (registration)MCP server handler for tool execution (CallToolRequestSchema), which dispatches to handleTool including for 'list_github_apps', with read-only mode checks.this.server.setRequestHandler(CallToolRequestSchema, async (request) => { if (!this.client) { throw new McpError(ErrorCode.InternalError, 'Client not initialized'); } const { name, arguments: args } = request.params; // Block write operations in read-only mode if (isReadOnlyMode() && !READ_ONLY_TOOLS.includes(name)) { throw new McpError( ErrorCode.InvalidRequest, `Operation '${name}' is not allowed in read-only mode. Set COOLIFY_READONLY=false to enable write operations.` ); } try { const result = await handleTool(this.client, name, args || {}); return { content: [{ type: 'text', text: JSON.stringify(result, null, 2) }] }; } catch (error) { if (error instanceof McpError) throw error; const message = error instanceof Error ? error.message : 'Unknown error'; throw new McpError(ErrorCode.InternalError, `Tool execution failed: ${message}`); } });
- src/tools/definitions.ts:37-42 (helper)'list_github_apps' is listed in READ_ONLY_TOOLS array, allowing it to be used even in read-only mode.'list_resources', 'list_github_apps', 'get_github_app', 'get_github_app_repositories', 'get_github_app_repository_branches' ];