@teambit/harmony.content.cli-reference 2.0.650 → 2.0.651
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli-reference.docs.mdx +1 -1
- package/cli-reference.json +33 -47
- package/cli-reference.mdx +33 -25
- package/dist/cli-reference.docs.mdx +1 -1
- package/dist/cli-reference.json +33 -47
- package/dist/cli-reference.mdx.js +63 -88
- package/dist/cli-reference.mdx.js.map +1 -1
- package/dist/{preview-1749525637445.js → preview-1749611928464.js} +2 -2
- package/package.json +2 -2
package/cli-reference.docs.mdx
CHANGED
package/cli-reference.json
CHANGED
|
@@ -78,25 +78,10 @@
|
|
|
78
78
|
"name": "mcp-server [sub-command]",
|
|
79
79
|
"alias": "",
|
|
80
80
|
"options": [
|
|
81
|
-
[
|
|
82
|
-
"e",
|
|
83
|
-
"extended",
|
|
84
|
-
"Enable the full set of Bit CLI commands as MCP tools"
|
|
85
|
-
],
|
|
86
|
-
[
|
|
87
|
-
"",
|
|
88
|
-
"include-only <commands>",
|
|
89
|
-
"Specify a subset of commands to expose as MCP tools. Use comma-separated list in quotes, e.g. \"status,install,compile\""
|
|
90
|
-
],
|
|
91
81
|
[
|
|
92
82
|
"",
|
|
93
83
|
"include-additional <commands>",
|
|
94
|
-
"Add specific commands to the default MCP tools set. Use comma-separated list in quotes
|
|
95
|
-
],
|
|
96
|
-
[
|
|
97
|
-
"",
|
|
98
|
-
"exclude <commands>",
|
|
99
|
-
"Prevent specific commands from being exposed as MCP tools. Use comma-separated list in quotes"
|
|
84
|
+
"Add specific commands to the default MCP tools set. Use comma-separated list in quotes"
|
|
100
85
|
],
|
|
101
86
|
[
|
|
102
87
|
"",
|
|
@@ -118,25 +103,10 @@
|
|
|
118
103
|
"name": "start",
|
|
119
104
|
"alias": "",
|
|
120
105
|
"options": [
|
|
121
|
-
[
|
|
122
|
-
"e",
|
|
123
|
-
"extended",
|
|
124
|
-
"Enable the full set of Bit CLI commands as MCP tools"
|
|
125
|
-
],
|
|
126
|
-
[
|
|
127
|
-
"",
|
|
128
|
-
"include-only <commands>",
|
|
129
|
-
"Specify a subset of commands to expose as MCP tools. Use comma-separated list in quotes, e.g. \"status,install,compile\""
|
|
130
|
-
],
|
|
131
106
|
[
|
|
132
107
|
"",
|
|
133
108
|
"include-additional <commands>",
|
|
134
|
-
"Add specific commands to the default MCP tools set. Use comma-separated list in quotes
|
|
135
|
-
],
|
|
136
|
-
[
|
|
137
|
-
"",
|
|
138
|
-
"exclude <commands>",
|
|
139
|
-
"Prevent specific commands from being exposed as MCP tools. Use comma-separated list in quotes"
|
|
109
|
+
"Add specific commands to the default MCP tools set. Use comma-separated list in quotes"
|
|
140
110
|
],
|
|
141
111
|
[
|
|
142
112
|
"",
|
|
@@ -158,31 +128,16 @@
|
|
|
158
128
|
"name": "setup [editor]",
|
|
159
129
|
"alias": "",
|
|
160
130
|
"options": [
|
|
161
|
-
[
|
|
162
|
-
"e",
|
|
163
|
-
"extended",
|
|
164
|
-
"Enable the full set of Bit CLI commands as MCP tools"
|
|
165
|
-
],
|
|
166
131
|
[
|
|
167
132
|
"",
|
|
168
133
|
"consumer-project",
|
|
169
134
|
"Configure for non-Bit workspaces that only consume Bit component packages"
|
|
170
135
|
],
|
|
171
|
-
[
|
|
172
|
-
"",
|
|
173
|
-
"include-only <commands>",
|
|
174
|
-
"Specify a subset of commands to expose as MCP tools. Use comma-separated list in quotes"
|
|
175
|
-
],
|
|
176
136
|
[
|
|
177
137
|
"",
|
|
178
138
|
"include-additional <commands>",
|
|
179
139
|
"Add specific commands to the default MCP tools set. Use comma-separated list in quotes"
|
|
180
140
|
],
|
|
181
|
-
[
|
|
182
|
-
"",
|
|
183
|
-
"exclude <commands>",
|
|
184
|
-
"Prevent specific commands from being exposed as MCP tools. Use comma-separated list in quotes"
|
|
185
|
-
],
|
|
186
141
|
[
|
|
187
142
|
"g",
|
|
188
143
|
"global",
|
|
@@ -199,6 +154,37 @@
|
|
|
199
154
|
"description": "Editor to setup (default: vscode). Available: vscode, cursor, windsurf"
|
|
200
155
|
}
|
|
201
156
|
]
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "rules [editor]",
|
|
160
|
+
"alias": "",
|
|
161
|
+
"options": [
|
|
162
|
+
[
|
|
163
|
+
"g",
|
|
164
|
+
"global",
|
|
165
|
+
"Write rules to global configuration (default: workspace-specific)"
|
|
166
|
+
],
|
|
167
|
+
[
|
|
168
|
+
"p",
|
|
169
|
+
"print",
|
|
170
|
+
"Print rules content to screen instead of writing to file"
|
|
171
|
+
],
|
|
172
|
+
[
|
|
173
|
+
"",
|
|
174
|
+
"consumer-project",
|
|
175
|
+
"Generate rules for consumer projects that only use Bit components as packages"
|
|
176
|
+
]
|
|
177
|
+
],
|
|
178
|
+
"description": "Write Bit MCP rules/instructions file for VS Code, Cursor, or print to screen",
|
|
179
|
+
"extendedDescription": "Creates or updates rules/instructions markdown files to provide AI assistants with guidance on using Bit MCP server. Currently supports VS Code and Cursor. Use --print to display content on screen. Use --consumer-project for non-Bit workspaces that only consume components as packages.",
|
|
180
|
+
"group": "ungrouped",
|
|
181
|
+
"private": false,
|
|
182
|
+
"arguments": [
|
|
183
|
+
{
|
|
184
|
+
"name": "editor",
|
|
185
|
+
"description": "Editor to write rules for (default: vscode). Available: vscode, cursor"
|
|
186
|
+
}
|
|
187
|
+
]
|
|
202
188
|
}
|
|
203
189
|
]
|
|
204
190
|
},
|
package/cli-reference.mdx
CHANGED
|
@@ -1589,14 +1589,11 @@ this command does the following:
|
|
|
1589
1589
|
**Description**: Start the MCP server
|
|
1590
1590
|
Start the Model Context Protocol (MCP) server with the specified configuration
|
|
1591
1591
|
|
|
1592
|
-
| **Option** | **Option alias** | **Description**
|
|
1593
|
-
| --------------------------------- | :--------------: |
|
|
1594
|
-
| `--
|
|
1595
|
-
| `--
|
|
1596
|
-
| `--
|
|
1597
|
-
| `--exclude <commands>` | | Prevent specific commands from being exposed as MCP tools. Use comma-separated list in quotes |
|
|
1598
|
-
| `--bit-bin <binary>` | | Specify the binary to use for running Bit commands (default: "bit") |
|
|
1599
|
-
| `--consumer-project` | | For non-Bit workspaces that only consume Bit component packages. Enables only "schema", "show", and "remote_search" tools |
|
|
1592
|
+
| **Option** | **Option alias** | **Description** |
|
|
1593
|
+
| --------------------------------- | :--------------: | ------------------------------------------------------------------------------------------------------------------------- |
|
|
1594
|
+
| `--include-additional <commands>` | | Add specific commands to the default MCP tools set. Use comma-separated list in quotes |
|
|
1595
|
+
| `--bit-bin <binary>` | | Specify the binary to use for running Bit commands (default: "bit") |
|
|
1596
|
+
| `--consumer-project` | | For non-Bit workspaces that only consume Bit component packages. Enables only "schema", "show", and "remote_search" tools |
|
|
1600
1597
|
|
|
1601
1598
|
### mcp-server setup
|
|
1602
1599
|
|
|
@@ -1609,23 +1606,34 @@ Creates or updates configuration files to integrate Bit MCP server with supporte
|
|
|
1609
1606
|
| -------- | :--------------------------------------------------------------------: |
|
|
1610
1607
|
| `editor` | Editor to setup (default: vscode). Available: vscode, cursor, windsurf |
|
|
1611
1608
|
|
|
1612
|
-
| **Option** | **Option alias** | **Description**
|
|
1613
|
-
| --------------------------------- | :--------------: |
|
|
1614
|
-
| `--
|
|
1615
|
-
| `--
|
|
1616
|
-
| `--
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
|
1626
|
-
|
|
|
1627
|
-
|
|
|
1628
|
-
|
|
1609
|
+
| **Option** | **Option alias** | **Description** |
|
|
1610
|
+
| --------------------------------- | :--------------: | -------------------------------------------------------------------------------------- |
|
|
1611
|
+
| `--consumer-project` | | Configure for non-Bit workspaces that only consume Bit component packages |
|
|
1612
|
+
| `--include-additional <commands>` | | Add specific commands to the default MCP tools set. Use comma-separated list in quotes |
|
|
1613
|
+
| `--global` | `-g` | Setup global configuration (default: workspace-specific) |
|
|
1614
|
+
|
|
1615
|
+
### mcp-server rules
|
|
1616
|
+
|
|
1617
|
+
**Usage**: `mcp-server rules [editor]`
|
|
1618
|
+
|
|
1619
|
+
**Description**: Write Bit MCP rules/instructions file for VS Code, Cursor, or print to screen
|
|
1620
|
+
Creates or updates rules/instructions markdown files to provide AI assistants with guidance on using Bit MCP server. Currently supports VS Code and Cursor. Use --print to display content on screen. Use --consumer-project for non-Bit workspaces that only consume components as packages.
|
|
1621
|
+
|
|
1622
|
+
| **Arg** | **Description** |
|
|
1623
|
+
| -------- | :--------------------------------------------------------------------: |
|
|
1624
|
+
| `editor` | Editor to write rules for (default: vscode). Available: vscode, cursor |
|
|
1625
|
+
|
|
1626
|
+
| **Option** | **Option alias** | **Description** |
|
|
1627
|
+
| -------------------- | :--------------: | ----------------------------------------------------------------------------- |
|
|
1628
|
+
| `--global` | `-g` | Write rules to global configuration (default: workspace-specific) |
|
|
1629
|
+
| `--print` | `-p` | Print rules content to screen instead of writing to file |
|
|
1630
|
+
| `--consumer-project` | | Generate rules for consumer projects that only use Bit components as packages |
|
|
1631
|
+
|
|
1632
|
+
| **Option** | **Option alias** | **Description** |
|
|
1633
|
+
| --------------------------------- | :--------------: | ------------------------------------------------------------------------------------------------------------------------- |
|
|
1634
|
+
| `--include-additional <commands>` | | Add specific commands to the default MCP tools set. Use comma-separated list in quotes |
|
|
1635
|
+
| `--bit-bin <binary>` | | Specify the binary to use for running Bit commands (default: "bit") |
|
|
1636
|
+
| `--consumer-project` | | For non-Bit workspaces that only consume Bit component packages. Enables only "schema", "show", and "remote_search" tools |
|
|
1629
1637
|
|
|
1630
1638
|
---
|
|
1631
1639
|
|
package/dist/cli-reference.json
CHANGED
|
@@ -78,25 +78,10 @@
|
|
|
78
78
|
"name": "mcp-server [sub-command]",
|
|
79
79
|
"alias": "",
|
|
80
80
|
"options": [
|
|
81
|
-
[
|
|
82
|
-
"e",
|
|
83
|
-
"extended",
|
|
84
|
-
"Enable the full set of Bit CLI commands as MCP tools"
|
|
85
|
-
],
|
|
86
|
-
[
|
|
87
|
-
"",
|
|
88
|
-
"include-only <commands>",
|
|
89
|
-
"Specify a subset of commands to expose as MCP tools. Use comma-separated list in quotes, e.g. \"status,install,compile\""
|
|
90
|
-
],
|
|
91
81
|
[
|
|
92
82
|
"",
|
|
93
83
|
"include-additional <commands>",
|
|
94
|
-
"Add specific commands to the default MCP tools set. Use comma-separated list in quotes
|
|
95
|
-
],
|
|
96
|
-
[
|
|
97
|
-
"",
|
|
98
|
-
"exclude <commands>",
|
|
99
|
-
"Prevent specific commands from being exposed as MCP tools. Use comma-separated list in quotes"
|
|
84
|
+
"Add specific commands to the default MCP tools set. Use comma-separated list in quotes"
|
|
100
85
|
],
|
|
101
86
|
[
|
|
102
87
|
"",
|
|
@@ -118,25 +103,10 @@
|
|
|
118
103
|
"name": "start",
|
|
119
104
|
"alias": "",
|
|
120
105
|
"options": [
|
|
121
|
-
[
|
|
122
|
-
"e",
|
|
123
|
-
"extended",
|
|
124
|
-
"Enable the full set of Bit CLI commands as MCP tools"
|
|
125
|
-
],
|
|
126
|
-
[
|
|
127
|
-
"",
|
|
128
|
-
"include-only <commands>",
|
|
129
|
-
"Specify a subset of commands to expose as MCP tools. Use comma-separated list in quotes, e.g. \"status,install,compile\""
|
|
130
|
-
],
|
|
131
106
|
[
|
|
132
107
|
"",
|
|
133
108
|
"include-additional <commands>",
|
|
134
|
-
"Add specific commands to the default MCP tools set. Use comma-separated list in quotes
|
|
135
|
-
],
|
|
136
|
-
[
|
|
137
|
-
"",
|
|
138
|
-
"exclude <commands>",
|
|
139
|
-
"Prevent specific commands from being exposed as MCP tools. Use comma-separated list in quotes"
|
|
109
|
+
"Add specific commands to the default MCP tools set. Use comma-separated list in quotes"
|
|
140
110
|
],
|
|
141
111
|
[
|
|
142
112
|
"",
|
|
@@ -158,31 +128,16 @@
|
|
|
158
128
|
"name": "setup [editor]",
|
|
159
129
|
"alias": "",
|
|
160
130
|
"options": [
|
|
161
|
-
[
|
|
162
|
-
"e",
|
|
163
|
-
"extended",
|
|
164
|
-
"Enable the full set of Bit CLI commands as MCP tools"
|
|
165
|
-
],
|
|
166
131
|
[
|
|
167
132
|
"",
|
|
168
133
|
"consumer-project",
|
|
169
134
|
"Configure for non-Bit workspaces that only consume Bit component packages"
|
|
170
135
|
],
|
|
171
|
-
[
|
|
172
|
-
"",
|
|
173
|
-
"include-only <commands>",
|
|
174
|
-
"Specify a subset of commands to expose as MCP tools. Use comma-separated list in quotes"
|
|
175
|
-
],
|
|
176
136
|
[
|
|
177
137
|
"",
|
|
178
138
|
"include-additional <commands>",
|
|
179
139
|
"Add specific commands to the default MCP tools set. Use comma-separated list in quotes"
|
|
180
140
|
],
|
|
181
|
-
[
|
|
182
|
-
"",
|
|
183
|
-
"exclude <commands>",
|
|
184
|
-
"Prevent specific commands from being exposed as MCP tools. Use comma-separated list in quotes"
|
|
185
|
-
],
|
|
186
141
|
[
|
|
187
142
|
"g",
|
|
188
143
|
"global",
|
|
@@ -199,6 +154,37 @@
|
|
|
199
154
|
"description": "Editor to setup (default: vscode). Available: vscode, cursor, windsurf"
|
|
200
155
|
}
|
|
201
156
|
]
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"name": "rules [editor]",
|
|
160
|
+
"alias": "",
|
|
161
|
+
"options": [
|
|
162
|
+
[
|
|
163
|
+
"g",
|
|
164
|
+
"global",
|
|
165
|
+
"Write rules to global configuration (default: workspace-specific)"
|
|
166
|
+
],
|
|
167
|
+
[
|
|
168
|
+
"p",
|
|
169
|
+
"print",
|
|
170
|
+
"Print rules content to screen instead of writing to file"
|
|
171
|
+
],
|
|
172
|
+
[
|
|
173
|
+
"",
|
|
174
|
+
"consumer-project",
|
|
175
|
+
"Generate rules for consumer projects that only use Bit components as packages"
|
|
176
|
+
]
|
|
177
|
+
],
|
|
178
|
+
"description": "Write Bit MCP rules/instructions file for VS Code, Cursor, or print to screen",
|
|
179
|
+
"extendedDescription": "Creates or updates rules/instructions markdown files to provide AI assistants with guidance on using Bit MCP server. Currently supports VS Code and Cursor. Use --print to display content on screen. Use --consumer-project for non-Bit workspaces that only consume components as packages.",
|
|
180
|
+
"group": "ungrouped",
|
|
181
|
+
"private": false,
|
|
182
|
+
"arguments": [
|
|
183
|
+
{
|
|
184
|
+
"name": "editor",
|
|
185
|
+
"description": "Editor to write rules for (default: vscode). Available: vscode, cursor"
|
|
186
|
+
}
|
|
187
|
+
]
|
|
202
188
|
}
|
|
203
189
|
]
|
|
204
190
|
},
|
|
@@ -8551,54 +8551,13 @@ function MDXContent(_ref) {
|
|
|
8551
8551
|
"align": null
|
|
8552
8552
|
}, (0, _react2.mdx)("inlineCode", {
|
|
8553
8553
|
parentName: "td"
|
|
8554
|
-
}, "--extended")), (0, _react2.mdx)("td", {
|
|
8555
|
-
parentName: "tr",
|
|
8556
|
-
"align": "center"
|
|
8557
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
8558
|
-
parentName: "td"
|
|
8559
|
-
}, "-e")), (0, _react2.mdx)("td", {
|
|
8560
|
-
parentName: "tr",
|
|
8561
|
-
"align": null
|
|
8562
|
-
}, "Enable the full set of Bit CLI commands as MCP tools")), (0, _react2.mdx)("tr", {
|
|
8563
|
-
parentName: "tbody"
|
|
8564
|
-
}, (0, _react2.mdx)("td", {
|
|
8565
|
-
parentName: "tr",
|
|
8566
|
-
"align": null
|
|
8567
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
8568
|
-
parentName: "td"
|
|
8569
|
-
}, "--include-only <commands>")), (0, _react2.mdx)("td", {
|
|
8570
|
-
parentName: "tr",
|
|
8571
|
-
"align": "center"
|
|
8572
|
-
}), (0, _react2.mdx)("td", {
|
|
8573
|
-
parentName: "tr",
|
|
8574
|
-
"align": null
|
|
8575
|
-
}, "Specify a subset of commands to expose as MCP tools. Use comma-separated list in quotes, e.g. \"status,install,compile\"")), (0, _react2.mdx)("tr", {
|
|
8576
|
-
parentName: "tbody"
|
|
8577
|
-
}, (0, _react2.mdx)("td", {
|
|
8578
|
-
parentName: "tr",
|
|
8579
|
-
"align": null
|
|
8580
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
8581
|
-
parentName: "td"
|
|
8582
8554
|
}, "--include-additional <commands>")), (0, _react2.mdx)("td", {
|
|
8583
8555
|
parentName: "tr",
|
|
8584
8556
|
"align": "center"
|
|
8585
8557
|
}), (0, _react2.mdx)("td", {
|
|
8586
8558
|
parentName: "tr",
|
|
8587
8559
|
"align": null
|
|
8588
|
-
}, "Add specific commands to the default MCP tools set. Use comma-separated list in quotes
|
|
8589
|
-
parentName: "tbody"
|
|
8590
|
-
}, (0, _react2.mdx)("td", {
|
|
8591
|
-
parentName: "tr",
|
|
8592
|
-
"align": null
|
|
8593
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
8594
|
-
parentName: "td"
|
|
8595
|
-
}, "--exclude <commands>")), (0, _react2.mdx)("td", {
|
|
8596
|
-
parentName: "tr",
|
|
8597
|
-
"align": "center"
|
|
8598
|
-
}), (0, _react2.mdx)("td", {
|
|
8599
|
-
parentName: "tr",
|
|
8600
|
-
"align": null
|
|
8601
|
-
}, "Prevent specific commands from being exposed as MCP tools. Use comma-separated list in quotes")), (0, _react2.mdx)("tr", {
|
|
8560
|
+
}, "Add specific commands to the default MCP tools set. Use comma-separated list in quotes")), (0, _react2.mdx)("tr", {
|
|
8602
8561
|
parentName: "tbody"
|
|
8603
8562
|
}, (0, _react2.mdx)("td", {
|
|
8604
8563
|
parentName: "tr",
|
|
@@ -8686,21 +8645,6 @@ function MDXContent(_ref) {
|
|
|
8686
8645
|
"align": null
|
|
8687
8646
|
}, (0, _react2.mdx)("inlineCode", {
|
|
8688
8647
|
parentName: "td"
|
|
8689
|
-
}, "--extended")), (0, _react2.mdx)("td", {
|
|
8690
|
-
parentName: "tr",
|
|
8691
|
-
"align": "center"
|
|
8692
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
8693
|
-
parentName: "td"
|
|
8694
|
-
}, "-e")), (0, _react2.mdx)("td", {
|
|
8695
|
-
parentName: "tr",
|
|
8696
|
-
"align": null
|
|
8697
|
-
}, "Enable the full set of Bit CLI commands as MCP tools")), (0, _react2.mdx)("tr", {
|
|
8698
|
-
parentName: "tbody"
|
|
8699
|
-
}, (0, _react2.mdx)("td", {
|
|
8700
|
-
parentName: "tr",
|
|
8701
|
-
"align": null
|
|
8702
|
-
}, (0, _react2.mdx)("inlineCode", {
|
|
8703
|
-
parentName: "td"
|
|
8704
8648
|
}, "--consumer-project")), (0, _react2.mdx)("td", {
|
|
8705
8649
|
parentName: "tr",
|
|
8706
8650
|
"align": "center"
|
|
@@ -8714,54 +8658,62 @@ function MDXContent(_ref) {
|
|
|
8714
8658
|
"align": null
|
|
8715
8659
|
}, (0, _react2.mdx)("inlineCode", {
|
|
8716
8660
|
parentName: "td"
|
|
8717
|
-
}, "--include-
|
|
8661
|
+
}, "--include-additional <commands>")), (0, _react2.mdx)("td", {
|
|
8718
8662
|
parentName: "tr",
|
|
8719
8663
|
"align": "center"
|
|
8720
8664
|
}), (0, _react2.mdx)("td", {
|
|
8721
8665
|
parentName: "tr",
|
|
8722
8666
|
"align": null
|
|
8723
|
-
}, "
|
|
8667
|
+
}, "Add specific commands to the default MCP tools set. Use comma-separated list in quotes")), (0, _react2.mdx)("tr", {
|
|
8724
8668
|
parentName: "tbody"
|
|
8725
8669
|
}, (0, _react2.mdx)("td", {
|
|
8726
8670
|
parentName: "tr",
|
|
8727
8671
|
"align": null
|
|
8728
8672
|
}, (0, _react2.mdx)("inlineCode", {
|
|
8729
8673
|
parentName: "td"
|
|
8730
|
-
}, "--
|
|
8674
|
+
}, "--global")), (0, _react2.mdx)("td", {
|
|
8731
8675
|
parentName: "tr",
|
|
8732
8676
|
"align": "center"
|
|
8733
|
-
}
|
|
8677
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
8678
|
+
parentName: "td"
|
|
8679
|
+
}, "-g")), (0, _react2.mdx)("td", {
|
|
8734
8680
|
parentName: "tr",
|
|
8735
8681
|
"align": null
|
|
8736
|
-
}, "
|
|
8737
|
-
parentName: "
|
|
8738
|
-
}, (0, _react2.mdx)("
|
|
8682
|
+
}, "Setup global configuration (default: workspace-specific)")))), (0, _react2.mdx)("h3", null, "mcp-server rules"), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
8683
|
+
parentName: "p"
|
|
8684
|
+
}, "Usage"), ": ", (0, _react2.mdx)("inlineCode", {
|
|
8685
|
+
parentName: "p"
|
|
8686
|
+
}, "mcp-server rules [editor]")), (0, _react2.mdx)("p", null, (0, _react2.mdx)("strong", {
|
|
8687
|
+
parentName: "p"
|
|
8688
|
+
}, "Description"), ": Write Bit MCP rules/instructions file for VS Code, Cursor, or print to screen", (0, _react2.mdx)("br", {
|
|
8689
|
+
parentName: "p"
|
|
8690
|
+
}), "\n", "Creates or updates rules/instructions markdown files to provide AI assistants with guidance on using Bit MCP server. Currently supports VS Code and Cursor. Use --print to display content on screen. Use --consumer-project for non-Bit workspaces that only consume components as packages."), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
8691
|
+
parentName: "table"
|
|
8692
|
+
}, (0, _react2.mdx)("tr", {
|
|
8693
|
+
parentName: "thead"
|
|
8694
|
+
}, (0, _react2.mdx)("th", {
|
|
8739
8695
|
parentName: "tr",
|
|
8740
8696
|
"align": null
|
|
8741
|
-
}, (0, _react2.mdx)("
|
|
8742
|
-
parentName: "
|
|
8743
|
-
}, "
|
|
8697
|
+
}, (0, _react2.mdx)("strong", {
|
|
8698
|
+
parentName: "th"
|
|
8699
|
+
}, "Arg")), (0, _react2.mdx)("th", {
|
|
8744
8700
|
parentName: "tr",
|
|
8745
8701
|
"align": "center"
|
|
8746
|
-
}
|
|
8747
|
-
parentName: "
|
|
8748
|
-
|
|
8749
|
-
|
|
8702
|
+
}, (0, _react2.mdx)("strong", {
|
|
8703
|
+
parentName: "th"
|
|
8704
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
8705
|
+
parentName: "table"
|
|
8706
|
+
}, (0, _react2.mdx)("tr", {
|
|
8750
8707
|
parentName: "tbody"
|
|
8751
8708
|
}, (0, _react2.mdx)("td", {
|
|
8752
8709
|
parentName: "tr",
|
|
8753
8710
|
"align": null
|
|
8754
8711
|
}, (0, _react2.mdx)("inlineCode", {
|
|
8755
8712
|
parentName: "td"
|
|
8756
|
-
}, "
|
|
8713
|
+
}, "editor")), (0, _react2.mdx)("td", {
|
|
8757
8714
|
parentName: "tr",
|
|
8758
8715
|
"align": "center"
|
|
8759
|
-
}, (0, _react2.mdx)("
|
|
8760
|
-
parentName: "td"
|
|
8761
|
-
}, "-g")), (0, _react2.mdx)("td", {
|
|
8762
|
-
parentName: "tr",
|
|
8763
|
-
"align": null
|
|
8764
|
-
}, "Setup global configuration (default: workspace-specific)")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
8716
|
+
}, "Editor to write rules for (default: vscode). Available: vscode, cursor")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
8765
8717
|
parentName: "table"
|
|
8766
8718
|
}, (0, _react2.mdx)("tr", {
|
|
8767
8719
|
parentName: "thead"
|
|
@@ -8789,54 +8741,77 @@ function MDXContent(_ref) {
|
|
|
8789
8741
|
"align": null
|
|
8790
8742
|
}, (0, _react2.mdx)("inlineCode", {
|
|
8791
8743
|
parentName: "td"
|
|
8792
|
-
}, "--
|
|
8744
|
+
}, "--global")), (0, _react2.mdx)("td", {
|
|
8793
8745
|
parentName: "tr",
|
|
8794
8746
|
"align": "center"
|
|
8795
8747
|
}, (0, _react2.mdx)("inlineCode", {
|
|
8796
8748
|
parentName: "td"
|
|
8797
|
-
}, "-
|
|
8749
|
+
}, "-g")), (0, _react2.mdx)("td", {
|
|
8798
8750
|
parentName: "tr",
|
|
8799
8751
|
"align": null
|
|
8800
|
-
}, "
|
|
8752
|
+
}, "Write rules to global configuration (default: workspace-specific)")), (0, _react2.mdx)("tr", {
|
|
8801
8753
|
parentName: "tbody"
|
|
8802
8754
|
}, (0, _react2.mdx)("td", {
|
|
8803
8755
|
parentName: "tr",
|
|
8804
8756
|
"align": null
|
|
8805
8757
|
}, (0, _react2.mdx)("inlineCode", {
|
|
8806
8758
|
parentName: "td"
|
|
8807
|
-
}, "--
|
|
8759
|
+
}, "--print")), (0, _react2.mdx)("td", {
|
|
8808
8760
|
parentName: "tr",
|
|
8809
8761
|
"align": "center"
|
|
8810
|
-
}
|
|
8762
|
+
}, (0, _react2.mdx)("inlineCode", {
|
|
8763
|
+
parentName: "td"
|
|
8764
|
+
}, "-p")), (0, _react2.mdx)("td", {
|
|
8811
8765
|
parentName: "tr",
|
|
8812
8766
|
"align": null
|
|
8813
|
-
}, "
|
|
8767
|
+
}, "Print rules content to screen instead of writing to file")), (0, _react2.mdx)("tr", {
|
|
8814
8768
|
parentName: "tbody"
|
|
8815
8769
|
}, (0, _react2.mdx)("td", {
|
|
8816
8770
|
parentName: "tr",
|
|
8817
8771
|
"align": null
|
|
8818
8772
|
}, (0, _react2.mdx)("inlineCode", {
|
|
8819
8773
|
parentName: "td"
|
|
8820
|
-
}, "--
|
|
8774
|
+
}, "--consumer-project")), (0, _react2.mdx)("td", {
|
|
8821
8775
|
parentName: "tr",
|
|
8822
8776
|
"align": "center"
|
|
8823
8777
|
}), (0, _react2.mdx)("td", {
|
|
8824
8778
|
parentName: "tr",
|
|
8825
8779
|
"align": null
|
|
8826
|
-
}, "
|
|
8780
|
+
}, "Generate rules for consumer projects that only use Bit components as packages")))), (0, _react2.mdx)("table", null, (0, _react2.mdx)("thead", {
|
|
8781
|
+
parentName: "table"
|
|
8782
|
+
}, (0, _react2.mdx)("tr", {
|
|
8783
|
+
parentName: "thead"
|
|
8784
|
+
}, (0, _react2.mdx)("th", {
|
|
8785
|
+
parentName: "tr",
|
|
8786
|
+
"align": null
|
|
8787
|
+
}, (0, _react2.mdx)("strong", {
|
|
8788
|
+
parentName: "th"
|
|
8789
|
+
}, "Option")), (0, _react2.mdx)("th", {
|
|
8790
|
+
parentName: "tr",
|
|
8791
|
+
"align": "center"
|
|
8792
|
+
}, (0, _react2.mdx)("strong", {
|
|
8793
|
+
parentName: "th"
|
|
8794
|
+
}, "Option alias")), (0, _react2.mdx)("th", {
|
|
8795
|
+
parentName: "tr",
|
|
8796
|
+
"align": null
|
|
8797
|
+
}, (0, _react2.mdx)("strong", {
|
|
8798
|
+
parentName: "th"
|
|
8799
|
+
}, "Description")))), (0, _react2.mdx)("tbody", {
|
|
8800
|
+
parentName: "table"
|
|
8801
|
+
}, (0, _react2.mdx)("tr", {
|
|
8827
8802
|
parentName: "tbody"
|
|
8828
8803
|
}, (0, _react2.mdx)("td", {
|
|
8829
8804
|
parentName: "tr",
|
|
8830
8805
|
"align": null
|
|
8831
8806
|
}, (0, _react2.mdx)("inlineCode", {
|
|
8832
8807
|
parentName: "td"
|
|
8833
|
-
}, "--
|
|
8808
|
+
}, "--include-additional <commands>")), (0, _react2.mdx)("td", {
|
|
8834
8809
|
parentName: "tr",
|
|
8835
8810
|
"align": "center"
|
|
8836
8811
|
}), (0, _react2.mdx)("td", {
|
|
8837
8812
|
parentName: "tr",
|
|
8838
8813
|
"align": null
|
|
8839
|
-
}, "
|
|
8814
|
+
}, "Add specific commands to the default MCP tools set. Use comma-separated list in quotes")), (0, _react2.mdx)("tr", {
|
|
8840
8815
|
parentName: "tbody"
|
|
8841
8816
|
}, (0, _react2.mdx)("td", {
|
|
8842
8817
|
parentName: "tr",
|