FFS MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add -e "FFS_BASE_URL=${FFS_BASE_URL}" -e "FFS_RC_API_URL=${FFS_RC_API_URL}" -e "FFS_RC_CLIENT_CREDENTIALS=${FFS_RC_CLIENT_CREDENTIALS}" ffs-mcp-server -- npx @xcodeyang/ffs-mcp-server
Required:FFS_BASE_URLFFS_RC_API_URLFFS_RC_CLIENT_CREDENTIALS
README.md

MCP server for managing RingCentral's Feature Flag Service (FFS)

FFS MCP Server

MCP (Model Context Protocol) Server for managing FFS (Feature Flag Service).

Features

  • 🔐 ffs_get_user_info: Get AccountId and ExtensionId from RingCentral credentials
  • 🔍 ffs_search_flag: Search for FFS flags by keyword
  • 📋 ffs_get_flag_options: Get all available options for a Flag
  • ffs_check_account: Check account status in a Flag
  • ✏️ ffs_update_account: Update account's Flag value

Configuration

The server requires the following environment variables:

Variable Description Required
FFS_BASE_URL FFS API base URL
FFS_RC_API_URL RingCentral API URL
FFS_RC_CLIENT_CREDENTIALS Base64 encoded client credentials

Usage with npx (Recommended)

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "ffs": {
      "command": "npx",
      "args": ["@xcodeyang/ffs-mcp-server"],
      "env": {
        "FFS_BASE_URL": "http://your-ffs-server:8080",
        "FFS_RC_API_URL": "https://your-rc-api-server",
        "FFS_RC_CLIENT_CREDENTIALS": "your-base64-credentials"
      }
    }
  }
}

Augment (VS Code)

{
  "augment.advanced": {
    "mcpServers": [
      {
        "name": "ffs",
        "command": "npx",
        "args": ["@xcodeyang/ffs-mcp-server"],
        "env": {
          "FFS_BASE_URL": "http://your-ffs-server:8080",
          "FFS_RC_API_URL": "https://your-rc-api-server",
          "FFS_RC_CLIENT_CREDENTIALS": "your-base64-credentials"
        }
      }
    ]
  }
}

Publishing

# Build first
npm run build

# Publish to RingCentral Nexus registry
npm publish

Tools

ffs_get_user_info

Get AccountId and ExtensionId from RingCentral credentials.

Input:

  • username: RingCentral user email
  • password: RingCentral password

Output:

  • accountId: Company-level ID (affects all users in the company)
  • extensionId: User-level ID (affects only this user)

ffs_search_flag

Search for FFS flags by keyword.

Input:

  • keyword: Search keyword or complete Flag ID

ffs_get_flag_options

Get all available options for a Flag.

Input:

  • flagId: Complete FFS Flag ID

Output:

  • List of options with valueId (needed for updates)

ffs_check_account

Check account status in a Flag.

Input:

  • flagId: Complete FFS Flag ID
  • id: AccountId or ExtensionId

ffs_update_account

Update account's Flag value using MCP Auto Condition.

Input:

  • flagId: Complete FFS Flag ID
  • id: AccountId or ExtensionId
  • targetValueId: Value ID from ffs_get_flag_options

Development

# Run in development mode
npm run dev

# Build
npm run build

# Test tools
npx tsx test-tools.ts

Tools (5)

ffs_get_user_infoGet AccountId and ExtensionId from RingCentral credentials.
ffs_search_flagSearch for FFS flags by keyword.
ffs_get_flag_optionsGet all available options for a Flag.
ffs_check_accountCheck account status in a Flag.
ffs_update_accountUpdate account's Flag value using MCP Auto Condition.

Environment Variables

FFS_BASE_URLrequiredFFS API base URL
FFS_RC_API_URLrequiredRingCentral API URL
FFS_RC_CLIENT_CREDENTIALSrequiredBase64 encoded client credentials

Configuration

claude_desktop_config.json
{"mcpServers": {"ffs": {"command": "npx", "args": ["@xcodeyang/ffs-mcp-server"], "env": {"FFS_BASE_URL": "http://your-ffs-server:8080", "FFS_RC_API_URL": "https://your-rc-api-server", "FFS_RC_CLIENT_CREDENTIALS": "your-base64-credentials"}}}}

Try it

Search for all feature flags related to 'beta-testing'.
Check the current status of account 12345 for the flag 'new-ui-feature'.
Get the available options for flag 'experimental-api-v2'.
Update account 54321 to use the 'enabled' value for flag 'new-ui-feature'.

Frequently Asked Questions

What are the key features of FFS MCP Server?

Retrieve RingCentral AccountId and ExtensionId from credentials. Search for feature flags by keyword or ID. List available configuration options for specific flags. Check current flag status for specific accounts or extensions. Update account-level flag values.

What can I use FFS MCP Server for?

Automating feature flag toggles for QA testing environments. Quickly auditing which accounts have specific features enabled. Managing feature rollouts for specific RingCentral extensions. Integrating feature flag management into developer workflows.

How do I install FFS MCP Server?

Install FFS MCP Server by running: npx @xcodeyang/ffs-mcp-server

What MCP clients work with FFS MCP Server?

FFS MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep FFS MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare