Skip to main content
Glama

Unleash Feature Flag MCP Server

by ylin6

Unleash Feature Flag MCP Server

This repository contains a Model Context Protocol (MCP) server for interacting with Unleash feature flag management system. It allows AI agents to manage feature flags through the Unleash API.

What is MCP?

The Model Context Protocol (MCP) is a specification for enabling AI models to interact with external tools and data sources. This server implements the MCP protocol for Unleash, allowing AI assistants to manage feature flags programmatically.

Installation

You can install the package from npm:

npm install -g @ylin6/unleash-ff-mcp-server

Or run it directly using npx:

npx @ylin6/unleash-ff-mcp-server

Configuration

The server requires the following environment variables:

  • UNLEASH_API_URL: The URL of your Unleash API instance
  • UNLEASH_AUTH_TOKEN: The authentication token for your Unleash instance

Available Tools

The MCP server provides the following tools for managing feature flags:

Get Projects

Retrieves a list of all projects in the Unleash instance.

Get Features

Retrieves all feature flags within a specific project.

Parameters:

  • projectId: The ID of the project

Create Feature Flag

Creates a new feature flag within a project.

Parameters:

  • projectId: The ID of the project
  • name: The name of the feature flag
  • description: A description of the feature flag
  • type: The type of the feature flag (e.g., "release", "experiment", "operational", "kill-switch")

Update Feature Flag

Updates an existing feature flag.

Parameters:

  • projectId: The ID of the project
  • featureId: The ID of the feature flag
  • description: A new description for the feature flag
  • type: A new type for the feature flag

Get Feature Flag

Retrieves details about a specific feature flag.

Parameters:

  • projectId: The ID of the project
  • featureId: The ID of the feature flag

Using with Cursor

To use this MCP server with Cursor, use the following command in your cursor settings

env UNLEASH_API_URL=XXXX UNLEASH_AUTH_TOKEN=XXX npx -y @ylin6/unleash-ff-mcp-server

Examples

Example conversation with Cursor/Claude:

You: Show me all the feature flags in the 'dashboard' project Claude: I'll fetch all the feature flags in the 'dashboard' project for you. [Claude uses the getFeatures tool with projectId='dashboard'] Claude: Here are all the feature flags in the 'website' project: - new-homepage (type: release) - dark-mode (type: experiment) - beta-footer (type: operational) ...

Development

To inspect the MCP server's operations, you can run:

npm run inspect

This uses the MCP inspector to analyze request/response patterns.

License

ISC

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

An MCP server that allows AI assistants to programmatically manage Unleash feature flags through natural language, enabling operations like creating, updating, and retrieving feature flags across projects.

  1. What is MCP?
    1. Installation
      1. Configuration
        1. Available Tools
          1. Get Projects
          2. Get Features
          3. Create Feature Flag
          4. Update Feature Flag
          5. Get Feature Flag
        2. Using with Cursor
          1. Examples
            1. Development
              1. License

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  A Model Context Protocol server that enables AI assistants to interact with Linear project management systems, allowing users to retrieve, create, and update issues, projects, and teams through natural language.
                  Last updated -
                  32
                  649
                  94
                  TypeScript
                  MIT License
                  • Apple
                • A
                  security
                  F
                  license
                  A
                  quality
                  An MCP server that supercharges AI assistants with powerful tools for software development, enabling research, planning, code generation, and project scaffolding through natural language interaction.
                  Last updated -
                  11
                  61
                  TypeScript
                  • Linux
                  • Apple
                • A
                  security
                  A
                  license
                  A
                  quality
                  A Model Context Protocol (MCP) server implementation that integrates with Unleash Feature Toggle system.
                  Last updated -
                  21
                  0
                  9
                  TypeScript
                  MIT License
                • A
                  security
                  A
                  license
                  A
                  quality
                  A powerful MCP server that provides interactive user feedback and command execution capabilities for AI-assisted development, featuring a graphical interface with text and image support.
                  Last updated -
                  1
                  33
                  Python
                  MIT License

                View all related MCP servers

                MCP directory API

                We provide all the information about MCP servers via our MCP API.

                curl -X GET 'https://glama.ai/api/mcp/v1/servers/ylin6/unleash-ff-mcp-server'

                If you have feedback or need assistance with the MCP directory API, please join our Discord server