Skip to content

Add the Cursor plugin - #1

Merged
bensynapse merged 2 commits into
mainfrom
add-cursor-plugin
Nov 19, 2026
Merged

bensynapse merged 2 commits into
mainfrom
add-cursor-plugin

Conversation

@bensynapse

@bensynapse bensynapse commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

This adds the Fax for Agents plugin for Cursor, ready to submit to the Cursor Marketplace. The layout copies faxforagents/kiro-power. scripts/truthcheck.sh, .github/dependabot.yml, LICENSE, SECURITY.md and .gitignore are unchanged. scripts/check_plugin.py is kiro-power's check script rewritten for Cursor's manifest. .github/workflows/ci.yml runs the same three jobs.

The manifest

.cursor-plugin/plugin.json follows https://cursor.com/docs/plugins.md, the reference it links and the schema in cursor/plugins (schemas/plugin.schema.json). That schema sets additionalProperties: false, so there is no $schema key and author has no url. The logo is https://faxforagents.com/brand/logo-512.png and the homepage is https://faxforagents.com.

mcp.json points Cursor at https://mcp.faxforagents.com/mcp/ with Authorization: Bearer ${FAXFORAGENTS_API_KEY}. The manifest declares that name under variables, the way Cursor's own GitHub and Hunter plugins pass a key.

Nothing changes on the server.

alternatives/stdio.mcp.json is claude-code-plugin's stdio alternative, npx -y faxforagents-mcp@0.3.1, with Cursor's placeholder for the key. The README says plainly that 0.3.1 has 15 tools, not the hosted 17.

The skill is byte for byte faxforagents/skills main at a6e1343.

One fix to the copied CI

kiro-power's skill comparison ends its loop in done && echo. Bash ignores a failing command before the last &&, so only the last file's diff could fail the job. I checked it with two pairs of files under bash -e. A mismatch in the first pair still exited 0. Here the echo is on its own line, so any mismatch fails.

Left out

The GitLab mirror workflow. gitlab.com/faxforagents/cursor-plugin does not exist (the API answers 404), and the only GitLab token on this machine answers 401. Push to create would at best make a private project with no description.

Codex review

One read-only Codex pass (gpt-6.2-sol, effort max) on this branch found ten issues. Seven are fixed in 99fb7eb. The check now tests value types, refuses manifest fields that replace Cursor's discovery, reports bad JSON and pins both MCP configs to exact keys. It allows only the vendored skill and refuses the copy the owner ruled out. The README no longer says Cursor sends the API key only to mcp.faxforagents.com. The stdio alternative sends it to api.faxforagents.com.

Two findings are in the copied truthcheck.sh and stay as kiro-power has them. One needs a broken git index. The other prints a committed API key in the job log, where the commit has already made it public. The last says the skill folder lacks DISPLAY.json and .tessl-plugin. Those are listing metadata for other registries, and the owner asked for the four files kiro-power carries.

The review also named three risks. The logo is a URL where Cursor's checklist prefers a file, which is the owner's call and is noted in the submission issue. Nobody has tested setting the API key on a local install, because this machine has no Cursor.

A team plugin's variables are shared by the whole team. The README now says so.

How I checked it

  • python3 scripts/check_plugin.py prints check_plugin: OK, online and with the schema fetch blocked. I broke 27 copies of the config and each one failed with a message and no traceback. They include every case the review below raised.
  • The manifest validates with ajv 8 against cursor/plugins schemas/plugin.schema.json.
  • sh scripts/truthcheck.sh prints truthcheck: OK.
  • Each of the four skill files equals raw.githubusercontent.com/faxforagents/skills/main byte for byte.
  • hw_lint.py -c docs README.md shows 0 BLOCK and 0 FIX.
  • Before copying the workflows I ran the CI audit on kiro-power. Its three checks take 4 to 5 seconds and nothing there carried a measured saving, so the jobs are copied as they are.

.cursor-plugin/plugin.json follows Cursor's plugin reference and the
schema in cursor/plugins. That schema allows no $schema key and no
author url, so the manifest drops both where kiro-power has them. The
key is the plugin variable FAXFORAGENTS_API_KEY. Cursor's own plugins
pass a bearer token the same way.

mcp.json points at the hosted server and changes nothing on it.
alternatives/stdio.mcp.json is the claude-code-plugin alternative with
Cursor's placeholder. The skill is copied byte for byte from
faxforagents/skills main a6e1343.

The CI check that compares the skill with its source now fails on any
file. In the kiro-power form the loop ended in && echo, and bash then
ignores a failing diff before the last file.

The GitLab mirror workflow is left out. The GitLab project
faxforagents/cursor-plugin does not exist, and no working GitLab token
is available here to create it.
A Codex review found gaps in check_plugin.py. It accepted a description
of false and keywords given as a string. Malformed JSON, NaN, or null
variables and headers either crashed it or passed. A manifest path that
replaced Cursor's discovery made it check files Cursor would skip. An
extra stdio env entry, which can move the API endpoint, also passed.

The check now tests value types from Cursor's schema and refuses the
discovery fields. It reports bad JSON instead of crashing, and pins
both MCP configs to their exact keys. It allows only the vendored skill
and refuses the copy the owner ruled out in README.md and the manifest.
Twenty-seven broken copies each fail with a message and no traceback.

The README said Cursor sends the API key only to mcp.faxforagents.com.
That holds for mcp.json. The stdio alternative sends it to
api.faxforagents.com.
It also names the copied skill files and the Enterprise import setting.
It now says that a team plugin's variables are shared by the team.
@bensynapse
bensynapse merged commit 3d3385c into main Nov 19, 2026
3 checks passed
@bensynapse
bensynapse deleted the add-cursor-plugin branch November 19, 2026 07:31
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