developer-tools

OpenFeature MCP Server

open-feature

by open-feature

OpenFeature MCP Server — install OpenFeature SDKs, evaluate feature flags remotely via OFREP, and connect AI clients to

Provides OpenFeature SDK installation guidance for various programming languages and enables feature flag evaluation through the OpenFeature Remote Evaluation Protocol (OFREP). Supports multiple AI clients and can connect to any OFREP-compatible feature flag service.

github stars

3

0 commentsdiscussion

Both formats append explainx.ai attribution and the canonical URL for this MCP server listing.

Works with multiple AI clients (Cursor, Claude Code, VS Code)Vendor-agnostic feature flag evaluationPublished to MCP Registry

best for

  • / Developers using AI assistants for feature flag implementation
  • / Teams migrating to OpenFeature SDK
  • / AI-powered code generation with feature flag support
  • / Integration with existing feature flag management systems

capabilities

  • / Generate SDK installation guidance for multiple programming languages
  • / Evaluate feature flags through OpenFeature Remote Evaluation Protocol
  • / Connect to OFREP-compatible feature flag services
  • / Provide OpenFeature code generation assistance
  • / Bridge AI assistants with feature flag management tools

what it does

Integrates OpenFeature functionality into AI coding assistants, providing SDK installation guidance and feature flag evaluation capabilities. Connects AI assistants to any OFREP-compatible feature flag service.

about

OpenFeature MCP Server is an official MCP server published by open-feature that provides AI assistants with tools and capabilities via the Model Context Protocol. OpenFeature MCP Server — install OpenFeature SDKs, evaluate feature flags remotely via OFREP, and connect AI clients to It is categorized under developer tools.

how to install

You can install OpenFeature MCP Server in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

license

Apache-2.0

OpenFeature MCP Server is released under the Apache-2.0 license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

readme

OpenFeature Logo

OpenFeature MCP

