Skip to content

Conversation

@davidfirst
Copy link
Member

@davidfirst davidfirst commented May 5, 2025

This PR introduces the Bit CLI MCP Server, a Model Context Protocol (MCP) interface to Bit's command-line functionality. The server enables programmatic access to Bit operations through a standardized protocol, making Bit's capabilities available to AI assistants, VS Code, and custom applications.

Key Features:

  • Exposes Bit CLI commands as MCP tools
  • Default mode with ~20 essential tools for optimal performance
  • Extended mode with access to nearly all Bit CLI commands
  • Flexible configuration with options to include/exclude specific tools
davidfirst added 22 commits May 5, 2025 12:19
…gs to MCP server command for fine-grained tool selection
- Add processSubCommands method to handle nested command structures
- Add registerSubCommandTool for proper sub-command registration
- Improve tool naming by replacing hyphens with underscores
- Add debug logging for better visibility of command registration
- Fix handling of command hierarchies (parent and sub-commands)
Fixed a bug where subcommands like "cli generate" were being passed as a single array element
instead of separate elements. This ensures commands are properly executed with each command part
as its own array element.
@davidfirst davidfirst merged commit 33609b7 into master May 8, 2025
10 checks passed
@davidfirst davidfirst deleted the mcp-server branch May 8, 2025 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants