DEV Community

Renato Marinho
Renato Marinho

Posted on

I stopped checking my Modal dashboard because my agent does it for me

I used to spend way too much time context-switching between Cursor, my terminal, and the Modal web dashboard.

You know the drill: a GPU job is running, you aren't sure if it's hanging or just slow, so you leave your IDE, open a browser tab, navigate through the dashboard, hunt for the specific deployment ID, and check the logs. It’s a micro-interruption that adds up to hours of lost flow state every week.

The moment I connected the Modal Serverless AI Infrastructure MCP to my agent, that workflow died. Not because the dashboard is bad—it's actually quite solid—but because I realized I didn't need a UI for basic operational oversight. I just needed an interface that lived where I write code.

The problem with 'Read-Only' AI

A lot of people treat MCP servers like glorified documentation readers. They use them to parse logs or query databases, but they stop short when it comes to action. They're afraid of the agent 'doing something' wrong.

But if you’m managing serverless compute, visibility without agency is almost useless. If I can see that a function is running via list_apps, but I have to leave my IDE to kill it, I haven't actually solved the context-switching problem. The real utility of an MCP isn't just seeing your infrastructure; it's controlling it.

I’ve been using this specific server on Vinkius to treat Claude like a junior DevOps engineer. When I see a deployment that looks suspicious or is consuming more resources than expected, I don't go hunting for the Modal CLI. I just type: "Check my active apps and stop anything that looks like it’s runaway."

The agent uses list_apps to find the context, identifies the problematic ID, and then executes stop_app. It terminates the execution gracefully in the background, effectively preventing a billing spike before I even realize there was one. That's not just 'cool AI'; that's practical infrastructure management.

Beyond the kill switch

It’s not all about emergencies, though. The real day-to-day value is in the audit trail.

When you're working with distributed compute and persistent storage, things get messy fast. You might have volumes mounted across different instances or secrets tucked away in different containers. Instead of running modal volume ls or checking your secret dictionary manually, I just ask the agent to verify my setup:

  • "Do we have a persistent volume configured for large model weights?"
  • "List all the secrets attached to my current deployment."
  • "What are the web endpoints for my latest promoted deployment?"

The agent uses list_volumes, list_secrets, and get_deployment to pull that metadata directly into our chat context. It turns a multi-step investigation into a single natural language query.

The security elephant in the room

I know what some of you are thinking: "You're giving an LLM the power to stop your production workloads and view your secrets. That sounds like a nightmare."

You’re right. It is. If you do this poorly, it’s a disaster.

This is exactly why I built Vinkius with isolated V8 sandboxes and strict governance policies. When you use an MCP server through our platform, we aren't just passing raw strings around. We have HMAC audit chains and execution boundaries in place. You shouldn't be running these tools by simply pasting a raw API key into a random script you found on GitHub.

If I’m giving my agent the ability to run stop_app, I need to know that the command is being executed within a controlled environment where it can't suddenly decide to start iterating through every secret in my account unless explicitly told to.

The Bottom Line

We are moving away from an era of 'Dashboards as Truth' towards 'Agents as Orchestrators.' If your infrastructure setup requires you to leave your IDE to manage it, you’re still using the old model.

The Modal MCP isn't a replacement for the Modal platform; it's an extension of it into your development workflow. It turns your agent from a passive observer into an active participant in your deployment lifecycle.

If you want to try setting this up, you can grab the connection token on Vinkius and drop it straight into Claude or Cursor. No OAuth callback hell, no complex configuration files. Just connect and start managing.


MCPs are the music of AI Agents. We built the catalog. Discover Vinkius MCP Catalog.

Top comments (0)