Skip to content

Commit 1c4cc6a

Browse files
kdinevCopilot
andauthored
Update build command for MCP in README (#1607)
* Update build command for MCP in README Closes #1599 * Fix remaining build:mcp-bundle references in README Agent-Logs-Url: https://github.com/IgniteUI/igniteui-cli/sessions/d2c42627-5d4b-4634-97f6-66691755a3ff Co-authored-by: kdinev <1472513+kdinev@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: kdinev <1472513+kdinev@users.noreply.github.com>
1 parent c692570 commit 1c4cc6a

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ See the [Contribution guide](https://github.com/IgniteUI/igniteui-cli/blob/maste
205205
npm install
206206
npm run build
207207
cd ../../..
208-
npm run build:mcp-bundle
208+
npm run build:mcp
209209
```
210210
4. Build the monorepo packages: `npm run build`
211211
5. Open in Visual Studio Code
@@ -238,16 +238,14 @@ npm run build:docs:all # Build both
238238

239239
> **Note:** Web Components requires a one-time library build (`npm run build:publish` in the submodule) before TypeDoc can run. The build script handles this automatically.
240240

241-
**Bundle MCP into CLI** (from the repo root):
241+
**Build MCP server** (from the repo root):
242242
```bash
243-
npm run build:mcp-bundle # Copies dist/ and docs/ into packages/cli/mcp/
243+
npm run build:mcp # Compiles MCP server TypeScript and copies SQLite DB into dist/
244244
```
245245

246-
This copies the compiled MCP server, SQLite documentation database, and API reference docs into the CLI package. The `packages/cli/mcp/` directory is a build artifact (gitignored) and must be regenerated before publishing.
247-
248246
**Test the MCP server locally:**
249247
```bash
250-
npm run build:mcp-bundle
248+
npm run build:mcp
251249
npm run build
252250
node packages/cli/lib/cli.js mcp # Start via CLI
253251
# or directly:
@@ -272,7 +270,7 @@ npm run build:docs:all # Init submodules + generate Angular
272270
273271
# 4. Bundle MCP into CLI (from repo root)
274272
cd ../../..
275-
npm run build:mcp-bundle # Copy dist/ + docs/ → packages/cli/mcp/
273+
npm run build:mcp # Build MCP server
276274
277275
# 5. Build all packages for publishing
278276
npm run build-pack

0 commit comments

Comments
 (0)