coolify/app/Http/Middleware
Andras Bacsai 7ab16ad7b5 feat(mcp): add MCP server with read-only tools for Coolify resources
Add Model Context Protocol server exposing Coolify infrastructure data
to AI assistants. Includes tools for listing/fetching servers, projects,
applications, databases, and services, scoped to authenticated team tokens.

- Add CoolifyServer with 10 read-only tools (list/get for all resource types)
- Add BuildsResponse and ResolvesTeam traits for shared tool logic
- Add EnsureMcpEnabled middleware guarding /mcp routes
- Add enable/disable MCP API endpoints (root-only)
- Add is_mcp_server_enabled toggle in instance settings and advanced UI
- Add migration for is_mcp_server_enabled column
- Add feature tests for MCP endpoints and toggle API
- Scrub sensitive keys (passwords, tokens, raw IDs) from all responses
2026-04-29 10:30:43 +02:00
..
ApiAbility.php feat(observability): add structured audit log channel for API and webhook events 2026-04-28 14:50:37 +02:00
ApiAllowed.php
ApiSensitiveData.php
Authenticate.php
CanAccessTerminal.php
CanCreateResources.php
CanUpdateResource.php
CheckForcePasswordReset.php chore: prepare for PR 2026-02-24 10:17:16 +01:00
DecideWhatToDoWithUser.php
EncryptCookies.php
EnsureMcpEnabled.php feat(mcp): add MCP server with read-only tools for Coolify resources 2026-04-29 10:30:43 +02:00
PreventRequestsDuringMaintenance.php
RedirectIfAuthenticated.php
TrimStrings.php
TrustHosts.php fix(subscription): harden quantity updates and proxy trust behavior 2026-03-03 12:28:16 +01:00
TrustProxies.php fix(subscription): harden quantity updates and proxy trust behavior 2026-03-03 12:28:16 +01:00
ValidateSignature.php
VerifyCsrfToken.php