Skip to content

Initial work on stdio #31

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

Merged
merged 1 commit into from
Apr 6, 2025
Merged

Initial work on stdio #31

merged 1 commit into from
Apr 6, 2025

Conversation

dcramer
Copy link
Member

@dcramer dcramer commented Apr 6, 2025

Implements a basic stdio wrapper (requiring SENTRY_AUTH_TOKEN locally).

This will still need a distro to get this into GA, but works against dev.

Refs GH-28

Copy link

codecov bot commented Apr 6, 2025

Codecov Report

Attention: Patch coverage is 8.06452% with 114 lines in your changes missing coverage. Please review.

Project coverage is 37.00%. Comparing base (5cb714a) to head (8f31eee).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/mcp/server.ts 2.63% 37 Missing ⚠️
src/mcp/tools.ts 18.18% 36 Missing ⚠️
src/mcp/start-stdio.ts 5.26% 18 Missing ⚠️
src/mcp/transports/cloudflare-worker.ts 0.00% 13 Missing ⚠️
src/mcp/transports/stdio.ts 0.00% 7 Missing ⚠️
src/index.ts 0.00% 2 Missing ⚠️
src/routes/auth.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #31      +/-   ##
==========================================
- Coverage   39.28%   37.00%   -2.28%     
==========================================
  Files           9       12       +3     
  Lines         807      862      +55     
  Branches       18       21       +3     
==========================================
+ Hits          317      319       +2     
- Misses        490      543      +53     
Flag Coverage Δ
unittests 37.00% <8.06%> (-2.28%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dcramer
Copy link
Member Author

dcramer commented Apr 6, 2025

Couldn't figure out how to get it working in Cursor, but I did verify in inspector that it works.

    "sentryDevStdio": {
      "command": "npm",
      "args": ["run", "start:stdio"],
      "env": {
        "PATH": "/Users/dcramer/code/sentry-mcp",
        "SENTRY_AUTH_TOKEN": ""
      }
    }

@dcramer dcramer merged commit de34e5d into main Apr 6, 2025
5 of 7 checks passed
@dcramer dcramer deleted the feat/stdio branch April 6, 2025 13:48
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.

1 participant