MCP
Reflag supports the MCP protocol. Understand how to connect the agent in your code editor to your Reflag account.
Set up MCP
Model Context Protocol enables seamless integration of your Large Language Model (LLM) with external data sources, such as a code editor. This guide will walk you through connecting your editor to Reflag data efficiently.
Guide to Integrating Model Context Protocol with Reflag Data
Get started with Reflag Remote MCP
The Model Context Protocol (MCP) is an open standard that facilitates seamless integration of AI models with various data sources and tools. In Reflag, MCP enhances your code editor's ability to interpret and manage feature flags, comprehending their states and interconnections within the codebase. This forms an efficient link between feature management workflows and AI-driven development tools. With Reflag hosting the MCP server, getting started is incredibly straightforward.
Using Reflag CLI
To install the MCP into your preferred editor, use the Reflag CLI. This tool will configure your editor and provide agent guidelines, enhancing editor intelligence.
To set up the MCP support, invoke:
npx reflag mcpManual setup
Below are the manual setup steps for some of the popular editors, but there are more MCP-compatible clients. Before you start with the manual setup, you first need the App ID from your app settings page.
Open Cursor.
Go to
Settings > Cursor Settings.Click
MCPandNew MCP Serverand make sure the Reflag MCP server entry is present:
{
"mcpServers": {
"Reflag": {
"url": "https://app.reflag.com/api/mcp"
}
}
}Save, go back to Cursor, and start prompting!
Open VS Code.
Open the command palette, typically
CMD + SHIFT + PorCTRL + SHIFT + P.Type and select
MCP: Add Server....Select
HTTP.Enter
https://app.reflag.com/api/mcpas the URLEnter
Reflagas the server ID.
Start prompting!
Open Cursor Desktop.
Go to
Settings > General > Claude Settings (Configure) > ConnectorsClick Add Custom Connector
Enter "Reflag" as the name and paste the MCP URL in:
https://app.reflag.com/api/mcp
Claude Code
On the command line inside your project directory, enter:
claude mcp add --transport http Reflag https://app.reflag.com/api/mcpStart
claudeand enter/mcpto begin the authentication process
Last updated
Was this helpful?