Skip to content

Cursor plugin: Secfoo in the Cursor Marketplace and an Add-to-Cursor install link, local or with an API key #226

Backlog

Description

@vsn411

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:

  1. "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.
  2. 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.
  3. 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.
  4. Submit to the Cursor Marketplace. Maintainer step: listing copy, icon (docs/assets/brand/), screenshots of a finding in the editor.
  5. 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

  1. added
    enhancement
    difficulty: medium
    on Nov 29, 2026
  2. SriRamkunamsetty commented on Nov 30, 2026

    @SriRamkunamsetty
    Contributor

    /assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty: mediumenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions