You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cursor plugin: Secfoo in the Cursor Marketplace and an Add-to-Cursor install link, local or with an API key #226
Part of #224. Builds on secfoo mcp serve and the skill build step defined there.
Problem: secfoo already drives Cursor's agent CLI and can write MCP servers into ~/.cursor/mcp.json (secfoo mcp sync --agent agent). But a Cursor user has to find the CLI first. Nothing installs from inside Cursor, and secfoo's skills don't appear in the editor's agent.
Goal: Secfoo in the Cursor Marketplace with a one-click install. It runs locally with no key, and an optional Secfoo API key connects it to the org portal.
Build:
"Add to Cursor" install link (quick win). A Cursor MCP install deeplink for uvx secfoo mcp serve, shown as a button in the README and on secfoo.com. It works before any marketplace listing exists.
Cursor plugin. Package the MCP server, generated rules/skills for each secfoo skill (from the shared build step), and commands for scan / findings / connect in Cursor's plugin format. Verify the format against Cursor's current plugin docs and record the Cursor version tested.
Key handling. Same contract as the tracking issue: no key means local mode. "Connect" runs the existing secfoo cloud login flow, or a secure settings field passes the same key. Never write the key into .cursor/mcp.json or project files. The 0600 rule from Security: write ~/.cursor/mcp.json with 0600 permissions (it holds MCP auth headers) #171 applies to any secret on disk.
Submit to the Cursor Marketplace. Maintainer step: listing copy, icon (docs/assets/brand/), screenshots of a finding in the editor.
Keep the CLI path working.secfoo mcp sync --agent agent and the existing cursor.py adapter stay supported, and the docs explain when to use the plugin and when to use the CLI.
Where to look:src/secfoo/agents/cursor.py, src/secfoo/mcp.py (sync_cursor), tests/test_agents/test_cursor.py, docs/agents.md, README.md.
Done when: a Cursor user installs from the Marketplace (or the deeplink), runs a secret-scanning review of the open workspace from Cursor's agent, and sees the result locally with no key. With an ingest key, the run appears in the portal. The README has the Add-to-Cursor button.
Activity
SriRamkunamsetty commentedon Nov 30, 2026
/assign