Skip to content

dev-docs (MCP server): Add tracing and errors documentation #14374

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

betegon
Copy link
Member

@betegon betegon commented Jul 15, 2025

DESCRIBE YOUR PR

Closes #14106

Adds developer docs for our MCP Server instrumentation.

Route for the documentation sdk/expected-features/mcp-instrumentation that includes:

.mcp-instrumentation
├── index.mdx  # brief description on current features and limitations
├── errors.mdx # draft errors doc 
└── tracing.mdx # Tracing and span conventions

Followed this file structure as a start to (in the future) have this structure for all the other features, having something like this below, where we have :

.[Feature 1]
├── index.mdx 
├── logs.mdx 
├── errors.mdx 
.
.
.
.[Feature 2]
├── index.mdx 
├── errors.mdx 
├── tracing.mdx
.
.
.

The structure idea is from @abhi, who helped me settle this <3.

NOTE: Error docs are going to change, addressing feedback from sentry-javascript/pull/16817

IS YOUR CHANGE URGENT?

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

@betegon betegon self-assigned this Jul 15, 2025
Copy link

vercel bot commented Jul 15, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
develop-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 22, 2025 10:02am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
sentry-docs ⬜️ Ignored (Inspect) Visit Preview Jul 22, 2025 10:02am

@betegon betegon changed the title Bete/mcp server module dev-docs (MCP server): Add tracing and errors documentation Jul 16, 2025
Copy link
Member

@AbhiPrasad AbhiPrasad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, this is what I think we want. Once we convert the errors spec to stop using tags we can merge!

cursor[bot]

This comment was marked as outdated.

Copy link
Contributor

@coolguyzone coolguyzone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for adding 🫡

@betegon
Copy link
Member Author

betegon commented Jul 22, 2025

Hey @coolguyzone , thanks for reviewing it. I was waiting to update the erors docs to use mechanism instead of tags. It's updated now, please have a look at it, this is the actual change 46958b.

@betegon betegon requested a review from coolguyzone July 22, 2025 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MCP Server - instrumentation spec document
3 participants