Commit 705a24a
authored
Update MCP command to use scoped package name (#39)
## Summary
Updates MCP install and config to use the scoped package name
`@nicnocquee/dataqueue` instead of `dataqueue-cli`, so the MCP server
command matches the published package and works correctly when users run
the install flow.
## Important changes
- Default MCP server config now uses `npx @nicnocquee/dataqueue mcp`
instead of `npx dataqueue-cli mcp`
- Success log message after MCP install shows the new command
- Existing MCP configs written by this flow will use the scoped package
name
## Other changes
- Test expectations and fixtures updated to assert the new command in
`install-mcp-command.test.ts`
## How to test
1. From the repo root, run the MCP install (e.g. `npx
@nicnocquee/dataqueue mcp install` or the equivalent entry point).
2. Confirm the generated MCP config (e.g. in `~/.cursor/mcp.json` or the
path you use) has `args: ['@nicnocquee/dataqueue', 'mcp']` for the
dataqueue server.
3. Run `pnpm test` in `packages/dataqueue` and confirm all tests pass.
Co-authored-by: Nico Prananta <311343+nicnocquee@users.noreply.github.com>1 parent 2f54c54 commit 705a24a
2 files changed
Lines changed: 9 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
137 | 140 | | |
138 | 141 | | |
139 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments