Beagle Security MCP Server
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Beagle Security MCP Server start a security test for our e-commerce application"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Beagle Security MCP Server
This is a Model Context Protocol (MCP) server that provides integration with the Beagle Security API. It allows you to manage projects, applications, and automated security testing through the Beagle Security platform.
Features
Project Management: Create, modify, list, and delete projects
Application Management: Create, get, modify, list, and delete applications
Domain Verification: Get verification signatures and verify domain ownership with multiple signature types
Security Testing: Start, monitor, stop, and retrieve results from automated penetration tests
Team Support: Work with team projects and tests
Related MCP server: Exegol MCP Server
Installation
Option 1: Docker (Recommended)
Clone this repository
Set up your environment variables:
cp .env.example .env # Edit .env with your API tokenBuild and run with Docker:
npm run docker:build npm run docker:run
Or use Docker Compose:
docker-compose up -dOption 2: Local Installation
Clone this repository
Install dependencies:
npm installBuild the project:
npm run build
Configuration
Environment Variables
Set your Beagle Security API token as an environment variable:
export BEAGLE_SECURITY_API_TOKEN=your_api_token_hereYou can obtain an API token from your Beagle Security account settings (Profile → Personal access token).
MCP Configuration
Docker Configuration
Add the server to your MCP configuration file:
{
"mcpServers": {
"beagle-security": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"--env", "BEAGLE_SECURITY_API_TOKEN=your_api_token_here",
"--env", "NODE_ENV=production",
"mcp/beagle-security-mcp-server"
]
}
}
}Local Configuration
For local installations:
{
"mcpServers": {
"beagle-security": {
"command": "node",
"args": ["path/to/beagle-security-mcp-server/build/index.js"],
"env": {
"BEAGLE_SECURITY_API_TOKEN": "your_api_token_here"
}
}
}
}Available Tools (18 Total)
Project Management (4 tools)
beagle_create_project: Create a new projectbeagle_modify_project: Modify an existing projectbeagle_list_projects: List all projects and applicationsbeagle_delete_project: Delete a project
Application Management (5 tools)
beagle_create_application: Create a new application in a projectbeagle_get_application: Get application details by tokenbeagle_modify_application: Modify an existing applicationbeagle_list_applications: List all applications under a projectbeagle_delete_application: Delete an application
Domain Verification (2 tools)
beagle_get_domain_signature: Get domain verification signaturebeagle_verify_domain: Complete domain verification with FILE, DNS, or API signature types
Security Testing (7 tools)
beagle_start_test: Start an automated penetration testbeagle_get_test_status: Get the status of a running testbeagle_stop_test: Stop a running testbeagle_get_test_result: Get detailed test results in JSON formatbeagle_list_test_sessions: List all test sessions for an applicationbeagle_list_running_tests: List all running tests for user or team (supports team filtering)
Testing
Comprehensive Test Suite
Run all tests to validate functionality:
# Run complete test suite (recommended)
npm run test:all
# Test individual components
npm run test:tools # Test all 18 MCP tools
npm run test:integration # Integration & API tests
npm run test # Unit tests
# Test with real API (requires token)
BEAGLE_SECURITY_API_TOKEN=your_token npm run test:allTest Features
Tool Validation: Tests all 18 tools with proper parameters
API Integration: Live API testing when credentials provided
Error Handling: Validates error scenarios and edge cases
Cross-Platform: Works on Linux, macOS, and Windows
Docker Testing: Validates container functionality
For detailed testing information, see TESTING.md.
Development
Docker Development
# Build Docker image
npm run docker:build
# Run with Docker
npm run docker:run
# Use Docker Compose
npm run docker:compose:up
# View logs
npm run docker:compose:logs
# Stop services
npm run docker:compose:downLocal Development
# Running in Development Mode
npm run dev
# Building
npm run build
# Starting the Server
npm startAPI Reference
This server implements the Beagle Security API v2.0. For detailed API documentation, visit: https://beaglesecurity.com/developer/apidoc
API Compatibility
This server implements Beagle Security API v2.0 with:
✅ All endpoints verified against official documentation
✅ Correct parameter naming (camelCase format)
✅ Proper error handling for all API response codes
✅ Latest API features including domain verification types
Error Handling
The server includes comprehensive error handling for:
Authentication errors (invalid API tokens)
HTTP errors (network issues, server errors)
Validation errors (missing required parameters)
API-specific errors (returned by Beagle Security)
Cross-platform compatibility issues
Security Considerations
Keep your API token secure and never commit it to version control
Use environment variables or secure configuration management
Ensure proper scopes are set when generating API tokens
Monitor API usage to detect unauthorized access
Troubleshooting
Common Issues
Server won't start: Run
npm run buildto check for build errorsAPI calls failing: Verify your
BEAGLE_SECURITY_API_TOKENis validDocker issues: Ensure Docker is installed and running
macOS timeout errors: Install with
brew install coreutilsor tests will auto-fallback
Getting Help
Run the test suite:
npm run test:allCheck the logs in development mode:
NODE_ENV=development npm startReview TESTING.md for detailed troubleshooting
API Reference
Complete API documentation: https://beaglesecurity.com/developer/apidoc
License
MIT License
Available Tools
17 toolsbeagle_create_applicationC
Create a new application in a project
Inputs: name (required), url (required), projectKey (required), type (required).
beagle_create_projectC
Create a new project in Beagle Security
Inputs: name (required), description, teamId.
beagle_delete_applicationC
Delete an application
Inputs: applicationToken (required).
beagle_delete_projectC
Delete a project
Inputs: projectKey (required).
beagle_get_applicationC
Get application details by token
Inputs: applicationToken (required).
beagle_get_domain_signatureC
Get domain verification signature
Inputs: applicationToken (required).
beagle_get_test_resultC
Get detailed test results in JSON format
Inputs: applicationToken (required), resultToken (required).
beagle_get_test_statusC
Get the status of a running test
Inputs: applicationToken (required), resultToken (required).
beagle_list_applicationsC
List all applications under a project
Inputs: projectKey (required).
beagle_list_projectsC
List all projects and applications
Inputs: includeTeam.
beagle_list_running_testsC
List all running tests for user or team
Inputs: teamId.
beagle_list_test_sessionsC
List all test sessions for an application
Inputs: applicationToken (required), count.
beagle_modify_applicationC
Modify an existing application
Inputs: applicationToken (required), name (required), url (required).
beagle_modify_projectC
Modify an existing project
Inputs: projectKey (required), name (required), description (required).
beagle_start_testC
Start an automated penetration test
Inputs: applicationToken (required).
beagle_stop_testC
Stop a running test
Inputs: applicationToken (required).
beagle_verify_domainC
Complete domain verification
Inputs: applicationToken (required), signatureType (required), pluginType.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Every tool has a clearly distinct purpose with no ambiguity. The tools are organized around specific resources (applications, projects, tests) and actions (create, delete, get, list, modify, start, stop, verify), making it easy for an agent to select the correct tool for any operation without confusion.
All tool names follow a consistent verb_noun pattern with the prefix 'beagle_'. This uniform naming convention (e.g., beagle_create_application, beagle_get_test_result) ensures predictability and readability throughout the tool set, with no deviations in style or structure.
With 17 tools, the server is well-scoped for its purpose of managing Beagle Security projects, applications, and tests. Each tool earns its place by covering essential operations like CRUD for projects and applications, test management, and domain verification, without being overly sparse or bloated.
The tool set provides complete CRUD/lifecycle coverage for the domain of security testing management. It includes creation, retrieval, listing, modification, and deletion for projects and applications, along with comprehensive test operations (start, stop, status, results, sessions) and domain verification, leaving no obvious gaps for agent workflows.
Maintenance
Related MCP Connectors
Grade a page's HTTP security headers, search penetration testing guides and send a pentest request for a person. The read tools need no authentication; request_pentest needs a free agent key.
Security scanner for n8n workflows + live MCP Trust-Check. 18 rules, OWASP mapped. Paid x402 API.
Security scanning for code, containers and IaC: request scans, read findings, report fixes.
Enrich, search, assess, and manage threat intelligence through 80+ typed MCP tools.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables AI agents to generate and manage specialized bug bounty hunting workflows including reconnaissance, vulnerability testing, OSINT gathering, and file upload testing. Provides REST API endpoints for comprehensive security assessments with intelligence-driven vulnerability prioritization.402MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to interact with Exegol pentesting containers to execute commands and manage container status. It includes seven predefined workflows for automated security tasks such as web reconnaissance, port scanning, and vulnerability assessment.2-
- AlicenseBqualityDmaintenanceProvides AI agents with structured access to the OWASP Bug Logging Tool (BLT) ecosystem for logging bugs, triaging issues, and managing security workflows. It enables actions like submitting vulnerabilities, tracking contributor leaderboards, and awarding gamified bacon points through a unified interface.49AGPL 3.0
- AlicenseNot gradedqualityDmaintenanceEnables automated bug bounty hunting and security research with tools for reconnaissance, web vulnerability scanning, API testing, binary analysis, and mobile app analysis through an MCP interface.MIT