• ISOLATION
  • INVENTORY
  • CLEANUP
  • HUMAN

How to manage environment stores with your AI

Connect OpenFGA to your AI client to handle store lifecycles through natural language. You'll move from manual setup to automated environment management.

Ask AI about this page

Short answer

How can I use AI to manage OpenFGA stores?

Your AI client uses OpenFGA tools to spin up new stores for testing, list existing ones, and wipe them out when they are no longer needed. This keeps your development environments isolated and clean. You get full control over your authorization data lifecycle.

Environment outcomes

Where your changes land.

The AI handles the heavy lifting of store management so you can focus on your auth logic.

ISOLATION

New test environments

The AI creates fresh stores for specific deployment stages. You get a clean slate for every test run.

INVENTORY

Store visibility

Your agent pulls a list of all active stores. You can quickly see what's running in your environment.

CLEANUP

Automated teardowns

The AI deletes old or temporary stores once a task is finished. This prevents stale data from cluttering your setup.

HUMAN

Manual oversight

You decide when to trigger a full cleanup or a new deployment. The AI follows your specific instructions for each stage.

The workflow

What your AI does when a request arrives.

The AI translates your intent into direct OpenFGA actions.

  1. Provisioning

    The AI sets up a new, isolated store for your current task or deployment stage.

    create_store
  2. Discovery

    The AI checks which stores are currently active to ensure you aren't duplicating work.

    list_storesget_store
  3. Validation

    The AI verifies the connection to the OpenFGA service is active and responding.

    health_check
  4. Deprovisioning

    The AI removes specific stores to keep your environment organized.

    delete_store

Try it

Copy these to start.

Use these prompts to trigger immediate actions in OpenFGA.

Starting points

Replace the bracketed text with your specific environment names or IDs.

OpenFGA Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_VDWoQMoj6eTPYg6n6XBuedyNPsCIKIje0Bwlugcp/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 — OpenFGA capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "openfga-fine-grained-auth-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_VDWoQMoj6eTPYg6n6XBuedyNPsCIKIje0Bwlugcp/mcp"
    }
  }
}
Copy into chat04
  • Create a new OpenFGA store named 'staging-auth-test'.

  • List all my current OpenFGA stores so I can see what's active.

  • Check the health of my OpenFGA connection.

  • Delete the OpenFGA store with ID 'dev-env-123' once I'm done.

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

Start here

Connect OpenFGA once, then ask.

Link your OpenFGA instance to Vinkius. Your credentials stay encrypted, and you can immediately start managing stores through your preferred AI client.

Connect OpenFGA to your AI

FAQ

How this task behaves.

  • 01

    Can the AI delete all my stores at once?

    No. The AI can only delete specific stores that you identify by name or ID.

  • 02

    Will the AI change my authorization models?

    No. This MCP only manages the stores themselves, not the internal model definitions or tuples.

  • 03

    How do I know if the connection is working?

    You can ask the AI to run a health check to verify the service is reachable.

  • 04

    Can the AI see my data inside the stores?

    No. The tools provided only allow for store management, such as creating, listing, and deleting the stores.

  • 05

    Does the AI handle the actual auth logic?

    No. The AI manages the infrastructure of the stores, but you still manage the logic within your application.

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

Connect OpenFGA to Claude, Cursor, ChatGPT & more