Scan failed for grai-cadence-gate, Publish returns "Plugin not found"

Open
#525 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
backend

Research direction

Start by reading toggle-plugin-listing.ts and delete-plugin.ts alongside update-plugin.ts to understand how their database clients read plugin rows. Then inspect recover-stuck-scans and the plugin metadata editing flow, using the repo’s .mcp.json as the stated source for the MCP command. Done means scans can recover from errors, owners can publish and delete their inactive listing, and the listing metadata supports the command shown in .mcp.json.

Written by the indexing model from the issue text.

Description

Listing: https://cursor.directory/plugins/grai-cadence-gate
Repo: https://github.com/adrianpeticila/grai

The scan fails instantly at SDK startup and never reads the repo:

  • scan_status: error, flag_summary: "Cursor SDK startup failed: Invalid User API Key"
  • last_scanned_at equals updated_at to the millisecond after each edit, so the rescan runs and dies in the same second
  • the scanner's Cursor SDK credentials need rotating

Related bugs on the same listing:

  1. Publish and Delete both return "Plugin not found". toggle-plugin-listing.ts and delete-plugin.ts do an RLS-scoped select on plugins, while update-plugin.ts (admin client) works on the same id. The owner cannot read the inactive row through the cookie client.
  2. recover-stuck-scans only requeues rows with scan_status set to 'pending' or 'scanning'. Rows left in error never retry, even after the key is fixed.
  3. The component was imported with metadata: {}, so the MCP has no command and the plugin cannot be installed with one click. There is no field in the edit form to set it. Please refresh the metadata from the repo's .mcp.json, which now points to: uvx --from grai-mcp grai-gate-mcp
Dominant language
TypeScript
Stars
4k
Forks
671
Avg merge
7m
Merged PRs (30d)
32

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cursor/community-plugins

All issues in cursor/community-plugins

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.