Bright MCP Integration
Bright's Model Context Protocol (MCP) integration brings AI-powered application security testing directly into your development workflow. Your AI coding assistant can discover API endpoints, run security scans, and review vulnerabilities — all through natural language conversation.
Bright MCP is a remote, cloud-hosted MCP server. There is nothing to install locally — you simply point your MCP-compatible client at Bright's endpoint and authenticate with an API key.
Quick Start
1. Get a Bright API Key
Create a dedicated API key in your Bright account. This can be a personal, project, or organization-level key with the relevant scopes. See Personal API Key Scopes for details.
2. Configure Your Client
Add Bright as a remote MCP server in your IDE or tool of choice. The server URL is:
https://app.brightsec.com/mcp
Note: If your organization uses a dedicated Bright cluster, replace
app.brightsec.comwith your cluster's hostname.
See Client Configuration below for IDE-specific instructions.
3. Start Using It
Ask your AI assistant something like:
Scan https://my-app.example.com for security vulnerabilities
Your assistant will use the Bright MCP tools to list projects, discover entrypoints, run scans, and report findings.
Client Configuration
VS Code (GitHub Copilot)
Add the following to your MCP configuration (via Command Palette → "MCP: Add Server" → Global, or manually edit your mcp.json):
{
"servers": {
"brightsec.com": {
"type": "sse",
"url": "https://app.brightsec.com/mcp",
"headers": {
"Authorization": "Api-Key ${input:apiKey}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "apiKey",
"description": "Enter your Bright API Key",
"password": true
}
]
}
Then go to the Extensions tab, right-click the brightsec.com MCP server, and choose Start Server. You'll be prompted to enter your API key.
Full guide: Configure Bright MCP in VS Code
Augment Code
- Open the Augment Code extension settings → Tools → MCP.
- Click + Add remote MCP.
- Fill in:
- Connection Type: HTTP
- Authentication Type: Header
- Name: BrightSec
- URL:
https://app.brightsec.com/mcp - Header Name:
Authorization - Header Value:
Api-Key YOUR_API_KEY
- Click Save.
Full guide: Configure Bright MCP in Augment Code
Cursor
Add to your Cursor MCP settings (.cursor/mcp.json):
{
"mcpServers": {
"brightsec": {
"url": "https://app.brightsec.com/mcp",
"headers": {
"Authorization": "Api-Key YOUR_API_KEY"
}
}
}
}
Windsurf
Add to your Windsurf MCP configuration (~/.codeium/windsurf/mcp_config.json):
{
"mcpServers": {
"brightsec": {
"serverUrl": "https://app.brightsec.com/mcp",
"headers": {
"Authorization": "Api-Key YOUR_API_KEY"
}
}
}
}
Generic MCP Client
Any MCP-compatible client that supports remote HTTP/SSE servers can connect to Bright. Configure it with:
Available Tools
Bright MCP exposes the following tools to your AI assistant:
Project Management
Endpoint Discovery
Entrypoint Management
Security Scanning
Vulnerability Management
Authentication Configuration
Private/Local Target Access
Usage Examples
Scan a Public Application
"Scan https://my-app.example.com for security vulnerabilities"
The assistant will:
- List your projects to find the appropriate one
- Get all discovered entrypoints for the project
- Run a security scan against those entrypoints
- Monitor the scan status and report findings
Discover Endpoints from an OpenAPI Spec
"Discover API endpoints from the OpenAPI spec at https://my-app.example.com/openapi.json"
The assistant will:
- Upload the OpenAPI definition file
- Run file-based discovery
- Monitor the discovery status
Scan a Local/Private Application
"Scan my local application at http://localhost:3000"
The assistant will:
- Check if Bright CLI is installed for repeater connectivity
- List your projects to find the appropriate one
- Create a repeater if needed
- Run a security scan through the repeater
- Monitor the scan status and report findings
Check for Critical Vulnerabilities
"Show me all critical and high severity issues in my project"
The assistant will:
- List your projects
- Query issues filtered by
CriticalandHighseverity - Present findings with details
Scan with Authentication
"Scan my API that requires Bearer token authentication"
The assistant will:
- Create or find an existing auth configuration
- Set up the proper headers/token flow
- Run the scan with authentication applied
See the examples/ directory for more detailed workflow examples.
How It Works
┌─────────────────────┐ ┌──────────────────────┐
│ AI Assistant │ MCP │ Bright Cloud │
│ (VS Code, Cursor, │◄──────►│ (app.brightsec.com)│
│ Windsurf, etc.) │ SSE │ │
└─────────────────────┘ └──────────┬───────────┘
│
│ Scans
▼
┌──────────────────────┐
│ Your Application │
│ (public or via │
│ repeater) │
└──────────────────────┘
- Your AI assistant connects to Bright's MCP endpoint over SSE/HTTP.
- Bright's cloud platform receives tool calls and orchestrates security operations.
- Scans run against your application — either directly (public targets) or through a Repeater (private/local targets).
Repeaters (Private/Local Targets)
To scan applications that aren't publicly accessible, Bright uses Repeaters — lightweight agents that route scan traffic from Bright's cloud through your local network.
- Create a repeater via the MCP tool (
createRepeater) - Start the repeater using the Bright CLI:
bright-cli repeater \ --id <REPEATER_ID> \ --hostname app.brightsec.com \ --token <YOUR_API_KEY> - Reference the repeater when running scans or discoveries
See the Bright CLI Installation Guide for setup instructions.
Resources
- Bright Documentation
- Bright MCP Tools Reference
- VS Code Configuration Guide
- Augment Code Configuration Guide
- API Key Scopes
- Bright CLI Installation
- Model Context Protocol Specification
License
This repository contains configuration examples and documentation for Bright's MCP integration. Bright's security scanning platform is a commercial SaaS product — visit brightsec.com for more information.