codex-sentry-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@codex-sentry-mcp fetch the latest error log and analyze root cause"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Codex-Sentry-MCP ๐
An MCP (Model Context Protocol) Server that bridges OpenAI Codex directly with the Sentry error tracking system.
This tool empowers AI development assistants (like Codex) to automatically fetch, read, and analyze the latest error logs from Sentry, pinpoint the root causes, and propose or apply bug fixes directly within the code editor.
๐ฅ Key Features
Automated Log Retrieval: Instantly fetches the latest error events, stack traces, and issue contexts from Sentry.
Smart Bug Analysis: Provides structured error context directly to OpenAI Codex for deep diagnostic analysis.
Contextual Code Fixes: Enhances the AI's situational awareness to suggest accurate, automated bug resolutions in your workspace.
MCP Compliant: Fully compatible with any Model Context Protocol host or client environment.
Related MCP server: Codemend MCP Server
๐ ๏ธ Installation & Setup
Prerequisites
Node.js (v18 or higher recommended)
A Sentry Account & Auth Token
An MCP-compatible client environment
Instructions
Clone the repository:
git clone [https://github.com/tongleminhanh3-dotcom/codex.git](https://github.com/tongleminhanh3-dotcom/codex.git) cd codex-sentry-mcp Install dependencies:
Bash npm install Configure your environment variables in a .env file:
SENTRY_AUTH_TOKEN=your_sentry_token_here SENTRY_ORG=your_organization_slug SENTRY_PROJECT=your_project_slug Run the server: Bash npm start
Available Tools
1 toolget_latest_sentry_errorsB
Fetch the latest unresolved error logs and issues from Sentry
Inputs: limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
TDQS
Scored across 1 tool
Only one tool exists, so there is no risk of confusing it with other tools.
With a single tool, naming consistency is moot, but the name follows a clear verb_noun pattern and is descriptive.
A single tool is borderline for a server aimed at Sentry error monitoring; it feels thin but is focused on a specific task.
The server only retrieves errors, lacking common operations like resolving, acknowledging, or filtering errors, leaving significant gaps for typical Sentry workflows.
Maintenance
Related MCP Connectors
Automate fixes for failed Vercel deploys and cron jobs: sends the cause to your coding agent.
Finds what's broken in your product, explains why, and fixes it from your agent.
AI code governance and code review for Claude Code, Copilot and Cursor. Checks rules and security.
MCP server for Sentry - error monitoring, issue tracking, and debugging for AI assistants
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceIntegrates Sentry error monitoring with AI-powered analysis to automatically capture frontend JavaScript errors and provide intelligent repair suggestions through multiple AI models including OpenAI, Claude, and Gemini.MIT
- AlicenseAqualityDmaintenanceConnects AI tools directly to Codemend production error monitoring to list, analyze, and resolve software crashes. It enables users to retrieve AI-generated fixes and automatically open GitHub pull requests to address production issues.5MIT
- AlicenseBqualityFmaintenanceAutomatically reads Sentry issues, investigates them by analyzing your Ruby codebase, explains why issues happened, and provides fix suggestions.7MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to retrieve and analyze Sentry issues, including error reports, stacktraces, and debugging information from Sentry.io.1MIT