🤖 fix: xum api projects mcp add without --project-path writes global MCP config
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
- Domain
- cli
Research direction
The payload does not name a file, so start by finding the handler for xum api projects mcp add and how it reads --project-path. Confirm that a missing flag falls through to the global config layer. Add a check that rejects the command with an error when the flag is absent. Done when running the command without --project-path exits with an error and writes nothing to global MCP config.
Written by the indexing model from the issue text.
Description
Summary
xum api projects mcp add without --project-path succeeds. The server it adds is then listed with configLayer: "global". A verifier saw this on main before and after #7855 while testing the CLI against a sandbox server. A user who forgets the flag changes global MCP config instead of getting an error.
Expected
The command refuses a missing --project-path, as the procedure name implies a project scope.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high • Cost: $297.50
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 139
- Avg merge
- 3h 35m
- Merged PRs (30d)
- 950
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from coder/xum
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
riverqueue/river#1576 ·
Maintainers usually reply within 1 day
-
[bug] A prompt queued during a run is assessed without its textPossibly taken @jwiegley claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
DevMortimer/pi-warden#211 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 84/100
mattermost/compass-design#191 ·
Maintainers usually reply within 1 day
-
Add unit tests for the organization admin role checkPossibly taken @SaffuSafwan claimed this today. Openarea/core good first issue help wanted
Difficulty 1/5 Under an hour Newbie friendliness 90/100
elmohq/elmo#1095 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
HorusGoul/trizum#559 · 1 comment ·
Maintainers usually reply within 1 day