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_tokenAPI token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. Sentry CLIHeadless setup and direct function calls. Sentry MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
Sentry MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for Sentry.
Claude Code Sentry MCP setup for Claude Code. Cursor Sentry MCP setup for Cursor. Codex Sentry MCP setup for Codex. OpenAI Agents Sentry MCP setup for OpenAI Agents SDK. Claude Agent SDK Sentry MCP setup for Claude Agent SDK. Vercel AI SDK Sentry MCP setup for Vercel AI SDK. LangChain Sentry MCP setup for LangChain. LangGraph Sentry MCP setup for LangGraph. CrewAI Sentry MCP setup for CrewAI. MCP clients Sentry MCP setup for Generic MCP Clients.
Sentry CLI Matrix
Use these pages for direct Sentry CLI workflows in scripts, CI, cron, and agent wrappers.
CI Sentry CLI for CI. Cron Jobs Sentry CLI for cron jobs. Shell Scripts Sentry CLI for shell scripts. Headless Automation Sentry CLI for headless automation. Coding Agents Sentry CLI for coding agents.
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. |