Skip to content

feat: basic mcp server using CLI#366

Merged
roncohen merged 18 commits intomainfrom
feat/cli-mcp-server
Mar 26, 2025
Merged

feat: basic mcp server using CLI#366
roncohen merged 18 commits intomainfrom
feat/cli-mcp-server

Conversation

@Swiftwork
Copy link
Contributor

@Swiftwork Swiftwork commented Mar 10, 2025

Screenshot 2025-03-25 at 15 31 42

@Swiftwork Swiftwork self-assigned this Mar 10, 2025
@roncohen roncohen marked this pull request as ready for review March 25, 2025 14:34
Copy link
Contributor

@roncohen roncohen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving to get MCP alpha out.

@roncohen roncohen enabled auto-merge March 26, 2025 09:18
@roncohen roncohen added this pull request to the merge queue Mar 26, 2025
Merged via the queue into main with commit ec60f6b Mar 26, 2025
5 checks passed
@roncohen roncohen deleted the feat/cli-mcp-server branch March 26, 2025 09:30
Comment on lines +143 to +155
To track feature usage, call the \`track\` method on usage:

\`\`\`typescript
import { useFeature } from "@bucketco/react-sdk";

function MyComponent() {
const { isEnabled } = useFeatureFlag("${feature.key}");
if (!isEnabled) {
// feature is disabled
return null;
}
return <button onClick={track}>Start my feature!.</button>;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@roncohen @Swiftwork FYI, this code needs to use the track (i assume you just forgot to update it when copy/pasting above)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was something @roncohen added :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants