Skip to main content
Glama

list_github_apps

Retrieve all configured GitHub Apps from Coolify to manage application deployments and integrations within your self-hosted PaaS environment.

Instructions

List all GitHub Apps configured in Coolify

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The tool handler implementation within the switch statement in handleTool function. It calls the CoolifyClient GET /github-apps endpoint to list all configured GitHub Apps.
    case 'list_github_apps': return client.get('/github-apps');
  • Tool schema definition specifying the 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 all tools via ListToolsRequestHandler, which returns getToolDefinitions() including 'list_github_apps'.
    this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: getToolDefinitions() }));
  • src/index.ts:41-67 (registration)
    MCP server sets up CallToolRequestHandler which dispatches to handleTool, executing the 'list_github_apps' case when called.
    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}`); } });
  • Utility function that provides the list of available tools, filtering for read-only mode, used for tool registration.
    export function getToolDefinitions() { if (isReadOnlyMode()) { return allToolDefinitions.filter(tool => READ_ONLY_TOOLS.includes(tool.name)); } return allToolDefinitions; }

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kof70/coolify-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server