Files
getsentry__sentry-for-ai/plugin-src/cursor/README.md
Evan Purkhiser d65bd23b67 feat(dist): build and publish per-agent plugin distributions (#158)
This repository is the single source of truth for skills and routing metadata,
but it is not itself an installable plugin, and each assistant (Claude Code,
Cursor, Codex, Grok) expects the plugin in a different on-disk shape. No plugin
ecosystem can consume a zip or release asset; all install from a git ref. So a
GitHub Actions workflow builds each agent's distribution from this repository
and deploys it to a dedicated repository whose root is exactly that agent's
plugin, which a marketplace points at as getsentry/plugin-<agent>.

Each agent has a `plugin-src/<agent>/` dir with its manifests, README, and a
`build.sh` that assembles the dist tree from shared repo content. Claude, Cursor,
and Grok consume the plugin at the repo root; Codex requires it under
`plugins/sentry/` and rejects the `disable-model-invocation` field the skill
tree relies on, so its build strips that field and emits a per-skill
`agents/openai.yaml` (see `hide-skills.py`). MCP config is built from the repo's
`mcp.json` source of truth: inline in Claude's manifest, and a file for the
others.

Cross-repo writes use a short-lived token from a dedicated GitHub App scoped to
contents:write on the plugin repos; the default GITHUB_TOKEN cannot push to
other repositories.

The root `.claude-plugin/`, `.cursor-plugin/`, and `.mcp.json` are retained so
existing installs that consumed the plugin from this repo's root keep working;
their READMEs announce removal on or after 2026-07-11.
2026-06-12 13:39:38 -04:00

24 lines
879 B
Markdown

# Sentry for Cursor
The Sentry plugin for Cursor. It teaches Cursor how to use Sentry: SDK setup
wizards for any platform, production issue debugging via the Sentry MCP server,
code review with Sentry context, and monitoring configuration.
> [!IMPORTANT]
> This repository is generated. It is built from
> [getsentry/sentry-for-ai](https://github.com/getsentry/sentry-for-ai) and
> includes every skill in that library. Do not edit files here; make changes in
> that repository and they will be rebuilt into this one.
## Install
Add `getsentry/plugin-cursor` from Cursor Settings > Plugins.
## What's included
- The full Sentry skill library (SDK setup wizards, debugging and code-review
workflows, feature setup).
- The `/seer` command for natural-language Sentry queries.
- The hosted [Sentry MCP server](https://mcp.sentry.dev) for querying your
Sentry environment.