• PROTECTED
  • LIVE
  • INFO
  • HUMAN

How to toggle maintenance mode with your agent

Connect Heroku to your AI client to manage app states through chat. You can flip the maintenance switch or check app details without using the CLI.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How do I put my Heroku app in maintenance mode using AI?

Tell your agent to toggle maintenance mode for a specific app name. It will use the Heroku connection to switch the state and confirm when the app is protected. You'll see the specific outcomes below.

The outcomes.

Where your request lands.

Depending on what you ask, your agent performs one of these actions.

PROTECTED

App is in maintenance

Your agent uses the toggle tool to block incoming traffic. Your app stays safe while you run migrations.

LIVE

App is back online

Your agent flips the switch back to normal. Traffic flows to your application again immediately.

INFO

App details retrieved

Your agent pulls current configuration and status data. You get a clear picture of your app's current state.

HUMAN

Manual intervention needed

If the app name is wrong or permissions fail, your agent tells you exactly what went wrong. You'll need to check your Heroku dashboard to fix it.

The workflow

What your agent does when the command arrives.

Your agent handles the heavy lifting of communicating with the Heroku API.

  1. Identify the app

    Your agent looks up the specific application you mentioned to ensure it targets the right resource.

    get_app_info
  2. Check current status

    It verifies if the app is already in maintenance mode to avoid redundant commands.

    get_app_info
  3. Execute the switch

    Your agent sends the command to change the maintenance state based on your request.

    toggle_maintenance_mode
  4. Confirm completion

    Your agent reports back that the app is now protected or live.

    get_app_info

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Heroku tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to trigger the Heroku tools.

Starting points

Replace the app names in these examples with your actual Heroku app identifiers.

Heroku Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_HWnMOgL2zYPCutqVNumPjbm95CPIrkddpZrkVKOV/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Heroku capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "heroku-paas-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_HWnMOgL2zYPCutqVNumPjbm95CPIrkddpZrkVKOV/mcp"
    }
  }
}
Copy into chat04
  • 01

    Put my app 'production-web-api' into maintenance mode.

  • 02

    Turn off maintenance mode for 'staging-frontend'.

  • 03

    Check the current status of my app 'data-processor-service'.

  • 04

    Is 'customer-portal-app' currently in maintenance mode?

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Heroku once, then ask.

Link your Heroku account to Vinkius in one click. Your credentials stay encrypted, and you can start managing apps from any MCP-compatible client immediately.

Connect Heroku to your agent

FAQ

How this task behaves.

  • 01

    Can your agent deploy new code to Heroku?

    No. This MCP only handles maintenance mode and app information.

  • 02

    Will your agent delete my Heroku apps?

    No. There are no tools provided to delete applications or resources.

  • 03

    Do I need to use the Heroku CLI?

    No. Once connected, you can perform these tasks entirely through your AI client.

  • 04

    Can your agent change my environment variables?

    No. The available tools are limited to maintenance toggling and retrieving app info.

  • 05

    How does your agent know which app I mean?

    It uses the app name you provide in your prompt to look up the correct resource.

  • More questions about Heroku? The Connector page answers them. See everything the Heroku Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Heroku to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Heroku plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Heroku to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.