MCP server
Let your AI agent run your config
Connect Claude, ChatGPT, Cursor, or any MCP client to BetterConfig. Ask in plain English and your agent reads, compares, and updates config across every environment, signed in as you and held to your role on each project.
https://api-admin.betterconfig.dev/mcpRemote server over Streamable HTTP. Sign in with OAuth. Nothing to install, no API key to paste.
- Claude
- ChatGPT
- Cursor
- VS Code
- Copilot
- Windsurf
- Gemini
Setup
Connect your client
Pick your client, add the server, and sign in once. Your agent can start working right after.
- 1
In Claude, open Customize and go to Connectors.
- 2
Click + Add, then Add custom connector.
- 3
Name it
BetterConfig, paste the server URL, and click Continue.Server URLhttps://api-admin.betterconfig.dev/mcp - 4
Keep the detected OAuth settings, choose Sign in now, and click Add. Sign in to BetterConfig in the window that opens and approve access.
The connector lives on your Claude account, so it works on claude.ai and in Claude Desktop alike. On Team and Enterprise plans, an owner adds it first under Organization settings then Connectors, and members connect from there.
Tools
What your agent can do
Eleven tools covering the full config workflow, from reading values to bulk imports.
Read
Available on every role
- See your projects
list_projectsEvery project you belong to, with your role on each.
- List environments
list_environmentsDev, staging, prod, and the rest, with their current version.
- Browse and search keys
list_config_keysTypes, descriptions, where each key is live, and a preview of its value.
- Read full values
get_configThe exact values your SDKs receive in an environment.
- Check the history
get_historyRecent changes, newest first, with who made each one.
Write
Editors and owners
- Set values
set_config_valuesChange one key or many in a single environment. Every value is checked against its key's type.
- Create keys
create_config_keyTyped keys (string, number, boolean, JSON, arrays, objects) with optional starting values per environment.
- Update keys
update_config_keyRename a key, change its type, or edit its description. Type changes that would break stored values are refused unless you name the environments to reset.
- Delete from an environment
delete_config_keyRemove a key from one environment. Removing it from the last one needs explicit confirmation.
- Restore keys
restore_config_keyBring a deleted key back with the last value it held.
- Bulk import
import_configCreate or update up to 500 keys in one environment at once.
Examples
Try asking
Talk to your agent the way you would talk to a teammate who knows your config.
- Turn on
checkout.enabledin dev - What's different between dev and prod?
- Add a
MAX_RETRIESnumber key, 3 in dev and 5 in prod - Who changed the banner config last week?
- Import this JSON into staging
- Which keys are live in staging but missing from prod?
Security
Permissions you can reason about
The agent never gets more access than you have, and you can see everything it does.
OAuth, not API keys
Your client registers itself and sends you to BetterConfig to sign in. No tokens to copy, rotate, or leave sitting in a dotfile.
You approve every connection
A consent screen names the agent and lists exactly what it is asking for: reading config, changing config, or both.
Your role still applies
The agent acts as you, project by project. Viewers can read. Editors and owners can make changes. Projects you are not a member of stay invisible.
Every change is on the record
Edits land in project history under your name, so you can see what changed, when, and what it was before.
Writes go live
Agent changes publish like dashboard edits and are typically live in your apps in under a minute. Keep tool approval on in your client for anything that touches production.
FAQ
Questions
Your config, one prompt away
Create a free BetterConfig account, add a project, and connect your agent in a couple of minutes.