> This page is for Agent Handler.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.merge.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server.

# Sentry

**Authentication:** OAuth or API token. See [Magic Link](/merge-agent-handler/features/magic-link) for the runtime auth flow, or [Application credentials](/merge-agent-handler/admin-setup/add-oauth-credentials) to bring your own OAuth app.

## Sample use cases

* Show me every issue created in the last 24 hours, grouped by project.
* Find issues with regression that reopened after a deploy.
* Pull the top 10 issues by event count this week.

## Available Tools

#### get\_event

Get event details by organization, project, and event ID.

#### get\_latest\_event

Get the most recent event for an issue.

#### get\_oldest\_event

Get the first occurrence of an issue.

#### list\_issues

List project issues with filtering support.

#### get\_issue

Get issue details by ID.

#### update\_issue

Update issue status, assignment, or bookmarks.

#### delete\_issue

Delete an issue permanently.

#### bulk\_update\_issues

Bulk update multiple issues in a project.

#### bulk\_delete\_issues

Bulk delete issues by query.

#### list\_issue\_events

List all events for an issue.

#### list\_organizations

List all organizations accessible to the authenticated user.

#### get\_organization

Get organization details by slug.

#### update\_organization

Update organization name or slug.

#### list\_project\_keys

List project client keys (DSNs).

#### create\_project\_key

Create a new project client key.

#### get\_project\_key

Get project key details.

#### update\_project\_key

Update project key settings.

#### delete\_project\_key

Delete a project key permanently.

#### list\_projects

List all projects accessible to the user.

#### list\_organization\_projects

List organization projects.

#### get\_project

Get project details.

#### create\_project

Create a new project under a team.

#### update\_project

Update project settings.

#### delete\_project

Delete a project permanently.

#### list\_releases

List organization releases with filtering.

#### create\_release

Create a new release for deployment tracking.

#### get\_release

Get release details by version.

#### update\_release

Update release metadata.

#### delete\_release

Delete a release permanently.

#### list\_release\_commits

List release commits.

#### get\_project\_stats

Get project event statistics over time.

#### get\_organization\_stats

Get organization-wide event statistics.

#### list\_project\_tags

List project tags with statistics.

#### get\_tag\_values

Get tag values with occurrence counts.

#### list\_teams

List organization teams.

#### get\_team

Get team details.

#### create\_team

Create a new team

#### update\_team

Update team settings.

#### delete\_team

Delete a team permanently.

#### list\_organization\_members

List organization members.

#### get\_user

Get organization member details.