Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Managing feature flags from Claude Code and Cursor with MCP

说明与用途

开发人员可以使用 ConfigDirector 的 MCP 服务器直接在代码编辑器中管理功能标志,消除上下文切换,并确保更改经过身份验证、审计和验证。

问题

Developers need to create, update, and manage feature flags without leaving their code editor, but existing dashboards require context switching and manual API calls.

结果

Developers can manage feature flags entirely from their editor, reducing context switches and ensuring changes are authenticated, logged, and validated through the same Admin API used by dashboards.

工作流

  • Create an API token with desired permissions in the ConfigDirector dashboard.
  • Set the token in an environment variable (e.g., CONFIGDIRECTOR_TOKEN).
  • Add the MCP server to Claude using the provided command line instruction.
  • Verify connection by typing /mcp in Claude Code to see available tools.
  • Use natural language commands to create or update feature flags (e.g., "Create a kill switch called payments-v2").
  • The assistant calls the MCP server to perform the requested action and reports the result.
  • Review audit logs to confirm changes were attributed to the MCP source.
  • Repeat for additional flag operations such as rolling out percentages or querying usage.
  • Archive or delete flags manually via the dashboard if needed.

证据

The assistant lists the projects to find checkout, creates the config with the kill switch role, and reports the key.

来源

Open the audit log afterwards and each change is there, attributed to the token's owner with the source MCP.

来源

  • 记录日期: 2026-09-21T17:00:20.010Z