analytics
Sentry MCP, CLI, and Lua Integration for AI Agents
Sentry integration docs for AI agents: MCP gateway setup, Sentry CLI commands, Lua API reference, credentials, and function schemas.Sentry for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Agent Surfaces
Machine-Readable Metadata
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
sentry.sentry_list_projects | Read read | 1 | List all Sentry projects accessible to the authenticated user. Returns project slugs, organization slugs, and platforms for use in other Sentry tools. |
sentry.sentry_get_project | Read read | 2 | Get detailed information about a specific Sentry project, including its slug, platform, team assignments, and error statistics. |
sentry.sentry_list_issues | Read read | 5 | List issues (errors) for a specific Sentry project. Supports filtering by status, query, sorting, and time range. Returns issue IDs, titles, counts, and severity. |
sentry.sentry_get_issue | Read read | 1 | Get detailed information about a specific Sentry issue, including the error message, stacktrace, tags, event count, and affected users. |
sentry.sentry_list_releases | Read read | 3 | List releases for a specific Sentry project. Returns version strings, deployment dates, authors, and commit information. |
sentry.sentry_create_issue | Write write | 7 | Create a new issue (user report or crash report) in a Sentry project. Requires the error message and optional metadata like stacktrace, tags, and user context. |
sentry.sentry_get_current_user | Read read | 0 | Get the currently authenticated Sentry user. Returns user name, email, and organization memberships. Useful for verifying the connection and identifying which Sentry account is being used. |