You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MCP Server integration automatically instruments tool calls with Sentry spans, following the [OpenTelemetry MCP Semantic Conventions](https://github.com/open-telemetry/semantic-conventions/pull/2083). This provides comprehensive observability for MCP tool execution, including:
@@ -18,7 +63,7 @@ The implementation is based on the Sentry JavaScript SDK's MCP integration, adap
18
63
-`internal/cli/mcp/sentry.go` - Tracing wrapper and attribute extraction
19
64
-`internal/cli/mcp/server.go` - Tool registration with tracing
20
65
21
-
## Usage
66
+
## Detailed Usage
22
67
23
68
### Wrapping a Tool Handler
24
69
@@ -160,6 +205,14 @@ Here's an example of what a tool call span looks like in Sentry:
160
205
}
161
206
```
162
207
208
+
## Viewing Traces
209
+
210
+
In Sentry:
211
+
212
+
1. Go to **Performance** → **Traces**
213
+
2. Filter by operation: `mcp.server`
214
+
3. See tool calls with full context
215
+
163
216
## Comparison with JavaScript SDK
164
217
165
218
This implementation closely follows the Sentry JavaScript SDK's MCP integration:
0 commit comments