Bucket MCP Server

At Bucket, we're on a mission to make feature flagging as frictionless as possible. TL,DR: We're launching the Bucket MCP Server. Start here. Last month, we launched a CLI to remove any friction in creating features and help you maintain type safety. We're also experimenting with a GitHub app to clean up stale flags automatically. 1 Today, we're introducing the Bucket MCP server to enable you to flag features, manage company data, and control feature access from your favorite AI code editor. What's an MCP server? MCP stands for Model Context Protocol. It's an emerging standard that enables AI tools to interact with external data sources — in this case, the Bucket API. MCP servers act as intermediaries, providing structured data to AI applications. Flag features from your AI code editor with Bucket MCP server Bucket MCP lets you flag features, manage company data, and control feature access directly from the chat window in your AI code editor — VS Code, Cursor, Windsurf, Claude Code, or any IDE that has MCP support. Example 1: Add feature flags For example, if you've built a "Download CSV" feature and want to flag it, you no longer have to go to bucket.co or use the CLI to create a feature key. Instead, ask the MCP server to do it for you: "flag the download button with bucket" Bucket MCP will then create a feature key on bucket.co with a relevant name and provide the context needed so your IDE's LLM will flag the feature in the codebase. Example 2: Grant feature access You can also use the Bucket MCP server to grant company segments and individual companies or users access to the feature straight from the chat window. To give "Acme" access, for example, you'd ask something like: "give acme access to the download csv feature" and Bucket will look up the company name and enable the Download CSV feature for it. Getting started with Bucket MCP To get started, follow these steps: Step 1: Install the CLI npm install --save-dev @bucketco/cli npx bucket init Step 2: Start the MCP server npx bucket mcp Step 3: Add the MCP server to your IDE { "mcpServers": { "Bucket feature flag MCP": { "url": "http://localhost:8050/sse" } } } That's it! Read the documentation here for the latest updates and examples of what you can build with Bucket MCP. Happy prompting! Bucket 2025-03 Update — CLI, Type Safety, Toolbar & Launch Week ↩

Apr 9, 2025 - 14:48
 0
Bucket MCP Server

At Bucket, we're on a mission to make feature flagging as frictionless as possible.

TL,DR: We're launching the Bucket MCP Server. Start here.

Last month, we launched a CLI to remove any friction in creating features and help you maintain type safety. We're also experimenting with a GitHub app to clean up stale flags automatically. 1

Today, we're introducing the Bucket MCP server to enable you to flag features, manage company data, and control feature access from your favorite AI code editor.

What's an MCP server?

MCP stands for Model Context Protocol. It's an emerging standard that enables AI tools to interact with external data sources — in this case, the Bucket API. MCP servers act as intermediaries, providing structured data to AI applications.

Flag features from your AI code editor with Bucket MCP server

Bucket MCP lets you flag features, manage company data, and control feature access directly from the chat window in your AI code editor — VS Code, Cursor, Windsurf, Claude Code, or any IDE that has MCP support.

Example 1: Add feature flags

For example, if you've built a "Download CSV" feature and want to flag it, you no longer have to go to bucket.co or use the CLI to create a feature key.

Instead, ask the MCP server to do it for you: "flag the download button with bucket"

Bucket MCP will then create a feature key on bucket.co with a relevant name and provide the context needed so your IDE's LLM will flag the feature in the codebase.

Example 2: Grant feature access

You can also use the Bucket MCP server to grant company segments and individual companies or users access to the feature straight from the chat window.

To give "Acme" access, for example, you'd ask something like: "give acme access to the download csv feature" and Bucket will look up the company name and enable the Download CSV feature for it.

Getting started with Bucket MCP

To get started, follow these steps:

Step 1: Install the CLI

npm install --save-dev @bucketco/cli
npx bucket init

Step 2: Start the MCP server

npx bucket mcp

Step 3: Add the MCP server to your IDE

{
  "mcpServers": {
    "Bucket feature flag MCP": {
      "url": "http://localhost:8050/sse"
    }
  }
}

That's it!

Read the documentation here for the latest updates and examples of what you can build with Bucket MCP.

Happy prompting!

  1. Bucket 2025-03 Update — CLI, Type Safety, Toolbar & Launch Week ↩