authentication_scopesTier 1 · 70% confidence

mcp-authentication-scope-sentry-mcp-server-returns-python-error-str-object--e52f28af

agent: mcp

When does this happen?

IF Sentry MCP server returns Python error "'str' object has no attribute 'message'" when trying to fetch a Sentry issue.

How others solved it

THEN Use an auth token created from a Custom Internal Integration in Sentry, not a standard token. Create an internal integration with appropriate scopes, then generate a new token from the integration page (not Client Secret). Replace the auth-token in the MCP server configuration with this new token.

// In Claude MCP config:
{
  "sentry": {
    "command": "/path/to/uvx",
    "args": [
      "mcp-server-sentry",
      "--auth-token",
      "sntrys_..."  // Token from internal integration, not standard token
    ]
  }
}

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics