Today's Laravel announcements included Laravel Rust and a demo of the Laravel Cloud MCP. Other than Rust, that was the one that piqued my interest the most. An agent connected to Cloud, was told an app was throwing a 500, and investigated why. Nobody opened a terminal.

I've been using a similar setup on my own servers since October. Seeing it in the keynote made this feel like the right time to release mine.

It started when I realized how often I was repeating the same steps while maintaining Sentinel, the uptime monitoring service I run. SSH into the server, run a few Artisan commands, grep the logs, check the workers. It was slowing me down, and I was doing it across multiple apps.

I'd normally pull repeated code into something reusable. This felt like the same problem, so I gave the agent tools to do those checks. In October, I pulled them into a Composer package so my other Laravel apps could use them too.

The package is laravel-ops-mcp, and it reached 1.0 this week. Laravel Cloud's MCP is for apps hosted on Cloud. This one is for Laravel apps you host yourself, whether on a VPS, a Forge-provisioned server or another setup.

composer require rootstuff/laravel-ops-mcp
claude mcp add laravel-ops -- php artisan mcp:start ops

It lives inside your app and runs wherever the app runs.

What I use it for

Most of the time, I just ask it to "check the server."

On one recent check, it reported that PHP and nginx were current, the app's configuration was cached, the database and cache were responding, and every long-running process was using the current release. There were no application errors in the logs for two days and no failed jobs in thirty days.

It also found fourteen pending security upgrades and two packages on hold.

That was useful, but I still had to open a shell to find out which packages. The security tool now includes their names.

Much of the package developed through using it that way. I'd ask a question, find something missing from the answer, and improve the tool.

After a deploy, I wanted to know whether the queue workers had picked up the new release. When checking logs, I needed it to recognize that an old laravel.log wasn't the file the app was currently writing to. Both checks are in the package now.

There are ten tools covering logs, queues, failed jobs, the scheduler, long-running processes, host health, configuration and pending updates. The README documents each one.

Checking from outside

The app can tell you its database is responding and its queues are running. That still doesn't tell you whether anyone can reach the website.

A DNS record pointing at the wrong server won't necessarily produce an application error. Neither will an expired certificate.

The newest tool, outside_view, asks Sentinel to check your app's URL once from each of its regions. When I ran it against rootstuff.io shortly after shipping, all fifteen regions returned HTTP 200. The median response time was 41 ms, ranging from 18 ms in Seoul to 207 ms in Tel Aviv.

The agent can use that result alongside the internal checks when investigating a problem. If Laravel looks healthy but the URL is failing from several regions, it has somewhere else to start looking.

You don't need a Sentinel account. The tool sends your app's URL, with no application logs, configuration or credentials. It only runs when called, refuses local or private addresses, and can be disabled with one environment variable. The README documents exactly what leaves your server.

This is a single check when you ask for it. It won't tell you whether the site went down overnight or alert you when it happens. You'd still need monitoring for that.

It only reads

I wanted an agent to inspect production without giving it permission to change things. Every tool in the package is read-only, and none accepts an arbitrary file path or shell command.

Log output passes through a redactor before it's returned to the client. The redactor is designed to remove tokens, passwords, keys and credentials inside connection URLs.

The remote endpoint is disabled by default. If you enable it, it refuses requests until you configure a long authentication token. You can also disable the security tool separately if you don't want it exposing details such as software versions and open ports.

There's one limitation to understand. The MCP server runs through Laravel. If the application can't boot, these tools won't be available to investigate why.

Try it

The package requires PHP 8.2 or newer and Laravel 12.41 or 13.

The README includes the full tool list, configuration options and setup instructions for remote access, Cursor and other MCP clients.

rootstuff/laravel-ops-mcp on GitHub