mirror of
https://github.com/cursor/plugins.git
synced 2026-09-14 20:00:00 +08:00
b0716cb46f
- Add plugin manifest (.cursor/plugin.json) - Add MCP server configuration for @stripe/mcp - Add stripe-payments agent for payment guidance - Add stripe-integration skill for common tasks - Add stripe-best-practices rule for payment code - Add README with installation and usage docs - Update plugins README to list stripe-mcp Co-authored-by: kniparko <kniparko@anysphere.co>
Cursor Plugins
This directory contains official plugins for Cursor.
Plugin Structure
Each plugin follows a standard structure:
plugin-name/
├── .cursor/
│ └── plugin.json # Plugin manifest (required)
├── README.md # Plugin documentation
├── rules/ # Cursor rules (.mdc files)
├── agents/ # Subagents (markdown files)
├── skills/ # Agent skills (directories with SKILL.md)
├── hooks/
│ └── hooks.json # Hook configuration
├── mcp.json # MCP server definitions (optional)
├── extensions/ # VS Code extensions (.vsix files)
├── scripts/ # Utility scripts for hooks
├── LICENSE
└── CHANGELOG.md
Plugin Components
| Component | Location | Purpose |
|---|---|---|
| Manifest | .cursor/plugin.json |
Required metadata file |
| Rules | rules/ |
Cursor rules (.mdc files) |
| Agents | agents/ |
Subagent Markdown files |
| Skills | skills/ |
Agent Skills with SKILL.md files |
| Hooks | hooks/hooks.json |
Hook configuration |
| MCP servers | mcp.json |
MCP server definitions |
| Extensions | extensions/ |
VS Code extension bundles (.vsix files) |
Creating a Plugin
- Create a new directory under
plugins/ - Add a
.cursor/plugin.jsonmanifest file - Add your components (rules, agents, skills, hooks, etc.)
- Add a
README.mddocumenting your plugin
See the boilerplate directory for a complete example.
Plugin Manifest
The .cursor/plugin.json manifest is required and defines your plugin's metadata:
{
"name": "my-plugin",
"version": "1.0.0",
"description": "A brief description of what your plugin does",
"author": {
"name": "Your Name",
"email": "you@example.com"
},
"license": "MIT",
"keywords": ["example"],
"agents": "./agents/",
"skills": "./skills/",
"rules": "./rules/",
"hooks": "./hooks/hooks.json",
"mcpServers": "./mcp.json",
"extensions": "./extensions/"
}
Available Plugins
| Plugin | Description |
|---|---|
boilerplate |
Complete example plugin demonstrating all components |
stripe-mcp |
Stripe MCP integration for AI-powered payment workflows |
Installation
Plugins can be installed via CLI:
agent install <plugin-name>
Or from a marketplace:
agent install <plugin-name>@<marketplace>
Contributing
When adding a new plugin:
- Follow the standard directory structure
- Include a comprehensive README.md
- Use semantic versioning (MAJOR.MINOR.PATCH)
- Include a LICENSE file
- Test your plugin thoroughly before submitting