Skip to content
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

Sentry MCP gets 'str' object has no attribute 'message' when trying to fetch issue #689

Open
rsslldnphy opened this issue Feb 27, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@rsslldnphy
Copy link

rsslldnphy commented Feb 27, 2025

Describe the bug
When trying to fetch an issue using the Sentry mcp server, Claude gets a Python error:

'str' object has no attribute 'message'

Image

To Reproduce
Steps to reproduce the behavior:

  1. set up sentry MCP server in claude using the following config:
"sentry": {
      "command": "/Users/REDACTED/.local/bin/uvx",
      "args": [
        "mcp-server-sentry",
        "--auth-token",
        "REDACTED"
      ]
    }
  1. Ask claude to fetch an issue

Expected behavior
It should fetch the issue details

Logs

nothing obviously useful in the logs:

2025-02-27T09:08:41.113Z [sentry] [info] Message from server: {"jsonrpc":"2.0","id":274,"result":{"prompts":[{"name":"sentry-issue","description":"Retrieve a Sentry issue by ID or URL","arguments":[{"name":"issue_id_or_url","description":"Sentry issue ID or URL","required":true}]}]}}
@rsslldnphy rsslldnphy added the bug Something isn't working label Feb 27, 2025
@rsslldnphy
Copy link
Author

Further info on this: it happens in one Sentry account I have set up but not in another. Can't see any obvious way in which the two accounts could be set up differently that could cause this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant