Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A Model Context Protocol (MCP) server for seamless integration with Sentry.io, enabling real-time error tracking and debugging in your AI-powered development workflow.
A Model Context Protocol (MCP) server for seamless integration with Sentry.io, enabling real-time error tracking and debugging in your AI-powered development workflow.
Choose your preferred installation method:
uvx mcp-sentry
pip install mcp-sentry
docker pull mcp/sentry
SENTRY_TOKEN=your_sentry_auth_token
SENTRY_PROJECT_SLUG=your_project_slug
SENTRY_ORGANIZATION_SLUG=your_organization_slug
Add to claude_desktop_config.json
:
{
"mcpServers": {
"sentry": {
"command": "uvx",
"args": [
"mcp-sentry",
"--auth-token", "YOUR_SENTRY_TOKEN",
"--project-slug", "YOUR_PROJECT_SLUG",
"--organization-slug", "YOUR_ORGANIZATION_SLUG"
]
}
}
}
Add to settings.json
:
{
"context_servers": {
"mcp-sentry": {
"command": {
"path": "uvx",
"args": [
"mcp-sentry",
"--auth-token", "YOUR_SENTRY_TOKEN",
"--project-slug", "YOUR_PROJECT_SLUG",
"--organization-slug", "YOUR_ORGANIZATION_SLUG"
]
}
}
}
}
get_sentry_issue
Retrieve and analyze specific Sentry issues:
issue_id_or_url
(Sentry issue ID or URL)get_list_issues
List and analyze issues for a project:
# Clone the repository
git clone https://github.com/qianniuspace/mcp-sentry.git
cd mcp-sentry
# Install development dependencies
uv pip install -e ".[dev]"
pytest
Use the MCP inspector for debugging:
npx @modelcontextprotocol/inspector uvx mcp-sentry \
--auth-token YOUR_SENTRY_TOKEN \
--project-slug YOUR_PROJECT_SLUG \
--organization-slug YOUR_ORGANIZATION_SLUG
git checkout -b feature/amazing-feature
)git commit -m 'Add amazing feature'
)git push origin feature/amazing-feature
)This project is licensed under the MIT License - see the LICENSE file for details.