KosmoKrator

monitoring

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.

7 functions 6 read 1 write API token auth

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.

Machine-Readable Metadata
integration_slug
sentry
route_slug
sentry
package
sentry
auth_strategy
api_token API token
cli_setup_supported
true
cli_runtime_supported
true
mcp_gateway_supported
true
lua_supported
true
supports_multi_account
true

Quick Links

Sentry MCP Client Matrix

Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Sentry.

Sentry CLI Matrix

Use these pages for direct Sentry CLI workflows in scripts, CI, cron, and agent wrappers.

Function Catalog

FunctionTypeParametersDescription
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.