middleBrick

Discover vulnerabilities of your APIs in less than a minute.

@middlebrick/mcp-server

MCP server for middleBrick API security scanning. Lets AI assistants (Claude, Cursor, etc.) scan APIs for vulnerabilities via tool calls.

Setup

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "middlebrick": {
      "command": "npx",
      "args": ["-y", "@middlebrick/mcp-server"],
      "env": {
        "MIDDLEBRICK_API_KEY": "mb_your_key_here"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "middlebrick": {
      "command": "npx",
      "args": ["-y", "@middlebrick/mcp-server"],
      "env": {
        "MIDDLEBRICK_API_KEY": "mb_your_key_here"
      }
    }
  }
}

Get your API key at: middlebrick.com/dashboard

Tools

ToolDescription
scan_apiScan an API endpoint for security vulnerabilities
get_scanGet results of a previous scan
list_scansList previous scans

scan_api

ParameterTypeRequiredDescription
urlstringYesAPI endpoint URL
methodstringNoHTTP method (default: GET)

get_scan

ParameterTypeRequiredDescription
scanIdstringYesScan ID to retrieve

list_scans

ParameterTypeRequiredDescription
limitnumberNoMax results
offsetnumberNoSkip count
statusstringNoFilter: queued, processing, completed, failed

Environment Variables

VariableRequiredDescription
MIDDLEBRICK_API_KEYYesAPI key
MIDDLEBRICK_BASE_URLNoAPI URL override

License

Apache 2.0 — middleBrick

Server Terkait

NotebookLM Web Importer

Impor halaman web dan video YouTube ke NotebookLM dengan satu klik. Dipercaya oleh 200.000+ pengguna.

Instal Ekstensi Chrome