secscan-mcp

secscan-mcp

MCP server for Cursor that scans codebases for security issues including hardcoded secrets, SAST, vulnerable dependencies, and IaC misconfigurations.

Category
Visit Server

README

secscan-mcp

MCP server for Cursor that scans codebases for security issues: hardcoded secrets, SAST, vulnerable dependencies, and IaC misconfigurations.

The built-in custom scanner works with no extra tools. Install optional CLIs (below) for broader coverage.

Install

Requires Python 3.11+.

git clone <repository-url>
cd mcp_test
python3 -m venv .venv
source .venv/bin/activate   # Windows: .venv\Scripts\activate
pip install .

Confirm the command exists:

which secscan-mcp

Use in Cursor

Option 1 — Any project (recommended)

Add to ~/.cursor/mcp.json (create the file if needed):

{
  "mcpServers": {
    "secscan": {
      "command": "/absolute/path/to/secscan-mcp"
    }
  }
}

Use the path from which secscan-mcp after install.

Then:

  1. Cmd+Shift+PDeveloper: Reload Window
  2. Cursor Settings → Tools & MCPsecscan should show as connected (green)
  3. Open the project you want to scan
  4. In Agent chat, ask the agent to use the tools (see examples)

Works for any folder you open in Cursor, not only this repository.

Option 2 — This repo only

If you develop or test secscan-mcp itself, use the included .cursor/mcp.json and run make install-dev so ${workspaceFolder}/.venv/bin/secscan-mcp exists.

MCP tools

Tool Purpose
list_available_scanners Which engines are installed on this machine
scan_secrets Hardcoded credentials and secrets
scan_code SAST (semgrep, bandit)
scan_dependencies Vulnerable packages (osv-scanner)
scan_iac IaC misconfigurations (checkov)
scan_all All available scanners, one report
explain_finding Remediation hints for a rule_id

Most tools accept path (directory to scan) and optional severity_threshold (critical, high, medium, low, info).

Example prompts

  • “Call list_available_scanners and tell me what’s installed.”
  • “Run scan_secrets on this project.”
  • “Run scan_all with severity_threshold high and summarize the findings.”
  • “Explain the rule internal-api-key.”

Optional scanners

Tool Category Install (example)
gitleaks secrets brew install gitleaks
semgrep SAST pip install semgrep
bandit SAST (Python) pip install bandit
osv-scanner dependencies brew install osv-scanner
checkov IaC pip install checkov

After installing, run list_available_scanners again to confirm.

Troubleshooting

Problem What to try
secscan missing in MCP list Reload window; confirm mcp.json path and JSON syntax
Red / failed to start Re-run pip install .; check which secscan-mcp matches config command
Agent doesn’t call tools Use Agent mode; name the tool explicitly in your message
Only custom runs Expected until optional CLIs are installed

Development

See docs/CONTRIBUTING.md and PLAN.md.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured