sentry

Call Sentry tools programmatically from Python via MCP with OAuth authentication.

7|2|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/manojbajaj95/mcp-skill --skill sentry-manojbajaj95
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sentry
Source: https://github.com/manojbajaj95/mcp-skill/tree/main/skills/sentry
Command: npx skills add https://github.com/manojbajaj95/mcp-skill --skill sentry-manojbajaj95

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Developers often need to call multiple Sentry tools from within an application without routing every action through a model or external planner. This Skill provides a single, typed Python client that uses MCP to invoke Sentry tools programmatically, reducing latency and token usage.

Core Features & Use Cases

  • Typed async methods for each Sentry tool (e.g., whoami, find_organizations, find_projects, get_issue_details, search_events, and more) to simplify integration.
  • OAuth-based authentication with optional custom providers and token persistence for reuse across sessions.
  • Flexible parameter handling (organizationSlug, regionUrl, projectSlug, etc.) and robust result parsing (JSON when possible, raw text otherwise).
  • Works as a self-contained client that can be integrated into Python apps, automation scripts, or agents requiring Sentry insights.

Quick Start

Create an instance of SentryApp and call a tool such as whoami to fetch the authenticated user.

Frequently Asked Questions about sentry

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I call Sentry API tools from Python without using a model round-trip?

Obtain Sentry OAuth credentials and configure token persistence to authenticate your async Python client. This setup enables secure, reusable session access for calling MCP tools across your automation scripts.

Can I retrieve Sentry issue details and search events programmatically via MCP?

Yes, you can retrieve Sentry issue details and search events programmatically. The client provides typed async methods for these specific tools, parsing the results into JSON format when possible or returning raw text otherwise.

Does this Sentry MCP client support custom region URLs and organization slugs?

Yes, the Sentry MCP client supports custom region URLs and organization slugs. It handles flexible parameters like organizationSlug and projectSlug, allowing you to target specific Sentry regions and projects programmatically.

Why call Sentry tools directly instead of routing actions through an external planner?

Calling Sentry tools directly avoids the latency and token consumption of external model planning. This self-contained Python client provides typed access to APIs, streamlining automation scripts and applications requiring immediate Sentry insights.