Cursor SDK
TypeScript SDK for running Cursor agents from code.
2. Maintained
github.com/cursor/cursor3. Used by agents' projects
Dependency in 5 public GitHub projects set up for AI coding agents that we scanned (0.1%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What Cursor SDK does
TypeScript SDK for running Cursor agents from code.
Cursor SDK popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How Cursor SDK is used
- Cursor SDK joined the catalog on its public numbers (1,553,615 downloads a week on npm and 33,359 GitHub stars), not on our project count: it is a dependency in 11 public GitHub projects of our scan, 5 of them set up for AI coding agents.
- Projects that use it most often also use Anthropic SDK (54.5%), Model Context Protocol SDK (JavaScript) (45.5%), TypeScript (100.0%).
Often used with
More about Cursor SDK
Agent Skills for it
- : Cursor plugin specification and official plugins
Alternatives
Cursor SDK This page
Get started
Install it.
npm install @cursor/sdkNo step-by-step start for Cursor SDK yet: we have not written its hand-checked card.