Docs
Install in Cursor
On this page
This page installs BuildKeel in Cursor, in the editor and its CLI (agent), checks that it works, and shows how to update or remove it. You need Node.js 20 or later, and git (see Before you start). Commands are shown here in Cursor’s form, such as /bk-init.
Install
Section titled “Install”This installs BuildKeel for you, in every project you open in Cursor, in the editor and the CLI.
-
In a terminal, run:
Terminal window npx buildkeel install --cursorThis puts BuildKeel in
~/.cursor/plugins/local/bk/, and adds BuildKeel’s tools to the allow list in your Cursor settings (~/.cursor/cli-config.json), beside what you allow there, so they run without asking. -
Quit Cursor if it is running and open it again, or start a new CLI session.
-
In each project, run
/bk-initonce, or, where BuildKeel is set up already,/bk-status. BuildKeel writes its commands into the project’s.cursor/commands/and its rule into.cursor/rules/, left out of git through.git/info/exclude. The/bk-commands are listed from the next chat.
BuildKeel writes no permission file into the project: Cursor uses a project’s .cursor/cli.json in place of your own allow list, so the commands you allowed would be asked for again. Where a project has that file already, /bk-init adds BuildKeel’s entry to it, or, when the file is committed, gives you the line to add.
Check that it works
Section titled “Check that it works”- Open a new chat in the project.
- Run
/bk-status. In a project that is not set up yet, it tells you how to set one up. In a project that is, it shows your spec tree.
BuildKeel’s commands are all named /bk-<command>. Type /bk to see them all, and type the input after a command, such as /bk-approve US-001. Cursor names BuildKeel’s server plugin-bk-buildkeel in its MCP settings.
Update or remove it
Section titled “Update or remove it”-
To update BuildKeel to the newest version, run this, then quit Cursor and open it again, or start a new CLI session:
Terminal window npx buildkeel@latest update --cursorThe commands and rule in each project are brought up to date at the first BuildKeel command there.
-
To remove BuildKeel, run
npx buildkeel remove --cursorin a project, or with--workspace /path/to/your/project. It removes the plugin, BuildKeel’s entry in your Cursor settings, and BuildKeel’s commands, rule and lines in.git/info/excludein that project, leaving the rest as it was. In each other project, runnpx buildkeel remove --cursor --workspace /path/to/that/projecttoo, to take BuildKeel’s files out of it.
What it adds to a Cursor session
Section titled “What it adds to a Cursor session”- Commands starting with
/bk-, and a rule that is always on, both in each project’s.cursor/folder, left out of git. - A local server, started by Cursor. The agent reads and changes your spec tree through it. Nothing about you or your work is sent anywhere; once a day it asks the npm registry for BuildKeel’s latest version number.
- Hooks at session start, before and after an edit, and after each tool. A held edit is stopped with BuildKeel’s reason; anything else BuildKeel has to say is added after the next tool.
- BuildKeel’s agents, started as separate Cursor CLI runs with their own settings in
~/.buildkeel/cursor-agents/. BuildKeel limits each to its role: a reviewer cannot edit, and runs only commands that read.
If something goes wrong
Section titled “If something goes wrong”/bk-statusis not listed: the commands are written into the project at/bk-init, or at the first BuildKeel command where the project is set up already, and are listed from the next chat.- The agent has no BuildKeel tools: check that BuildKeel is installed (
npx buildkeel install --cursor) and turned on in Cursor’s settings under MCP, asplugin-bk-buildkeel, then start a new chat. - Cursor asks before each BuildKeel tool, or asks again for commands you allowed: the project may have its own
.cursor/cli.json, which Cursor uses in place of your own allow list. Run/bk-initto add BuildKeel’s entry to it, or add your own entries there too. - The tools say to use BuildKeel’s Cursor build: they are the Claude Code build’s, which Cursor loaded from Claude Code. Install the Cursor build with
npx buildkeel install --cursor. - An agent does not start: the model given for its role may not be in your Cursor plan. Run
/bk-modelsto choose another, or ask your team if the role is set for everyone.