# Sentry MCP and CLI give coding agents production context for debugging

DevFeed: [Sentry MCP and CLI give coding agents production context for debugging](<https://devfeed.tech/articles/your-agent-can-t-fix-what-it-can-t-see-24087.md>)

Original publisher: [Read original article](<https://blog.sentry.io/agents-need-production-context/>)

Author: Sergiy Dybskiy

Published: 2026-05-26T16:00:00Z

Content type: opinion

Language: en

Sources: [Sentry Blog](<https://devfeed.tech/sources/sentry-blog.md>)

Topics: [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [Pull Request](<https://devfeed.tech/topics/pull-request.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Testing](<https://devfeed.tech/topics/testing.md>)

Tags: [cli](<https://devfeed.tech/tags/cli.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [review](<https://devfeed.tech/tags/review.md>), [root-cause-analysis](<https://devfeed.tech/tags/root-cause-analysis.md>), [sentry](<https://devfeed.tech/tags/sentry.md>), [testing](<https://devfeed.tech/tags/testing.md>)

## AI overview

Coding agents often lack the production context needed to diagnose real-world bugs. This article explains how Sentry MCP and the Sentry CLI provide evidence such as stack traces, request payloads, environments, and breadcrumbs, enabling agents to investigate issues and open draft pull requests while humans remain involved.

## Source excerpt

Agents can't fix bugs they can't see. Learn how Sentry MCP and CLI give coding agents the production context to diagnose and fix issues automatically.