Skip to content

Installing into Cursor now connects Cursor, and release 0.3.0 - #7

Merged
teechoi merged 2 commits into
mainfrom
fix/cursor-gets-the-gateway
Aug 31, 2026
Merged

teechoi merged 2 commits into
mainfrom
fix/cursor-gets-the-gateway

Conversation

@teechoi

@teechoi teechoi commented Aug 31, 2026 •

Copy link
Copy Markdown
Collaborator

1. The bug

.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. #6 documented it; this fixes it.

   "skills": "./plugins/nullshot/skills/",
+  "commands": "./plugins/nullshot/commands/",
+  "mcpServers": {
+    "nullshot": { "type": "http", "url": "https://mcp.nullshot.ai/mcp" }
+  }

mcpServers is a documented Cursor manifest field — a path, an inline object, or an array — and this is the shape Cursor's own first-party remote-MCP plugins use (third_party/ahrefs, third_party/brevo): transport inferred from url. It validates against Cursor's published schemas/plugin.schema.json. commands was missing for the same reason skills alone was not enough: ten command files ship here 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, the same reasoning that keeps .mcp.json plain for Codex. So Cursor stays production-only, and the README says where a non-production user goes instead: the one-click Cursor button in Nullshot's Connect panel, which writes that environment's gateway. That panel now also offers this plugin — null-shot/platform#3177.

2. Release 0.3.0, because none of the last four PRs can reach anyone

v0.2.0 was cut before #3, #4, #5 and #6, and every manifest still declared 0.2.0:

$ git log --oneline v0.2.0..main
6c62bd5  Fix the Cursor row (#6)
af9c367  Fix Codex bootstrap commands (#5)
7b227c7  Drive Spek tasks through atomic claims (#4)
a3886e8  Make the gateway URL environment-aware (#3)

So the README's own Pi row installed a plugin that could only reach production, taught update_jam_todo instead of atomic claims, and carried the two invented Codex commands. And with the version frozen, Claude Code and Cursor had nothing to offer an already-installed user as an update — including this branch's Cursor fix.

The version now moves to 0.3.0 in all eight places the validator checks, and the Pi row moves with it. scripts/validate.mjs asserts the README's pinned tag matches package.json, so the pin can no longer sit four releases behind in silence.

Important

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 does not exist yet. The validator can check the pin, not the remote.

Verification

  • node --test test/*.test.mjs — 12 pass; node scripts/validate.mjs green at 0.3.0.
  • Non-vacuous, twice: restoring only the manifest to main fails installing into Cursor connects Cursor and throws in the validator; restoring only the README pin to v0.2.0 fails the new tag assertion.
  • The URL the manifest carries answers POST https://mcp.nullshot.ai/mcp with 401 and WWW-Authenticate: Bearer realm="platform-mcp-gateway", resource_metadata="…/.well-known/oauth-protected-resource". The README's claim that Cursor discovers OAuth from a 401 is true for Cursor for the first time — before this there was no server to return one.

I could not drive Cursor's dashboard import from here, so the install flow itself is unverified end to end; everything it depends on — schema, field shape, paths, and the live 401 — is.

`.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]>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk: medium. Approved. Cursor Bugbot completed with no findings; Cursor Security Agent was not running. No reviewers were assigned.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Approver

`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 teechoi changed the title Installing into Cursor now connects Cursor Installing into Cursor now connects Cursor, and release 0.3.0 Aug 31, 2026
@teechoi
teechoi merged commit 9c0fe86 into main Aug 31, 2026
3 checks passed
@teechoi
teechoi deleted the fix/cursor-gets-the-gateway branch August 31, 2026 20:46
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