[OpenFeature](https://openfeature.dev) is an open specification that provides a vendor-agnostic, community-driven API for feature flagging that works with your favorite feature flag management tool or in-house solution. ## Overview > **⚠️ Active Development**: This project is in active development. Features and APIs may change. The **OpenFeature Model Context Protocol (MCP) Server** enables AI coding assistants to interact with OpenFeature through a standardized protocol. It provides SDK installation guidance and feature flag evaluation capabilities directly within your AI-powered development environment. The OpenFeature MCP Server is a local tool that connects AI coding assistants (like **Cursor**, **Claude Code**, **VS Code**, and **Windsurf**) to OpenFeature functionality. It acts as a bridge between your AI assistant and OpenFeature capabilities, enabling intelligent code generation and migration, SDK installation guidance, and feature flag evaluation. This server is published to the [MCP Registry](https://registry.modelcontextprotocol.io) under `dev.openfeature/mcp`. > **⚠️ AI Agent Behavior**: AI agents are non-deterministic and may not complete tasks correctly. Always manually review their changes before committing. If you encounter issues, please [open an issue](https://github.com/open-feature/mcp/issues) with details about your AI agent (e.g., Claude Code + Sonnet 4.5, Cursor + gpt-5-codex) with the commands you used and the behavior you saw. ## Quick Start ### NPX Install The easiest way to use the OpenFeature MCP Server is through NPX, which requires no installation: ```json { "mcpServers": { "OpenFeature": { "command": "npx", "args": ["-y", "@openfeature/mcp"] } } } ``` ### NPM Global Install You can install the MCP server globally: ```bash npm install -g @openfeature/mcp ``` Then configure your AI assistant to use the global installation: ```json { "mcpServers": { "OpenFeature": { "command": "openfeature-mcp" } } } ``` ## AI Assistant Configuration ### Cursor 📦 Install in Cursor To open Cursor and automatically add the OpenFeature MCP, click the install button above. Alternatively, navigate to `Cursor Settings` -> `Tools & MCP` -> `New MCP Server` and add to `~/.cursor/mcp_settings.json`: ```json { "mcpServers": { "OpenFeature": { "command": "npx", "args": ["-y", "@openfeature/mcp"] } } } ``` ### VS Code 📦 Install in VS Code To open VS Code and automatically add the OpenFeature MCP, click the install button above. For more details, see the [VS Code MCP documentation](https://code.visualstudio.com/docs/copilot/customization/mcp-servers). Alternatively, add to `.vscode/mcp.json` in your project: ```json { "mcpServers": { "OpenFeature": { "command": "npx", "args": ["-y", "@openfeature/mcp"], "env": { // Optional environment variables "OPENFEATURE_OFREP_BASE_URL": "", "OPENFEATURE_OFREP_API_KEY": "" } } } } ``` ### Claude Code Add the server via the Claude Code CLI: ```bash claude mcp add --transport stdio openfeature npx -y @openfeature/mcp ``` Then manage the connection with `/mcp` in the CLI. ### Windsurf In the `Manage MCP servers` raw config, add: ```json { "mcpServers": { "OpenFeature": { "command": "npx", "args": ["-y", "@openfeature/mcp"] } } } ``` ### Codex CLI Edit `~/.codex/config.toml`: ```toml [mcp_servers.openfeature] command = "npx" args = ["-y", "@openfeature/mcp"] ``` Restart Codex CLI after saving. ### Gemini CLI Edit `~/.gemini/settings.json`: ```json { "mcpServers": { "OpenFeature": { "command": "npx", "args": ["-y", "@openfeature/mcp"] } } } ``` Restart Gemini CLI after saving. ### Claude Desktop Edit your Claude Desktop config at: - **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json` - **Windows**: `%APPDATA%\Claude\claude_desktop_config.json` Add the following configuration: ```json { "mcpServers": { "openfeature": { "command": "npx", "args": ["-y", "@openfeature/mcp"] } } } ``` Restart Claude Desktop after saving. ## Available Tools The OpenFeature MCP Server provides two main tools accessible to AI assistants: ### SDK Installation Guide: `install_openfeature_sdk` Fetches installation instructions for OpenFeature SDKs in various languages and frameworks. Optionally includes provider-specific setup documentation. #### SDK Tool Parameters | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `technology` | string | Yes | Target language/framework (see supported list below) | | `providers` | string[] | No | Provider identifiers to include installation instructions | #### Supported Technologies The technologies list is built from the available `prompts/*.md`, updated automatically using `scripts/build-prompts.js` | Technology | SDK | |------------|-----| | `android` | Android Kotlin SDK | | `dotnet` | .NET SDK | | `go` | Go SDK | | `ios` | iOS Swift SDK | | `java` | Java SDK | | `javascript` | JavaScript Web SDK | | `nestjs` | NestJS SDK | | `nodejs` | Node.js SDK | | `php` | PHP SDK | | `python` | Python SDK | | `react` | React SDK | | `ruby` | Ruby SDK | #### Supported Providers The provider list is automatically sourced from the OpenFeature ecosystem (`open-feature/openfeature.dev` repo). See `scripts/build-providers.js` for details on how the provider list is maintained. ### OFREP Flag Evaluation: `ofrep_flag_eval` Evaluate feature flags using the OpenFeature Remote Evaluation Protocol (OFREP). Supports both single flag and bulk evaluation. #### OFREP Tool Parameters | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `base_url` | string | No | Base URL of your OFREP-compatible flag service | | `flag_key` | string | No | Flag key for single evaluation (omit for bulk) | | `context` | object | No | Evaluation context (e.g., `{ targetingKey: "user-123" }`) | | `etag` | string | No | ETag for bulk evaluation caching | | `auth` | object | No | Authentication configuration | | `auth.bearer_token` | string | No | Bearer token for authorization | | `auth.api_key` | string | No | API key for authorization | #### OFREP Configuration To use OFREP flag evaluation features, configure authentication and endpoint details. The server checks configuration in this priority order: 1. **Environment Variables** - `OPENFEATURE_OFREP_BASE_URL` or `OFREP_BASE_URL` - `OPENFEATURE_OFREP_BEARER_TOKEN` or `OFREP_BEARER_TOKEN` - `OPENFEATURE_OFREP_API_KEY` or `OFREP_API_KEY` 2. **Configuration File**: `~/.openfeature-mcp.json` Example `~/.openfeature-mcp.json`: ```json { "OFREP": { "baseUrl": "https://flags.example.com", "bearerToken": "", "apiKey": "" } } ``` You can override the config file path using the `OPENFEATURE_MCP_CONFIG_PATH` environment variable. > **Note**: All logs are written to stderr. The MCP protocol messages use stdout. ## MCP Usage Examples ### SDK Installation Example > "install the OpenFeature SDK for Node.js with the flagd provider" The AI will use the MCP to fetch relevant installation instructions and attempt to install the OpenFeature SDK with the correct provider. ### Flag Evaluation Example When interacting with your AI assistant: > "Can you check the value of the 'new-checkout-flow' feature flag for 'user-123'?" The AI will use the MCP to evaluate the flag using OFREP and provide you with the result, along with additional metadata like variant and reason. ## Resources - **NPM Package**: [@openfeature/mcp](https://www.npmjs.com/package/@openfeature/mcp) - **MCP Registry**: [dev.openfeature/mcp](https://registry.modelcontextprotocol.io) - **OpenFeature Documentation**: [openfeature.dev](https://openfeature.dev) - **CNCF Slack**: Join [#openfeature](https://cloud-native.slack.com/archives/C0344AANLA1) ## Get Involved The OpenFeature MCP Server is an open-source project maintained by the OpenFeature community. We welcome contributions: - **Report Issues**: [GitHub Issues](https://github.com/open-feature/mcp/issues) - **Contribute Code**: [Contributing Guide](https://github.com/open-feature/mcp/blob/main/CONTRIBUTING.md) - **Suggest Features**: Share ideas in the CNCF Slack [#openfeature](https://cloud-native.slack.com/archives/C0344AANLA1) channel - **Improve Documentation**: Help us improve SDK installation guides and examples Join the [CNCF Slack](https://communityinviter.com/apps/cloud-native/cncf) to get involved.

FAQ

What is the OpenFeature MCP Server MCP server?
OpenFeature MCP Server is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
How do MCP servers relate to agent skills?
Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
How are reviews shown for OpenFeature MCP Server?
This profile displays 32 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.6 out of 5—verify behavior in your own environment before production use.

Use Cases

Extended AI Capabilities

Add new capabilities to Claude beyond text generation

Example

Access external data sources, execute code, interact with tools and services

Transform Claude from chatbot to action-taking agent

Context Enhancement

Provide Claude with access to relevant context and data

Example

Load project documentation, access knowledge bases, query databases

Get more accurate, context-aware responses

Workflow Automation

Automate multi-step workflows combining AI and external tools

Example

Research → Summarize → Create document → Send notification

Complete complex tasks end-to-end without manual steps

Implementation Guide

Prerequisites

  • Claude Desktop 0.7.0+ or Cursor IDE with MCP support
  • Basic understanding of MCP architecture and capabilities
  • Access credentials for integrated services (if required)
  • Willingness to experiment and iterate on configuration

Time Estimate

15-60 minutes depending on server complexity

Installation Steps

  1. 1.Install MCP server: npm install -g [package-name] or via GitHub
  2. 2.Add server configuration to ~/.claude/mcp.json
  3. 3.Provide required credentials and configuration
  4. 4.Restart Claude Desktop to load new server
  5. 5.Test basic functionality with simple prompts
  6. 6.Explore capabilities and experiment with use cases
  7. 7.Document successful patterns for reuse

Troubleshooting

  • MCP server not loading: Check config syntax, verify installation
  • Connection errors: Check network, firewall, credentials
  • Feature not working: Read server docs, check required parameters
  • Performance issues: Monitor resource usage, check for network latency
  • Conflicts with other servers: Check port assignments, namespace collisions

Best Practices

✓ Do

  • +Read server documentation thoroughly before setup
  • +Start with simple use cases to validate functionality
  • +Test in non-production environment first
  • +Monitor resource usage and performance
  • +Keep servers updated for bug fixes and new features
  • +Document configuration for team members
  • +Use environment variables for sensitive configuration

✗ Don't

  • Don't grant overly permissive access to MCP servers
  • Don't skip reading security considerations in docs
  • Don't expose sensitive data without proper controls
  • Don't run untrusted MCP servers without code review
  • Don't ignore error messages—investigate root cause

💡 Pro Tips

  • Combine multiple MCP servers for powerful workflows
  • Create custom MCP servers for your specific needs
  • Share successful configurations with team
  • Use MCP inspector for debugging
  • Join MCP community for tips and troubleshooting

Technical Details

Architecture

Model Context Protocol standardizes how AI hosts (Claude, Cursor) communicate with external tools and data sources through server implementations.

Protocols

  • Model Context Protocol (MCP)
  • JSON-RPC 2.0
  • stdio or HTTP transport

Compatibility

  • Claude Desktop
  • Cursor IDE
  • Custom MCP clients

When to Use This

✓ Use When

Use when you need Claude to access external data, execute actions, or integrate with tools. Best for extending AI capabilities beyond conversation.

✗ Avoid When

Avoid when native integrations exist (use official APIs directly), for real-time critical systems, or when security/compliance requires zero external dependencies.

Integration

  • Tool composition: Chain multiple MCP tools in workflows
  • Context augmentation: Provide AI with relevant external data
  • Action delegation: Let AI execute tasks on external systems
  • Bidirectional sync: Keep AI context and external systems in sync

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.

List & Promote Your MCP Server

Share your MCP server with the developer community

GET_STARTED →
MCP server reviews

Ratings

4.632 reviews
  • Diego Menon· Dec 20, 2024

    We evaluated OpenFeature MCP Server against two servers with overlapping tools; this profile had the clearer scope statement.

  • Shikha Mishra· Dec 8, 2024

    According to our notes, OpenFeature MCP Server benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.

  • Ganesh Mohane· Dec 4, 2024

    We evaluated OpenFeature MCP Server against two servers with overlapping tools; this profile had the clearer scope statement.

  • Yash Thakker· Nov 27, 2024

    We wired OpenFeature MCP Server into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.

  • Dhruvi Jain· Oct 18, 2024

    OpenFeature MCP Server is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.

  • Ava Torres· Sep 25, 2024

    OpenFeature MCP Server reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

  • Ava Iyer· Sep 17, 2024

    Useful MCP listing: OpenFeature MCP Server is the kind of server we cite when onboarding engineers to host + tool permissions.

  • Diego Patel· Aug 16, 2024

    Useful MCP listing: OpenFeature MCP Server is the kind of server we cite when onboarding engineers to host + tool permissions.

  • William Flores· Aug 8, 2024

    OpenFeature MCP Server reduced integration guesswork — categories and install configs on the listing matched the upstream repo.

  • Ren Agarwal· Jul 27, 2024

    I recommend OpenFeature MCP Server for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

showing 1-10 of 32

1 / 4