Add 'sentry mcp' subcommand to run MCP server in stdio mode
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- authentication, cli
Research direction
Start by inspecting the existing sentry subcommand entry points and auth stack used by sentry login, including resolution of stored credentials and SENTRY_AUTH_TOKEN. Determine whether to depend on or exec sentry-mcp; done means sentry mcp launches it in stdio mode and supports the shown MCP client configuration without manual token setup.
Written by the indexing model from the issue text.
Description
Add a sentry mcp subcommand that launches the sentry-mcp server in stdio mode, automatically binding the access token from the CLI's existing auth stack — no manual token configuration required.
Current behavior
Users must run sentry-mcp as a separate tool and manually supply an access token. There's no path to launch the MCP server with credentials already managed by the CLI.
Gap
- MCP clients (Claude, Cursor, etc.) need a single shell command to wire up the Sentry MCP server. Wrapping it as
sentry mcpgives users a zero-config entry point that reuses their existingsentry logincredentials. - Without this, discoverability and setup friction are high — users have to know about
sentry-mcpas a separate package and obtain a token independently.
Implementation notes
- Can be done pre-repo merge by having
sentry-clitake a dependency onsentry-mcp(or exec it) and invoking it in--transport stdiomode. - Auth binding should follow the same resolution order the CLI already uses: stored credentials →
SENTRY_AUTH_TOKENenv var. - MCP client config would simplify to:
{ "command": "sentry", "args": ["mcp"] }.
--
- Dominant language
- TypeScript
- Stars
- 121
- Forks
- 14
- Avg merge
- 22h 3m
- Merged PRs (30d)
- 94
Contributor guide
No contributing guide indexed for this repository
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 getsentry/cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 65/100
-
bug jared
-
jared
Difficulty 4/5 3-5 days Newbie friendliness 52/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·