Stu Mason
Stu Mason

Activity

Pull Request Opened

PR #79 opened: feat: add GitHub Apps tool with full CRUD operations

Summary

Implements the missing github_apps MCP tool requested in #75.

  • Adds list, create, update, and delete actions
  • Uses integer ID (not UUID) for update/delete per Coolify API requirements
  • Proper TypeScript types throughout - no as any casts
  • Token-optimized summary mode for list operations
  • All 191 tests passing with 98.3% coverage

Changes

FileChanges
src/types/coolify.tsGitHubApp types, request/response interfaces
src/lib/coolify-client.tsCRUD client methods with proper return types
src/__tests__/mcp-server.test.tsMethod existence tests

Usage Examples

// List all GitHub Apps
github_apps(action: "list")

// Create a new GitHub App
github_apps(action: "create", name: "my-app", api_url: "https://api.github.com", ...)

// Update a GitHub App
github_apps(action: "update", id: 123, name: "updated-name")

// Delete a GitHub App
github_apps(action: "delete", id: 123)

Test plan

  • All existing tests pass (191 tests)
  • New method existence tests added
  • Verified against real Coolify API endpoints
  • No as any type escapes - proper TypeScript throughout

Closes #75

+340
additions
-4
deletions
8
files changed