Bucket (Feature Flagging)
Summary
With Bucket's MCP you can flag features directly from the chat window in your code editor. Whether that’s VS Code, Cursor, Windsurf, Claude Code—any IDE that has MCP support.
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 to do it for you: “flag the download button with bucket.”
You can also use the MCP 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.
To get started, add the Bucket MCP in your IDE.
Available Actions(11)
bucket init
Initialize a new Bucket configuration in your project, creating a 'bucket.config.json' file with your settings. Options: --overwrite (overwrite existing configuration), --app-id <id>, --key-format <format>.
bucket new
All-in-one command to quickly get started with Bucket. Combines initialization, feature creation, and type generation. Options: --key, --app-id, --key-format, --out, --format.
bucket login
Log in to your Bucket account, authenticating the CLI for subsequent operations and storing credentials securely.
bucket logout
Log out from your Bucket account, removing stored credentials.
bucket features create
Create a new feature in your Bucket app, guiding you through the process with interactive prompts. Options: --key, --app-id, --key-format.
bucket features list
List all features for the current app, visualizing available features and their configurations. Options: --app-id.
bucket features types
Generate TypeScript types for your features to ensure type safety in your TypeScript/JavaScript applications. Options: --app-id, --out, --format.
bucket companies list
List all companies in your app, with options to filter by name or ID. Options: --filter, --app-id.
bucket companies features access
Grant or revoke access to specific features for companies, segments, and users. Options: --enable, --disable, --users, --companies, --segments, --app-id.
bucket rules
Set up AI-specific rules for your project to help AI tools better understand and use Bucket feature flags. Options: --format, --yes.
bucket mcp
Configure your editor or AI client to connect with Bucket's remote MCP server, allowing AI tools to understand your feature flags. Options: --app-id, --editor, --scope.
社区评论
暂无评论. 成为第一个评论的人!
登录以参与讨论