Overview
The Unleash Feature Flag MCP Server is a Model Context Protocol (MCP) server designed for managing feature flags through the Unleash API, enabling AI agents to programmatically control feature flags.
To use the server, install it via npm or run it directly using npx. Configure it with the necessary environment variables for the Unleash API URL and authentication token.
- Manage feature flags programmatically using the Unleash API. - Retrieve projects and feature flags easily. - Create and update feature flags with specific parameters.
- Automating feature flag management in software development.
- Integrating with AI assistants to fetch and manipulate feature flags.
- Streamlining the deployment process by controlling feature visibility.
Add to your AI client
Use these steps to connect Unleash Feature Flag MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"unleash-ff-mcp-server-ylin6": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-unleash-ff-mcp-server-ylin6"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"unleash-ff-mcp-server-ylin6": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-unleash-ff-mcp-server-ylin6"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"unleash-ff-mcp-server-ylin6": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-unleash-ff-mcp-server-ylin6"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"unleash-ff-mcp-server-ylin6": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-unleash-ff-mcp-server-ylin6"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"unleash-ff-mcp-server-ylin6": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-unleash-ff-mcp-server-ylin6"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"unleash-ff-mcp-server-ylin6": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-unleash-ff-mcp-server-ylin6"
]
}
}
}FAQ
What is the MCP protocol?
The Model Context Protocol (MCP) allows AI models to interact with external tools and data sources.
How do I install the server?
You can install it using npm or run it directly with npx.
What environment variables are required?
You need to set `UNLEASH_API_URL` and `UNLEASH_AUTH_TOKEN` for configuration.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2328,"uuid":"e1d30a8c-27c4-49b8-8ec9-684131616650","name":"unleash-ff-mcp-server","title":"Unleash Feature Flag MCP Server","description":"Unleash MCP Server","avatar_url":"https://avatars.githubusercontent.com/u/6261646?v=4","created_at":"$D2025-03-10T15:21:11.215Z","updated_at":"$D2025-03-18T14:05:53.339Z","status":"created","author_name":"ylin6","author_avatar_url":"https://avatars.githubusercontent.com/u/6261646?v=4","tags":"unleash,feature-flag,mcp-server","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/ylin6/unleash-ff-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"2\",\"license\":\"\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-10 09:04:29\"}","user_uuid":"d69edac8-4fc9-4729-9e42-5bc6c83738a0","tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]