by bucketco
Enables SaaS applications to manage feature flags directly within TypeScript code, offering client‑side and server‑side SDKs for React, Vue, browser, Node.js, plus a CLI for type generation and integration with OpenFeature.
Bucket provides a suite of TypeScript/JavaScript SDKs that let developers control feature flag rollout across client‑side frameworks (React, Vue, plain browser) and server‑side environments (Node.js, Cloudflare Workers). It also includes a command‑line interface for generating type definitions and integrates with the OpenFeature standard.
npm install @bucketco/react-sdk
# or using yarn
yarn add @bucketco/react-sdk
import { BucketProvider } from '@bucketco/react-sdk';
const App = () => (
<BucketProvider apiKey="YOUR_API_KEY">
{/* Your app */}
</BucketProvider>
);
const { isEnabled } = useBucket();
const showNewFeature = isEnabled('new-feature-flag');
npm install @bucketco/node-sdk
const { BucketClient } = require('@bucketco/node-sdk');
const client = new BucketClient({ apiKey: process.env.BUCKET_API_KEY });
const isEnabled = await client.isEnabled('server-flag');
npx @bucketco/cli generate-types --output ./types
Q: Do I need a separate package for each framework? A: Yes, each framework (React, Vue, browser, Node) has its own optimized SDK, but they share the same underlying flag definitions.
Q: How are flags updated in real time? A: SDKs maintain a WebSocket/Long‑poll connection to Bucket’s backend, delivering updates instantly to the client.
Q: Can I use Bucket with existing OpenFeature implementations? A: Absolutely. Bucket provides OpenFeature providers for both browser and Node environments, allowing seamless integration.
Q: Is there a free tier? A: Bucket offers a free tier for small projects; consult the Bucket website for current limits.
Q: How do I publish my own changes?
A: Follow the repository’s development workflow: create a branch, run yarn run version
, then open a PR. The CI pipeline publishes the package on merge to main
.
Feature flags for SaaS that run on TypeScript. Learn more and get started
Client side React SDK
Client side Vue SDK
Browser SDK for use in non-React web applications
Node.js SDK for use on the server side. Use this for Cloudflare Workers as well.
CLI to interact with Bucket and generate types
Use Bucket with OpenFeature in the browser through the Bucket OpenFeature Browser Provider
Use the Bucket with OpenFeature on the server in Node.js through the Bucket OpenFeature Node.js Provider
yarn run version
The Github Action will automatically publish any versioned packages when merging to main
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by github
Connects AI tools directly to GitHub, enabling natural‑language interactions for repository browsing, issue and pull‑request management, CI/CD monitoring, code‑security analysis, and team collaboration.
by daytonaio
Provides a secure, elastic infrastructure that creates isolated sandboxes for running AI‑generated code with sub‑90 ms startup, unlimited persistence, and OCI/Docker compatibility.