Community packages

@kentcdodds/sentry

by @kentcdodds

Headless utilities for Sentry organizations, projects, issues, events, and event summaries using the sentryAuthToken secret reference.

  • sentry
  • debugging
  • issues
  • observability
  • agents
License
MIT
Published
7/9/2026
Pinned commit
7f6c394
Rating
No ratings yet
Adaptation effort
Forks
0

Fork with your agent

Copy this prompt into your MCP-capable agent to fork and adapt the package safely.

Use Kody to fork the community package "@kentcdodds/sentry" (listing id: 0e75b90a-1fd7-4a4a-9ae1-167384bbd227). Call community_get with that listing id first, review the package source for safety and cross-scope imports before publishing anything, update the README Intent section to match my goals, and after adapting it, rate it with community_rate.

README

# @kentcdodds/sentry

## Intent

Headless Sentry utilities for Kody workflows — organizations, projects, issue search, event summaries, and agent-ready triage using the `sentryAuthToken` secret.

## When To Use

- List organizations or projects before querying issues.
- Search unresolved issues with optional latest-event summaries for triage.
- Inspect a specific issue, its events, or build a full triage bundle.
- Call uncommon Sentry REST endpoints via `request` or `request-page`.

## Required setup

- Secret `sentryAuthToken` (user scope) — sent as a bearer token on every API call.

## Exports

- `kody:@kentcdodds/sentry` — package overview
- `kody:@kentcdodds/sentry/list-organizations` — list organizations
- `kody:@kentcdodds/sentry/list-projects` — list projects for an org
- `kody:@kentcdodds/sentry/resolve-project` — resolve project by slug or id
- `kody:@kentcdodds/sentry/search-issues` — search issues (`paginated`, `includeLatestSummaries` flags)
- `kody:@kentcdodds/sentry/get-issue` — fetch one issue
- `kody:@kentcdodds/sentry/get-latest-issue-event` — latest event for an issue
- `kody:@kentcdodds/sentry/get-issue-events` — list recent events
- `kody:@kentcdodds/sentry/summarize-issue-event` — summarize an event or latest event by `issueId`
- `kody:@kentcdodds/sentry/triage-issue` — agent-ready triage bundle
- `kody:@kentcdodds/sentry/request` — generic Sentry REST call
- `kody:@kentcdodds/sentry/request-page` — REST call with pagination cursors

## Examples

Search unresolved issues:

```ts
import searchIssues from 'kody:@kentcdodds/sentry/search-issues'

const issues = await searchIssues({
  orgSlug: 'kent-c-dodds-tech-llc',
  query: 'is:unresolved',
  statsPeriod: '14d',
  limit: 5,
})
```

Triage one issue:

```ts
import triageIssue from 'kody:@kentcdodds/sentry/triage-issue'

const triage = await triageIssue({ issueId: '7459536382', recentEventLimit: 3 })
```

Report this listing

Log in to report this listing.