Skip to content

Commit 07661a7

Browse files
committed
fix getting started
1 parent 64e254f commit 07661a7

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

docs/product/insights/ai/mcp/getting-started.mdx

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,18 @@ To start sending MCP data to Sentry, make sure you've created a Sentry project f
1212

1313
### JavaScript - MCP Server
1414

15-
The Sentry JavaScript SDK supports MCP monitoring through the MCP Server integration, which works with Node.js. This integration automatically captures spans for your MCP server workflows using the MCP TypeScript SDK's built-in telemetry.
16-
17-
#### Supported Platforms
18-
19-
- <LinkWithPlatformIcon
20-
platform="javascript.node"
21-
label="Node.js"
22-
url="/platforms/javascript/guides/node/configuration/integrations/mcp/"
23-
/>
15+
The Sentry JavaScript SDK supports MCP monitoring by wrapping the MCP Server from the [@modelcontextprotocol/sdk](https://www.npmjs.com/package/@modelcontextprotocol/sdk) package. This wrapper automatically captures spans for your MCP server workflows including tool executions, resource access, and client connections.
2416

2517
#### Quick Start with MCP Server
2618

2719
```javascript
28-
2920
import { Sentry } from "@sentry/node";
21+
import { McpServer } from "@modelcontextprotocol/sdk";
3022

3123
// Sentry init needs to be above everything else
3224
Sentry.init({
3325
dsn: "<YOUR DSN>",
3426
tracesSampleRate: 1.0,
35-
integrations: [Sentry.mcpServerIntegration()],
3627
});
3728

3829
// Your MCP server

0 commit comments

Comments
 (0)