codex-sentry-mcp
README.md
# 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.
---
## 🛠️ Installation & Setup
### Prerequisites
* Node.js (v18 or higher recommended)
* A Sentry Account & Auth Token
* An MCP-compatible client environment
### Instructions
1. Clone the repository:
```bash
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
TDQS
B3.4/5.0
Scored across 1 tool
Disambiguation5/5
Only one tool exists, so there is no risk of confusing it with other tools.
Naming Consistency5/5
With a single tool, naming consistency is moot, but the name follows a clear verb_noun pattern and is descriptive.
Tool Count3/5
A single tool is borderline for a server aimed at Sentry error monitoring; it feels thin but is focused on a specific task.
Completeness2/5
The server only retrieves errors, lacking common operations like resolving, acknowledging, or filtering errors, leaving significant gaps for typical Sentry workflows.
Maintenance
ActivityInactive
ResponsivenessNo issues