getsentry / getsentry/sentry-mcp

Permissions Error When Accessing find_transactions Tool Through MCP

Open
#246 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
853
Forks
144
Avg merge
19h 25m
Merged PRs (30d)
32

Description

### Environment
- Cursor version: `1.0.0`

### Steps to Reproduce

- Added Sentry to my MCP settings in Cursor using the following configuration:

```json
"Sentry": {
"command": "npx",
"args": [
"mcp-remote@latest",
"https://mcp.sentry.dev/sse"
]
}
```

- Also attempted to add a token using the env field.

- Used the following prompt:

`Find the top 5 performance issues in my backend for project X. Show only transactions that are longer than 0.5 seconds.`

### Expected Result
The `find_transactions `tool should be invoked and return the top performance issues (transactions > 0.5s).

### Actual Result

The tool `find_transactions` failed due to a permissions error.

### Prompt and response:
**Can you find endpoints that have p50 of more than 0.5 seconds?**

![Image](https://github.com/user-attachments/assets/216203f1-668d-4371-a452-c9994c141125)

**Why does the `find_issues `tool work, but `find_transactions` does not?**

![Image](https://github.com/user-attachments/assets/3c614d22-f372-43db-bc3b-263c7a5cf411)

### Remarks
- I am **able to access** the "Insights" tab in the Sentry web app, so I don't believe this is a general permissions issue.

- The find_issues tool does work correctly via MCP.

### Questions
- Why is find_transactions failing while find_issues succeeds?

- Is there an additional permission or configuration needed for the find_transactions tool?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.