Command
Development
Command
/trace
```bash
Install
> /plugin marketplace add getsentry/toolkit > /plugin install sentry-mcp@sentry-mcp
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/trace
Context preview
What this command does when you run it.
```bash
Command definition
trace.mdExamples
List traces
# List last 20 traces (default) sentry trace list # Sort by slowest first sentry trace list --sort duration # Filter by transaction name, last 24 hours sentry trace list -q "transaction:GET /api/users" --period 24h # Paginate through results sentry trace list my-org/backend -c next
View a trace
# View trace details with span tree sentry trace view abc123def456abc123def456abc12345 # Open trace in browser sentry trace view abc123def456abc123def456abc12345 -w # Auto-recover from an issue short ID sentry trace view PROJ-123
Cross-project traces
# Filter trace view to one project's spans sentry trace view my-org/cli-server/abc123def456abc123def456abc12345 # Full trace across all projects (default) sentry trace view my-org/abc123def456abc123def456abc12345 # Filter trace logs by project sentry trace logs my-org/cli-server/abc123def456abc123def456abc12345 # Multiple projects via --query sentry trace logs abc123def456abc123def456abc12345 -q "project:[cli-server,api]"
View trace logs
# View logs for a trace sentry trace logs abc123def456abc123def456abc12345 # Search with a longer time window sentry trace logs --period 30d abc123def456abc123def456abc12345 # Filter logs within a trace sentry trace logs -q 'severity:error' abc123def456abc123def456abc12345
Ships withtoolkit
Sentry's MCP service is primarily designed for human-in-the-loop coding agents. Our tool selection and priorities are focused on developer workflows and debugging use cases, rather than providing a general-purpose MCP server for all Sentry functionality.
Get the whole plugin
Stats
912
Stars
159
Forks
Active
Maintenance
TypeScript
Language
1h ago
Last commit
1y ago
Created
Repo: getsentry/sentry-mcp
Other commands on toolkit.
Command
Command
explore
Enter explore mode - think through ideas, investigate problems, clarify requirements
Command
propose
Propose a new change - create it and generate all artifacts in one step
Command
Command

