Junior now has user-bound OAuth tokens, automatically injected outside the sandbox, and the setup is working for Sentry. This extends my work on sentry mcp search and queries.
I said you can now safely use sentry's mcp server via stdio using managed tokens.
This is another step in my work on Sentry MCP authentication, alongside my earlier focus on making stdio more secure with device-code flows.
I said, “for any local client you can just bypass it, so you're not stopping anyone who cares,” describing why I find redirect_uri restrictions annoying.
I said, “all it stops is random web consumers using it, which I get, but we didn't restrict APIs that way,” acknowledging the tradeoff of redirect_uri restrictions.
I said, “today's annoyance brought to you by Datadog,” associating the redirect-URI restriction annoyance with Datadog.
I said, “debugging mcp auth errors,” and added that I get deauthenticated.
I argued that requiring users to approve redirect URIs “completely eliminates the value of it being a data connector ro agents”.
I said that if an MCP server requires users to approve redirect URIs, “you're doing it wrong”.
I see this approval friction as undermining MCP's role as a data connector for agents, a concern tied to my view of mcps practical value.
I said, “There are two models and OAuth works fine in both.”
I said of the user-authorized model, “Those actions get attributed to you - not ideal for some workflows.”
I said of the service-account model, “Those actions get attributed to you and the agent.”
I said, “Both are single users, but the second requires more than most do today.”
I said “there just has rarely been a good experience around how you’d do delegate auth (eg GitHub apps, sentry integrations).”
I said, “My bet is both of these models continue to exist, and we’ll see more approaches to managing service accounts in the near future.”
I said, “I personally am leaning Sentry towards the latter - every integration being its own actor in the system, with its own scoped permissions.”
I said, “The biggest gap today is taking this from an API credential dump (most service accounts) and bringing it into an OAuth-like experience.”
I changed the Sentry MCP and asked, “If you get logged out more than once every couple weeks, let me know?”
My stated objective was “adding device-code flows so you can use stdio more securely”.
I decided that we will allow them to grace our docs now after @opencode added support for auth in MCP.
Added instructions for @AmpCode as well! I also said I like how easy it is when you have a single command.
I like how easy it is when you have a single command like this; I shared a single-command example.
I stated my mission was to strip out all complexity from Sentry's MCP and “once and for all fix OAuth behavior.”
I said, “It still regularly logs you out,” and called that the most frustrating part.
I asked, “What if we had the Sentry MCP able to reuse the credentials from the new Sentry CLI?” so users could set up the CLI or MCP and have a large set of capabilities locally.
I was unsure whether reusing CLI credentials might only work for stdio: “This might only work for stdio.”
I said, “What I'm looking to do is solve people hard coding api tokens,” and address the remote OAuth spec, which is still a pain in my ass.
I said our implementation would need a simple scoping bridge, such as skill selection, and that “but that is solvable.”
I have shared reactions, experiments, frustrations, and security concerns about OAuth and authentication in the MCP ecosystem.
On 2025-06-04, I highlighted OAuth with three OK-hand emojis: oauth 👌👌👌.
On 2025-06-22, I made a simplistic MCP client for testing purposes.
I described the MCP client as “fully generated ofc.”
The MCP client implements the OAuth spec.
On 2025-07-23, I said implementing an agent that uses an MCP server requiring OAuth “sucks today.”
I asked, “can framework devs make this easier please ty,” about implementing an agent that uses an MCP server requiring OAuth.
When I first saw DCR, I was “super confused how you were supposed to secure/combat abuse.”
I said, “im down with it never existing,” about DCR.