Repository navigation
feat(mcp-server): Ship @sentry/mcp-server as a slim bundle that shares CLI auth #1731
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
sentry-junior
wants to merge
36
commits into
main
Choose a base branch
from
ref/retire-mcp-server-package
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+5,282
−4,307
Open
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
d188199
ref(mcp): Retire @sentry/mcp-server in favor of sentry mcp
sentry-junior[bot] 0a9030e
fix(cli): Keep SENTRY_ACCESS_TOKEN docs out of command example checks
sentry-junior[bot] d0d205e
fix(mcp): Tag sentry mcp telemetry with the stdio environment
sentry-junior[bot] 38feffc
fix(mcp): Use refreshed tokens after an upstream 401 and fix the fx s…
sentry-junior[bot] 916bc64
Merge remote-tracking branch 'origin/main' into ref/retire-mcp-server…
sentry-junior[bot] 418e851
fix(lint): Apply the CLI import ban to toolkit-core sources
sentry-junior[bot] e5188d1
Merge remote-tracking branch 'origin/main' into ref/retire-mcp-server…
sentry-junior[bot] 982a007
feat(mcp-server): Ship @sentry/mcp-server as a slim bundle of sentry mcp
sentry-junior[bot] 1dba7c6
fix(mcp): Tear down after --help, --version, and sentry-mcp auth
sentry-junior[bot] 26387b2
docs(mcp): Keep @sentry/mcp-server as the recommended stdio install
sentry-junior[bot] 47afbd0
fix(mcp-server): Point auth hints at the package's own auth login
sentry-junior[bot] b83e10d
docs(mcp): Lead stdio docs with @sentry/mcp-server, document one acco…
sentry-junior[bot] d43709b
fix(mcp): Pin token refreshes to the account the server started with
sentry-junior[bot] e2f60b2
fix(mcp): Check the pinned account's identity on every refresh
sentry-junior[bot] d8f5d23
fix(mcp): Apply the .sentryclirc URL trust gate before serving
sentry-junior[bot] 44563a2
fix(mcp): Keep fatal exit codes and handle closed pipes in the bundle
sentry-junior[bot] ebb182f
fix(mcp): Make dev:stdio launch the CLI MCP server
sentry-junior[bot] 4c673d3
fix(mcp): Trust matching org tokens for rc targets and keep the rc sh…
sentry-junior[bot] aeb2251
ref(mcp): Publish @sentry/mcp-server with every CLI release
sentry-junior[bot] 9995e37
ref(mcp-server): Own the bundle script, stub CLI-only modules, report…
sentry-junior[bot] 1dcae12
Merge remote-tracking branch 'origin/main' into ref/retire-mcp-server…
sentry-junior[bot] 83ef177
fix(mcp): Name the running binary in arg errors and tag its real version
sentry-junior[bot] f5c4c31
fix(mcp): Always report the running release and keep the release work…
sentry-junior[bot] 53fc92f
fix(mcp): Serialize manual MCP Registry retries with the release run
sentry-junior[bot] f9ba7f9
perf(cli): Bundle only Zod's English locale
sentry-junior[bot] d783533
perf(cli): Load syntax highlighting lazily and allow compiling it out
sentry-junior[bot] 85e554e
ref(cli): Read the route tree from a registry instead of app.ts
sentry-junior[bot] d4ce7e9
Merge remote-tracking branch 'origin/main' into ref/retire-mcp-server…
sentry-junior[bot] 8a8dbf4
Merge remote-tracking branch 'origin/ref/cli-route-registry' into ref…
sentry-junior[bot] cea3755
Merge remote-tracking branch 'origin/perf/cli-lazy-syntax-highlight' …
sentry-junior[bot] 2eb9077
Merge remote-tracking branch 'origin/perf/zod-english-locales' into r…
sentry-junior[bot] 261e371
feat(mcp): Serve stdio on MCP SDK v2
sentry-junior[bot] ffeaf9b
ref(mcp-server): Run the CLI runner with an mcp, auth, and help app
sentry-junior[bot] 7a2f0a2
docs(mcp): Name the package's own auth commands in stdio-auth
sentry-junior[bot] 69e6525
fix(mcp-server): Keep a lone -v printing the version
sentry-junior[bot] 9977bb0
fix(cli): Keep mcp-core out of the command tree
sentry-junior[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know what this file is or what it does but it looks like we can do whatever we are doing for the CLI now? Use Sentry Release Registry or something? What exactly is this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It publishes our listing (
io.github.getsentry/sentry-mcp) to the official MCP Registry at registry.modelcontextprotocol.io. That's the directory MCP clients and marketplaces read to discover servers. It isn't the Sentry Release Registry: that one is the Craftregistrytarget the CLI already uses, which writes version metadata to getsentry/sentry-release-registry.Craft has no MCP Registry target, so the job stays a workflow. Once the npm package is live, it runs
mcp-publisherwith GitHub OIDC, so it needs no secret. The workflow already exists onmain. This PR only changes its trigger tocli@releases, because that's where@sentry/mcp-serverships now.If you'd rather not keep a workflow for it, the clean replacement is an
mcp-registrytarget in Craft. I can open that upstream.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, let's keep it then and file an issue over at getsentry/craft for this target?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Filed getsentry/craft#944 for an
mcp-registrytarget. Once it ships, we can delete this workflow and list the target in thecliworkspace config.