Repository navigation
Add the Cursor plugin - #1
Merged
Merged
Conversation
.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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.mdand.gitignoreare unchanged.scripts/check_plugin.pyis kiro-power's check script rewritten for Cursor's manifest..github/workflows/ci.ymlruns the same three jobs.The manifest
.cursor-plugin/plugin.jsonfollows https://cursor.com/docs/plugins.md, the reference it links and the schema incursor/plugins(schemas/plugin.schema.json). That schema setsadditionalProperties: false, so there is no$schemakey andauthorhas nourl. The logo ishttps://faxforagents.com/brand/logo-512.pngand the homepage ishttps://faxforagents.com.mcp.jsonpoints Cursor athttps://mcp.faxforagents.com/mcp/withAuthorization: Bearer ${FAXFORAGENTS_API_KEY}. The manifest declares that name undervariables, the way Cursor's own GitHub and Hunter plugins pass a key.Nothing changes on the server.
alternatives/stdio.mcp.jsonis 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/skillsmain 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'sdiffcould fail the job. I checked it with two pairs of files underbash -e. A mismatch in the first pair still exited 0. Here theechois on its own line, so any mismatch fails.Left out
The GitLab mirror workflow.
gitlab.com/faxforagents/cursor-plugindoes 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 toapi.faxforagents.com.Two findings are in the copied
truthcheck.shand 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 lacksDISPLAY.jsonand.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.pyprintscheck_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.cursor/pluginsschemas/plugin.schema.json.sh scripts/truthcheck.shprintstruthcheck: OK.raw.githubusercontent.com/faxforagents/skills/mainbyte for byte.hw_lint.py -c docs README.mdshows 0 BLOCK and 0 FIX.