Skip to content

Fix missing organization slug - #670

Closed
cursor[bot] wants to merge 1 commit into
mainfrom
error-organization-slug-c1b01k
Closed

cursor[bot] wants to merge 1 commit into
mainfrom
error-organization-slug-c1b01k

Conversation

@cursor

@cursor cursor Bot commented Dec 9, 2025

Copy link
Copy Markdown
Contributor

Refactors the use_sentry tool to directly wrap MCP tool handlers for embedded agents, ensuring constraint injection (e.g., organizationSlug) is consistently applied.

The previous use_sentry architecture used an in-memory MCP server, which failed to re-inject session-level constraints into tool call parameters when the embedded agent executed them. This led to tools like search_errors failing due to missing required slugs. The new wrapper-based approach explicitly injects these constraints directly before calling the real tool handlers, guaranteeing all necessary parameters are present.


Open in Cursor Open in Web

Co-authored-by: jenn.muengtaweepongsa <jenn.muengtaweepongsa@sentry.io>
@cursor

cursor Bot commented Dec 9, 2025

Copy link
Copy Markdown
Contributor Author

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@dcramer dcramer closed this Feb 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants