Cursor
| Target id | Package | Ship with |
|---|---|---|
cursor |
@oiap/exporter-cursor |
oiap sync (git install) or install-agent-plugin |
npx oiap build oiap.plugin.ts --target cursor --out dist/cursornpx install-agent-plugin <owner>/<repo> --plugin <plugin-id> --agent cursorCursor plugin exporter for Open Interoperable Agent Plugins.
The exporter renders a Cursor plugin directory with a required
.cursor-plugin/plugin.json manifest plus native Cursor component folders:
rules/for.mdcrules.skills/for Agent Skills.agents/for custom agent prompts.commands/for agent-executable commands.hooks/hooks.jsonfor command hooks backed by the OIAP generated runtime.mcp.jsonfor MCP server definitions.
The output is a bundle artifact only. It does not install the plugin into a Cursor profile, marketplace, or project.
Install paths
Section titled “Install paths”Where install-agent-plugin and installPlugin() write the bundle, from the target profile. --out <dir> overrides them.
| Scope | Path |
|---|---|
| Local (default) | ./.cursor/plugins/<plugin-id> |
Global (--global) |
~/.cursor/plugins/<plugin-id> |
Support matrix
Section titled “Support matrix”From the platform support matrix (see its legend).
| Profile | Package | Rules | Skills | Commands | Hooks | Agents | MCP | Runtime | Policy |
|---|---|---|---|---|---|---|---|---|---|
| editor | Y | Y | Y | Y | Y | Y | Y | P | P |
Platform notes
Section titled “Platform notes”Editor plugin target. Cursor plugins use .cursor-plugin/plugin.json, .mdc
rule files in rules/, Agent Skills in skills/, custom agent markdown files
in agents/, command markdown files in commands/, hooks/hooks.json, and
root mcp.json. OIAP emits plugin bundles for those native surfaces and records
policy-specific lowering gaps in the capability report.