StuMason/coolify-mcp
TypeScript
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, anddeleteactions - Uses integer ID (not UUID) for update/delete per Coolify API requirements
- Proper TypeScript types throughout - no
as anycasts - Token-optimized summary mode for list operations
- All 191 tests passing with 98.3% coverage
Changes
| File | Changes |
|---|---|
src/types/coolify.ts | GitHubApp types, request/response interfaces |
src/lib/coolify-client.ts | CRUD client methods with proper return types |
src/__tests__/mcp-server.test.ts | Method 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 anytype escapes - proper TypeScript throughout
Closes #75
+340
additions
-4
deletions
8
files changed