|
| 1 | +# InsForge Cursor Plugin |
| 2 | + |
| 3 | +Cursor IDE plugin that gives your AI agent the tools and knowledge to build full-stack applications with [InsForge](https://insforge.app). |
| 4 | + |
| 5 | +## What's included |
| 6 | + |
| 7 | +### MCP Server |
| 8 | + |
| 9 | +Connects Cursor to your InsForge backend via the [`@insforge/mcp`](https://www.npmjs.com/package/@insforge/mcp) server, enabling: |
| 10 | + |
| 11 | +- Database schema management (create tables, run SQL, manage indexes and RLS) |
| 12 | +- Storage bucket management (create, list, delete buckets) |
| 13 | +- Serverless function deployment (create, update, delete Deno functions) |
| 14 | +- Backend metadata inspection |
| 15 | +- SDK documentation fetching |
| 16 | +- Frontend deployment |
| 17 | +- Container log access |
| 18 | + |
| 19 | +### Skills |
| 20 | + |
| 21 | +The **InsForge** skill teaches the AI agent how to work with InsForge effectively, covering: |
| 22 | + |
| 23 | +- Database CRUD operations with filters and pagination |
| 24 | +- Authentication flows (email/password, OAuth) |
| 25 | +- File storage (upload, download, delete) |
| 26 | +- AI integration (chat completions, image generation, embeddings) |
| 27 | +- Real-time pub/sub messaging |
| 28 | +- Serverless function invocation |
| 29 | +- Frontend deployment workflows |
| 30 | + |
| 31 | +## Installation |
| 32 | + |
| 33 | +Install from the Cursor Marketplace, or install manually: |
| 34 | + |
| 35 | +1. Clone this repository |
| 36 | +2. Open Cursor Settings > Plugins |
| 37 | +3. Add the plugin from the cloned directory |
| 38 | + |
| 39 | +## Configuration |
| 40 | + |
| 41 | +Set environment variables for MCP authentication: |
| 42 | + |
| 43 | +| Variable | Description | Example | |
| 44 | +|----------|-------------|---------| |
| 45 | +| `INSFORGE_API_KEY` | Your InsForge API key | `ik_95ea0a...` | |
| 46 | +| `INSFORGE_API_BASE_URL` | Your InsForge project URL | `https://abc123.us-east-1.insforge.app` | |
| 47 | + |
| 48 | +Find these in **InsForge Dashboard > Project Settings**. |
| 49 | + |
| 50 | +## Structure |
| 51 | + |
| 52 | +``` |
| 53 | +.cursor-plugin/ |
| 54 | + plugin.json Plugin manifest |
| 55 | +mcp.json MCP server configuration |
| 56 | +skills/ Symlink to submodules/insforge-skills/skills |
| 57 | +submodules/ |
| 58 | + insforge-skills/ Git submodule (InsForge/insforge-skills) |
| 59 | +``` |
| 60 | + |
| 61 | +## Development |
| 62 | + |
| 63 | +### Updating skills |
| 64 | + |
| 65 | +Skills are maintained in the [InsForge/insforge-skills](https://github.com/InsForge/insforge-skills) repository and pulled in as a git submodule. |
| 66 | + |
| 67 | +```bash |
| 68 | +git submodule update --remote |
| 69 | +``` |
| 70 | + |
| 71 | +### Release |
| 72 | + |
| 73 | +Releases are automated via Release Please. The workflow creates a tarball containing: |
| 74 | + |
| 75 | +- `.cursor-plugin/plugin.json` |
| 76 | +- `mcp.json` |
| 77 | +- `skills/` (dereferenced from submodule) |
0 commit comments