Skip to content

Cursor has no /add-plugin command, and no MCP server either - #6

Merged
teechoi merged 1 commit into
mainfrom
fix/cursor-has-no-add-plugin-command
Aug 26, 2026
Merged

teechoi merged 1 commit into
mainfrom
fix/cursor-has-no-add-plugin-command

Conversation

@teechoi

@teechoi teechoi commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Completing the verification of every row in the bootstrap table against each client's own documentation. Cursor was broken twice.

1. The command does not exist

/add-plugin https://github.com/null-shot/plugin

Cursor's plugin docs describe installation as a dashboard flow — Dashboard → Plugins → Add Marketplace → Import from Repo — and document no slash or CLI equivalent. This is the third invented command found in this one table (after codex mcp add --transport http and the two codex plugin subcommands).

2. Installing it would not connect Cursor anyway

.cursor-plugin/plugin.json declares:

["name","displayName","description","version","author","license","keywords","skills"]

No mcpServers. So a Cursor user who completed the flow gets the planning skills and no gateway. And the prose said:

Cursor and Gemini discover OAuth automatically when the MCP server first returns 401 Unauthorized.

For Cursor there is no server to return one. Skills that reference tools the client cannot call is the least obvious way to be broken — everything looks installed.

The fix

The row names the repo to paste into the documented flow. The prose now says plainly that Cursor is the one client this plugin does not fully bootstrap, and gives the two real ways to get the gateway: Cursor's own mcp.json, or the one-click Cursor button in Nullshot's Connect panel, which already writes the environment-correct URL.

I did not add an mcpServers block to the Cursor manifest. I can't verify that Cursor reads one from .cursor-plugin/plugin.json, and guessing is precisely what put the other three wrong commands in this file. If someone can confirm the format, that's the better fix and the new test flags it.

Tests

Cursor is exempted from the one-inline-command assertion, since its row is now a value rather than a command; every client that does have a command is still held to one paste. New test rejects /add-plugin by name and requires the README to keep disclosing the missing MCP server for as long as the manifest lacks one.

validate clean · 11 pass, 0 fail · the guard fails against the old row:

Cursor has no `/add-plugin` command
# pass 10
# fail 1

Full table status after this PR

