coollabsio/coolify · error · HttpException

Not Found

Error message

Not Found

What it means

Error "Not Found" thrown in coollabsio/coolify.

Source

Thrown at app/Http/Middleware/EnsureMcpEnabled.php:20

namespace App\Http\Middleware;

use App\Models\InstanceSettings;
use Closure;
use Illuminate\Http\Request;
use Symfony\Component\HttpFoundation\Response;

class EnsureMcpEnabled
{
    /**
     * Handle an incoming request.
     *
     * @param  Closure(Request): (Response)  $next
     */
    public function handle(Request $request, Closure $next): Response
    {
        if (! InstanceSettings::get()->is_mcp_server_enabled) {
            abort(404);
        }

        return $next($request);
    }
}

View on GitHub (pinned to 70b9acc424)

When it happens

Trigger: Thrown at app/Http/Middleware/EnsureMcpEnabled.php:20 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of coollabsio/coolify@70b9acc424 (2026-08-17). Data as JSON: /api/errors/2bc238a1cb695b8a. Report an issue: GitHub.