MCP
Model Context Protocol lets you connect your Large Language Model (LLM) in, for example, your code editor to external data. Follow this guide to connect your editor to your Bucket data.
Get started with Bucket Remote MCP
The Model Context Protocol (MCP) is an open protocol that provides a standardized way to connect AI models to different data sources and tools. In the context of Bucket, MCP enables your code editor to understand your feature flags, their states, and their relationships within your codebase. This creates a seamless bridge between your feature management workflow and AI-powered development tools. Bucket hosts the MCP server, making it very easy to get started!
Set up the MCP connection with the Bucket CLI
Simply run our one-line command in your project directory and select the options that best suit you.
Manual setup
Below are the manual setup steps for some of the popular editors, but there are more MCP-compatible clients. Before you start with the manual setup, you first need the App ID
from your app settings page.
Open Cursor.
Go to
Settings > MCP
.Click
Add new global MCP server
and paste theSTDIO
configure with yourApp ID
:
Save, go back to Cursor, and start prompting!
Open VS Code.
Open the command palette, typically
CMD + SHIFT + P
orCTRL + SHIFT + P
.Type and select
MCP: Add Server...
.Select
Command (stdio)
.Enter
npx mcp-remote@latest https://app.bucket.co/api/mcp?appId=<YOUR APP ID>
as the command, with yourApp ID
.Enter
Bucket
as the server ID.Select either
User Settings
orWorkspace Settings
.
Start prompting!
Open Cursor Desktop.
Go to
Settings > Developer
.Click
Edit Config
, openclaude_desktop_config.json
and paste theSTDIO
configuration with yourApp ID
:
Save, restart Claude Desktop, and start prompting!
Additional notes
MCP is in a very early stage of development, and changes are frequent. If something isn't working, please check out the Model Context Protocol Website, mcp-remote, and open an issue ticket here.
Last updated
Was this helpful?