Client Command Verified against
Codex codex mcp add --url + codex mcp login OpenAI docs (fixed in #5)
Claude Code plugin marketplace add + plugin install + mcp login plugin:nullshot:nullshot the installed CLI, live
Cursor dashboard flow Cursor docs (fixed here)
Kimi /plugins install <url> Kimi Code docs
Gemini gemini extensions install <url> --consent gemini-cli reference
OpenCode curl … | sh, script uses opencode mcp auth OpenCode CLI docs
Pi pi install git:…@v0.2.0 pi packages docs, tag exists

Every row now traces to that client's own documentation. Three of the seven were wrong.

Verifying the last four unverified rows against each client's own documentation
found Cursor broken in two ways.

The command does not exist. Cursor's documentation describes plugin
installation as a dashboard flow — Dashboard, Plugins, Add Marketplace, Import
from Repo — and documents no slash or CLI equivalent. `/add-plugin <url>` is the
third invented command found in this table.

The deeper problem is that installing it would not connect Cursor anyway.
`.cursor-plugin/plugin.json` declares `skills` and no `mcpServers`, so a Cursor
user who completed the flow would get the planning skills and no gateway. The
prose stated that "Cursor and Gemini discover OAuth automatically when the MCP
server first returns 401" — for Cursor there is no server to return one. Skills
that reference tools the client cannot call is the least obvious way to be
broken.

The row now names the repo to paste into the documented flow, and the prose says
plainly that Cursor is the one client this plugin does not fully bootstrap, with
the two real ways to get the gateway: Cursor's `mcp.json`, or the one-click
Cursor button in Nullshot's own Connect panel, which already writes the
environment-correct URL.

No mcpServers block was added to the Cursor manifest, because I cannot verify
that Cursor reads one from `.cursor-plugin/plugin.json` — guessing is what put
the other three wrong commands in this file.

Cursor is exempted from the one-inline-command assertion, since its row is now a
value rather than a command, and every client that does have a command is still
held to one paste. A new test rejects `/add-plugin` by name and requires the
README to keep disclosing the missing MCP server for as long as the manifest
lacks one.
@cursor

cursor Bot commented Aug 26, 2026

Copy link
Copy Markdown

Bugbot is paused — on-demand spend limit reached

Bugbot uses usage-based billing for this team and has hit its on-demand spend limit.

A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue.

@teechoi
teechoi merged commit 6c62bd5 into main Aug 26, 2026
2 checks passed
teechoi pushed a commit that referenced this pull request Aug 31, 2026
`v0.2.0` was cut before #3, #4, #5 and #6, and every manifest still declared
0.2.0. Two consequences, both silent:

- The README's own Pi row installs `@v0.2.0`, so a Pi user pasting it today
  gets a plugin that can only reach production, teaches `update_jam_todo`
  instead of atomic claims, and carries the two invented Codex commands.
- Claude Code and Cursor read the version to decide whether an update exists.
  At an unchanged 0.2.0, an already-installed user is never offered any of it,
  including the Cursor gateway this branch adds.

So the version moves to 0.3.0 in all eight places the validator checks, and the
Pi row moves with it.

`scripts/validate.mjs` now asserts the README's pinned tag matches
package.json. It cannot prove the tag exists on the remote from here, but it
makes the pin move with the version, which turns four releases of silent
staleness into a release step someone has to take.

**Merging this requires `git tag v0.3.0 && git push origin v0.3.0`** on the
merge commit, or the Pi row points at a tag that is not there yet.

Verified: validate green at 0.3.0, 12/12 tests. Non-vacuous — restoring only
the README pin to v0.2.0 fails the new assertion.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
teechoi added a commit that referenced this pull request Aug 31, 2026
* Installing into Cursor now connects Cursor

`.cursor-plugin/plugin.json` declared `skills` and nothing else. A user who
completed Cursor's dashboard install got the planning skills — which name
`start_jam_task`, `upsert_jam_plan`, `list_available_work` — and no server to
call them on. Nothing errors in that state: the plugin is installed, the skills
load, the tools are simply absent. It is the least obvious way to be broken,
which is why it shipped.

The previous change documented this. This one fixes it.

## The manifest

`mcpServers` is a documented Cursor manifest field — a path, an inline object,
or an array — and the inline object here is the shape Cursor's own first-party
remote-MCP plugins use (`third_party/ahrefs`, `third_party/brevo`): no
transport gymnastics, inferred from `url`. It validates against Cursor's
published `schemas/plugin.schema.json`.

`commands` was missing for the same reason skills were not enough: ten command
files shipped in this repo that Cursor had no way to load.

## Why the URL stays literal

Cursor supports manifest `variables`, but they are values the user is PROMPTED
for, with no default. An unset one would write a literally unexpanded `${...}`
into the server URL — a broken server rather than a movable one, which is the
same reasoning that keeps `.mcp.json` plain for Codex. So Cursor remains
production-only, and the README now says where a non-production user goes
instead: the one-click Cursor button in Nullshot's Connect panel, which writes
that environment's gateway directly.

## Verification

- `node --test test/*.test.mjs`: 12 pass. The new test fails, and
  `scripts/validate.mjs` throws, against the manifest as it shipped.
- The URL the manifest now carries answers `POST /mcp` with 401 and a
  `WWW-Authenticate` naming its resource metadata, so the README's claim that
  Cursor discovers OAuth from a 401 is true for Cursor for the first time.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

* Release 0.3.0, and stop the tag going stale again

`v0.2.0` was cut before #3, #4, #5 and #6, and every manifest still declared
0.2.0. Two consequences, both silent:

- The README's own Pi row installs `@v0.2.0`, so a Pi user pasting it today
  gets a plugin that can only reach production, teaches `update_jam_todo`
  instead of atomic claims, and carries the two invented Codex commands.
- Claude Code and Cursor read the version to decide whether an update exists.
  At an unchanged 0.2.0, an already-installed user is never offered any of it,
  including the Cursor gateway this branch adds.

So the version moves to 0.3.0 in all eight places the validator checks, and the
Pi row moves with it.

`scripts/validate.mjs` now asserts the README's pinned tag matches
package.json. It cannot prove the tag exists on the remote from here, but it
makes the pin move with the version, which turns four releases of silent
staleness into a release step someone has to take.

**Merging this requires `git tag v0.3.0 && git push origin v0.3.0`** on the
merge commit, or the Pi row points at a tag that is not there yet.

Verified: validate green at 0.3.0, 12/12 tests. Non-vacuous — restoring only
the README pin to v0.2.0 fails the new assertion.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

---------

Co-authored-by: rokt <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant