• ACTIVE
  • TEMPORARY
  • READ ONLY
  • HUMAN

How to manage feature flags with your AI

Connect Upstash to your AI client to control feature toggles through chat. You'll move from manual dashboard updates to direct, conversational commands.

Ask AI about this page

Short answer

Can I control feature flags using my AI?

Yes. You can toggle features on or off and set specific expiration times for flags using plain English. This setup gives you direct control over your application state without touching a database console.

Control outcomes

Where every change lands

Your AI handles the data updates while you keep the high-level logic.

ACTIVE

Instant toggles

The AI updates flag states immediately. You get real-time control over which users see specific features.

TEMPORARY

Auto-expiring flags

Set flags to disappear after a certain time. This prevents stale code from lingering in your environment.

READ ONLY

State inspection

Ask your agent what flags are currently active. It pulls the current configuration so you can verify settings.

HUMAN

Logic decisions

The AI manages the data, but you decide which features are ready for production. You remain the final authority on deployment strategy.

The workflow

What your AI does when <the thing arrives>.

Your AI translates your intent into specific database operations.

  1. Check current state

    Your agent looks up existing flags to see what is currently enabled or disabled in your environment.

    exists
  2. Update a flag

    When you tell the AI to turn a feature on or off, it updates the value in Upstash.

    set
  3. Schedule removal

    You can tell the AI to make a flag temporary, and it will handle the cleanup.

    expire
  4. Verify changes

    The agent confirms the new state is active so you know the command worked.

    get

Try it

Copy these to start.

Use these prompts to interact with your Upstash flags.

Starting points

Replace the bracketed text with your actual flag names or environment keys.

Upstash Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_zagQBS4pH55ftq2YT6fVCqaAZsOFKu1bqXJWmxCc/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 — Upstash capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "upstash-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_zagQBS4pH55ftq2YT6fVCqaAZsOFKu1bqXJWmxCc/mcp"
    }
  }
}
Copy into chat04
  • Turn on the [beta_search] feature flag.

  • Does the [new_ui_test] flag exist right now?

  • Set the [promo_banner] flag to expire in 24 hours.

  • What is the current value of the [dark_mode] flag?

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

Start here

Connect Upstash once, then ask.

Connect your Upstash account in one click. Your credentials stay encrypted, and you can immediately start managing flags from your preferred AI client.

Connect Upstash to your AI

FAQ

How this task behaves

  • 01

    Can the AI delete my entire database?

    No. The AI only has access to the specific tools provided, which are limited to setting, getting, checking existence, and expiring flags.

  • 02

    Does the AI decide when to launch a feature?

    No. You decide when a feature is ready. The AI only executes the command to toggle the flag once you give the order.

  • 03

    Can I use this to change my application code?

    No. This tool only changes the values of feature flags in Upstash. It cannot modify your source code or deployment files.

  • 04

    How does the AI know if a flag is active?

    It uses the get tool to check the current value stored in your Upstash instance.

  • 05

    Can I set multiple flags at once?

    You can ask the AI to handle multiple flags, and it will process the requests using the set tool for each one.

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

Connect Upstash to Claude, Cursor, ChatGPT & more