From ab61e685acf3602141756e9b1031d591698aeb02 Mon Sep 17 00:00:00 2001 From: Fabian Schindler Date: Tue, 4 Nov 2025 13:16:46 +0100 Subject: [PATCH 1/2] fix(python): `mcp.transport` correct values Changes from here https://github.com/getsentry/sentry-python/pull/5063 --- docs/platforms/python/integrations/mcp/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platforms/python/integrations/mcp/index.mdx b/docs/platforms/python/integrations/mcp/index.mdx index 9430287b99aa8..55b6f256f3bc1 100644 --- a/docs/platforms/python/integrations/mcp/index.mdx +++ b/docs/platforms/python/integrations/mcp/index.mdx @@ -181,7 +181,7 @@ For each operation, the following span data attributes are captured: **General (all operations):** - `mcp.method.name`: The MCP method name (e.g., `tools/call`, `prompts/get`, `resources/read`) -- `mcp.transport`: Transport type (`pipe` for stdio, `tcp` for HTTP) +- `mcp.transport`: Transport type (`http` for streamable HTTP, `sse` for server sent events, `stdio`) - `mcp.request_id`: Request identifier (when available) - `mcp.session_id`: Session identifier (when available) From c2faf449ea1574faab0a887a9c4a3e0cd305402a Mon Sep 17 00:00:00 2001 From: Fabian Schindler Date: Tue, 4 Nov 2025 14:44:10 +0100 Subject: [PATCH 2/2] fix(python): small beautifications --- docs/platforms/python/integrations/mcp/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/platforms/python/integrations/mcp/index.mdx b/docs/platforms/python/integrations/mcp/index.mdx index 55b6f256f3bc1..1469dcfd18c6d 100644 --- a/docs/platforms/python/integrations/mcp/index.mdx +++ b/docs/platforms/python/integrations/mcp/index.mdx @@ -181,7 +181,7 @@ For each operation, the following span data attributes are captured: **General (all operations):** - `mcp.method.name`: The MCP method name (e.g., `tools/call`, `prompts/get`, `resources/read`) -- `mcp.transport`: Transport type (`http` for streamable HTTP, `sse` for server sent events, `stdio`) +- `mcp.transport`: Transport type (`http` for Streamable HTTP, `sse` for Server-Sent Events or `stdio`) - `mcp.request_id`: Request identifier (when available) - `mcp.session_id`: Session identifier (when available)