cursor · CtrlNode agent type: Cursor
Runs Cursor through @cursor/sdk. Because the SDK uses gRPC/HTTP2, the Bridge extracts a Node.js runner (cursor-sdk-runner.mjs) to a temp directory and communicates over JSONL on stdin/stdout.
When to use it
- You have a Cursor API key and want Cursor agents to execute CtrlNode tasks
- The Bridge host can run Node.js LTS alongside the Bridge binary
Prerequisites
Node.js
winget install OpenJS.NodeJS.LTS
Cursor API key
- Open cursor.com/settings → Integrations → API Keys
- Create a key
- Set:
Environment variables
Example .env
CtrlNode setup
- Project agent type Cursor
- Register agents in Team
- Keep Node.js available to the same user as
ctrlnode
The runner is embedded in the Bridge binary and refreshed on upgrade. You do not install
@cursor/sdk manually on the host.Workspace artifacts
Cursor may createnode_modules or helper files under the agent workspace during a run. Add them to .gitignore if the workspace is a git repo.
Troubleshooting
← All providers