Skip to content

Commit e839978

Browse files
committed
typo/grammar pass
1 parent 557513f commit e839978

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

develop-docs/sdk/expected-features/mcp-instrumentation/errors.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ export function captureError(error: Error, errorType?: string): void {
2929
},
3030
});
3131
} catch {
32-
// Silently ignore capture errors - never affect MCP operation
32+
// Silently ignore capture errors so it never affects MCP operation
3333
}
3434
}
3535
```
3636

37-
- **Never throws:** All error capture is wrapped in a try/catch and will never throw.
38-
- **Tags errors:** Errors are tagged with `mcp_error_type` for later filtering.
37+
- **Never throws an exception:** All error capture is wrapped in a try/catch and will never throw an exception.
38+
- **Tags errors:** [WIP] will be removed as tags are intended for users.
3939

4040
## Handler Wrapping for Error Capture
4141

develop-docs/sdk/expected-features/mcp-instrumentation/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: MCP Instrumentation
33
---
44

5-
The MCP Server module instruments Anthropic's Model Context Protocol (MCP) SDKs. At the moment it only supports the [MCP typescript sdk](https://github.com/modelcontextprotocol/typescript-sdk/).
5+
The MCP Server module instruments Anthropic's Model Context Protocol (MCP) SDKs. At the moment it only supports the [MCP Typescript SDK](https://github.com/modelcontextprotocol/typescript-sdk/).
66

77
## Features
88

@@ -13,7 +13,7 @@ The MCP Server module instruments Anthropic's Model Context Protocol (MCP) SDKs.
1313

1414
Currently, it doesn't support automatic instrumentation due to [this issue](https://github.com/getsentry/sentry-javascript/issues/16052) related to `import-in-the-middle`.
1515

16-
Instrumentation has to be done by wrapping the MCP server instance. This is done by the `wrapMcpServerWithSentry` function. For example:
16+
Instrumentation must be done by wrapping the MCP server instance. This is done by the `wrapMcpServerWithSentry` function. For example:
1717

1818
```ts
1919
import * as Sentry from "@sentry/core";

develop-docs/sdk/expected-features/mcp-instrumentation/tracing.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Tracing
33
---
44

5-
The MCP Server module is the instrumentation for the anthropic MCP SDKs. At the moment it only supports the [MCP typescript sdk](https://github.com/modelcontextprotocol/typescript-sdk/).
5+
The MCP Server module is the instrumentation for the anthropic MCP SDKs. At the moment it only supports the [MCP Typescript SDK](https://github.com/modelcontextprotocol/typescript-sdk/).
66

77
## Spans Conventions
88

@@ -18,12 +18,12 @@ All MCP Server spans share common attributes and follow consistent patterns:
1818
| :-------------------------- | :----- | :---------------- | :---------------------------------------------------------------------------- | :------------------------------------- |
1919
| `mcp.method.name` | string | required | The name of the request or notification method. | `"tools/call"` |
2020
| `mcp.request.id` | string | optional | A unique identifier for the request. | `"42"` |
21-
| `mcp.session.id` | string | optional | Identifies the MCP session. can be undefined as MCP servers can be stateless. | `"191c4850af6c49..."` |
21+
| `mcp.session.id` | string | optional | Identifies the MCP session. Can be undefined as MCP servers can be stateless. | `"191c4850af6c49..."` |
2222
| `mcp.transport` | string | required | The transport method used for MCP communication. **[2]** | `"stdio"` |
2323
| `network.transport` | string | required | OSI transport layer protocol. **[3]** | `"pipe"` |
2424
| `network.protocol.version` | string | optional | The version of JSON RPC protocol used. | `"2.0"` |
2525

26-
**[2]** Well defined values for data attribute `mcp.transport`:
26+
**[2]** Well-defined values for data attribute `mcp.transport`:
2727

2828
| Value | Description |
2929
| :------- | :------------------------------------ |
@@ -34,7 +34,7 @@ All MCP Server spans share common attributes and follow consistent patterns:
3434

3535
*`"unknown"` is a placeholder for custom transports. We could try to infer the name from the transport object.
3636

37-
**[3]** Well defined values for data attribute `network.transport`:
37+
**[3]** Well-defined values for data attribute `network.transport`:
3838

3939
| Value | Description |
4040
| :------- | :------------------------------------ |

0 commit comments

Comments
 (0)