Basic information
About Middlebrick MCP Server
Scan APIs for security vulnerabilities and get OWASP risk scores. Detects auth bypass, BOLA/IDOR, data exposure, prompt injection, and 12+ security categories.
Middlebrick is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by middleBrick. It exposes 3 tools, including scan_api, get_scan, list_scans. Supported transport: stdio. Runtime: TypeScript. License: MIT. Source code is hosted on github.com. Related topics: ai-security, api-security, api-testing, ci-cd, claude.
Setup
{
"mcpServers": {
"middlebrick": {
"command": "npx",
"args": [
"-y",
"@middlebrick/mcp-server"
],
"env": {
"MIDDLEBRICK_API_KEY": "mb_your_key_here"
}
}
}
}
{
"mcpServers": {
"middlebrick": {
"command": "npx",
"args": [
"-y",
"@middlebrick/mcp-server"
],
"env": {
"MIDDLEBRICK_API_KEY": "mb_your_key_here"
}
}
}
}
{
"servers": {
"middlebrick": {
"command": "npx",
"args": [
"-y",
"@middlebrick/mcp-server"
],
"env": {
"MIDDLEBRICK_API_KEY": "mb_your_key_here"
}
}
}
}
Middlebrick MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"middlebrick": {
"command": "npx",
"args": [
"-y",
"@middlebrick/mcp-server"
],
"env": {
"MIDDLEBRICK_API_KEY": "mb_your_key_here"
}
}
}
}
Middlebrick MCP Server tools
-
scan_api
— Scan an API endpoint for security vulnerabilities and get a risk score
url:string*, method:string -
get_scan
— Get results of a previous middleBrick scan by its ID
scanId:string* -
list_scans
— List previous middleBrick API security scans
limit:number, offset:number, status:string
Overview
What is Middlebrick?
Middlebrick is an MCP server that integrates with middleBrick API security scanning. It lets AI assistants like Claude and Cursor scan APIs for vulnerabilities via tool calls.
How to use Middlebrick?
Install by configuring the MCP client with the command npx -y @middlebrick/mcp-server and setting the MIDDLEBRICK_API_KEY environment variable. Invoke the tools scan_api, get_scan, and list_scans from the AI assistant.
Key features of Middlebrick
- Scan an API endpoint for security vulnerabilities
- Retrieve results of a previous scan
- List all previous scans with filtering
- Configure via environment variables
- Works with Claude Desktop and Cursor
Use cases of Middlebrick
- AI-assisted security auditing of API endpoints
- Automated vulnerability scanning during development
- Retrieving and reviewing past scan results in chat
Frequently asked questions
1 How do I get a Middlebrick API key?
Get your API key at middlebrick.com/dashboard.
2 What tools does Middlebrick provide?
Three tools: scan_api (scan an endpoint), get_scan (get a scan’s results), and list_scans (list previous scans).
3 What parameters does `scan_api` require?
The url parameter (string) is required; method (string, default GET) is optional.
4 Can I override the API base URL?
Yes, set the MIDDLEBRICK_BASE_URL environment variable (optional).
5 What scan statuses can I filter with `list_scans`?
You can filter by queued, processing, completed, or failed.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In