Skip to content

feat(hex): add Hex MCP Plugin support#286

Merged
dcramer merged 2 commits intogetsentry:mainfrom
cstavitsky:cstavitsky/hex-mcp-plugin
May 7, 2026
Merged

feat(hex): add Hex MCP Plugin support#286
dcramer merged 2 commits intogetsentry:mainfrom
cstavitsky:cstavitsky/hex-mcp-plugin

Conversation

@cstavitsky
Copy link
Copy Markdown
Contributor

Testing

  • Tested locally via ngrok tunnel
  • ran core suite locally

Summary

  • Adds @sentry/junior-hex, a standalone plugin that connects Junior to Hex's hosted MCP server (create_thread / get_thread) via per-user OAuth — no shared API token needed.
  • Adds guardrails for data integrity (no fabrication, always report data_as_of and gaps), query safety (read-only, scoped to org slug + time window), auth error handling (no retry on 401/403), and rate limits (cap of 6 create_thread / 30 get_thread calls per invocation).
  • Wires the package into the release pipeline (.craft.yml, CI, bump script, CONTRIBUTING.md, README.md).
  • Adds plugin docs at extend/hex-plugin.md with install, config, region table, verification steps, and failure modes.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 5, 2026

@cstavitsky is attempting to deploy a commit to the Sentry Team on Vercel.

A member of the Team first needs to authorize it.

@cstavitsky cstavitsky changed the title Hex MCP Plugin feat: Hex MCP Plugin May 5, 2026
@cstavitsky cstavitsky changed the title feat: Hex MCP Plugin feat(junior-hex): Hex MCP Plugin May 5, 2026
@cstavitsky cstavitsky changed the title feat(junior-hex): Hex MCP Plugin feat(hex): add Hex MCP Plugin support May 5, 2026
Comment thread packages/junior-hex/skills/hex/SKILL.md
Comment thread packages/junior-hex/skills/query-hex/SKILL.md Outdated
Comment thread packages/junior-hex/skills/get-hex-data/SKILL.md Outdated
Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

There are 3 total unresolved issues (including 1 from previous review).

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit afeae9b. Configure here.

Comment thread packages/junior-hex/plugin.yaml
Comment thread packages/junior-hex/package.json Outdated
lockfile

add guardrails to skills

make hex skill more general-purpose

consolidate two skills into one
@cstavitsky cstavitsky force-pushed the cstavitsky/hex-mcp-plugin branch from afeae9b to 39b2cde Compare May 6, 2026 23:58
Copy link
Copy Markdown
Member

@dcramer dcramer left a comment

Choose a reason for hiding this comment

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

lgtm

@dcramer dcramer merged commit f403617 into getsentry:main May 7, 2026
6 of 8 checks passed
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.

2 participants