mcpField
M
Middlebrick

Middlebrick

Local
github.com/middleBrickDeveloper Tools0Updated 30w ago

About Middlebrick

Middlebrick is an MCP server for scanning API endpoints for security vulnerabilities, aimed at AI assistants and API security workflows. It provides tools to start scans and retrieve or list their results.

Key features

  1. 01Scan API endpoints for vulnerabilities
  2. 02Retrieve results by scan ID
  3. 03List scans with status filters

Use cases

  1. 01Check an API endpoint for security issues
  2. 02Review results from earlier scans
  3. 03Track scans by processing status

MCP support

The server exposes API scanning and scan-management tools to MCP clients, including `scan_api`, `get_scan`, and `list_scans`.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"middlebrick": {
"command": "npx",
"args": [
"-y",
"@middlebrick/mcp-server"
],
"env": {
"MIDDLEBRICK_API_KEY": "<MIDDLEBRICK_API_KEY>"
}
}
}
}
Run commandnpx -y @middlebrick/mcp-server
Environment variables to set
MIDDLEBRICK_API_KEYSecretYour middleBrick API key (get one at middlebrick.com)

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@middlebrick/mcp-server0.1.2

Tools

3

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
urlstringYesThe API endpoint URL to scan
methodstringNoHTTP method (default: GET)

Details

From the project README

@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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.