Publish returns "Plugin not found" on any submission whose first scan failed with "Cursor SDK startup failed: Invalid User API Key"
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 15/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- authorization, backend
Hướng nghiên cứu
The payload points to three places: toggle-plugin-listing.ts and delete-plugin.ts, where the row-level-security check on mutations appears to differ from the ownership check used for reads, and recover-stuck-scans, which picks up status = 'processing' but skips status = 'error'. Start by comparing the RLS policy on those mutations with the read policy, then check whether the error status is handled. Done means a failed scan can be re-queued or the record can be deleted, and the ownership rules match across reads and writes. Reproducing this needs access to the submission backend, so confirm that with a maintainer first.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
A submission that fails its first scan is stuck permanently. Publish returns Plugin not found, and there is no visible way to re-run the scan from the dashboard. The scan error itself is server side.
Steps to reproduce
- Submit an MCP server at the community plugin submission form.
- Repo:
https://github.com/adrianpeticila/grai - Package:
grai-mcpon PyPI, version0.1.2 - Official registry entry:
io.github.adrianpeticila/grai-mcp - Transport: stdio
- Command:
uvx --from grai-mcp grai-gate-mcp - Submitted:
2026-11-10T20:53:00Z
- Repo:
- Let the initial scan run. It fails and the submission records:
flag_summary: "Cursor SDK startup failed: Invalid User API Key" - Open the submission and click Publish.
- The response is
Plugin not found.
Expected
Either the submission stays in a state where the scan can be re-run, or Publish works once the scan passes. Right now neither path exists, and the record cannot even be deleted.
Actual
Plugin not found on Publish, on every retry, across reloads and sessions. The submission is orphaned: it exists in my account, it cannot be published, and it cannot be removed. No request ID or error code is surfaced in the UI to quote back.
Why this is not a package problem
The server runs standalone with zero dependencies and a clean stdio handshake:
uvx --from grai-mcp grai-gate-mcp
Verified against grai-mcp==0.1.2: initialize returns serverInfo grai-gate version 0.1.2, tools/list returns the three tools, grai_score_draft returns a score and the failed rules. The package has no runtime deps (dependencies = [] in pyproject.toml), no auth of its own, and no network calls on startup. The failing check references a Cursor SDK API key, which is not something the submission provides or is asked for. The same package is active in the official MCP Registry (io.github.adrianpeticila/grai-mcp, version 0.1.2), so the metadata is parseable.
Two things I hit while debugging, possibly the same root cause
toggle-plugin-listing.tsanddelete-plugin.tsboth return a row-level-security denial for a record that is visible to the caller in the dashboard. A submission that cannot be toggled or deleted suggests the RLS policy on those mutations does not match the ownership check used for reads.recover-stuck-scansruns onstatus = 'processing'but skipsstatus = 'error', so a scan that errors out is never picked up again. From the outside, that looks identical to a listing that was silently dropped.
Impact
Any server whose first scan hits a transient or server-side error loses the submission permanently and has to start over, with no diagnostic to act on. That is the state of grai-cadence-gate since 2026-11-10T20:53:00Z.
Ask
Triage the orphaned record so it can be re-scanned or deleted. If the API key failure is on your side, a dashboard action to re-queue the scan would unblock it without manual intervention.
- Ngôn ngữ chính
- TypeScript
- Star
- 4k
- Fork
- 674
- Merge trung bình
- 8 phút
- Pull request đã merge (30 ngày)
- 28
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của cursor/community-plugins
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
cursor/community-plugins#572 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 74/100
cursor/community-plugins#567 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 73/100
cursor/community-plugins#543 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 66/100
cursor/community-plugins#518 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 70/100
cursor/community-plugins#516 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của cursor/community-plugins
Issue tương tự
-
inference/go type/feature
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 72/100
anomalyco/opencode#65148 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
truapi-release
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
paritytech/product-sdk#529 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add: Mansudae TVĐang mởapproved check:passed streams:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Perf] Canvas layer composition is quadratic: splitRenderLayers re-copies the node array per nodeĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
devlikeapro/waha#2369 ·
Maintainer thường phản hồi trong vòng 5 ngày