Darkmoon MCP Server
Drive a self-hosted Darkmoon Pro AI pentest instance: start runs, read campaigns and findings.
Darkmoon scores 70 (Good), licensed AGPL-3.0 and written in TypeScript. It installs as a local process. It declares 4 tools. Filed under Security. GitHub shows 1 stars. Package registries report about 60 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
70 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: agpl-3.0.
License, quality and maintenance
License: Grade C
AGPL-3.0 is a strong copyleft license: derived works must use the same license.
How license is gradedQuality: Grade A
86/100 for listing completeness. Lost points: short README, short summary.
How quality is graded
Where the 70 comes from
22 + 20 + 4 + 10 + 4 + 10 = 70. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 4 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "ascit31-darkmoon-mcp-server": { "command": "npx", "args": [ "-y", "@darkmoon_ai/mcp-server@0.1.0" ], "env": { "DARKMOON_BASE_URL": "", "DARKMOON_USERNAME": "", "DARKMOON_PASSWORD": "YOUR_DARKMOON_PASSWORD", "DARKMOON_TOKEN": "YOUR_DARKMOON_TOKEN" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
DARKMOON_BASE_URL | Required | Base URL of your self-hosted Darkmoon Pro Dashboard API |
DARKMOON_USERNAME | Optional | Dashboard user |
DARKMOON_PASSWORDSecret | Optional | Dashboard password |
DARKMOON_TOKENSecret | Optional | Pre-issued JWT, alternative to username/password |
Tools4Tool docs quality grade C
All capabilitiesget_findingstoolVulnerabilities and severity statistics for a campaign (read only)
get_run_statustoolReport running, completed, error or unknown for a run, from its run log
list_campaignstoolList campaigns visible to the dashboard user (read only)
run_pentesttoolStart an autonomous pentest against one authorized target and return the runid
About
@darkmoon_ai/mcp-server
[!IMPORTANT] License change. This repository moved from the GNU GPL v3.0 to the GNU AGPL v3.0 on 20 November 2026; every commit up to
cc7ea74(including npm v0.1.0) stays under the GNU GPL v3.0. Darkmoon Community is moving to the GNU AGPL v3.0 too (its commits up toedfe9cb, 27 October 2026, and earlier outside contributions stay GPL v3.0). Details: LICENSING.md · Darkmoon LICENSING.md.
A Model Context Protocol server that lets an MCP client (Claude Desktop, Goose, Continue, LibreChat, ...) drive Darkmoon, an open source (AGPL-3.0) autonomous AI penetration testing platform.
Requires Darkmoon Pro
The Darkmoon engine and CLI are open source. This server talks to the Darkmoon Dashboard API, which is part of Darkmoon Pro and always self-hosted: there is no public hosted endpoint, so you supply the base URL of your own instance. It does not work against the open source CLI alone.
Tools
| Tool | Description |
|---|---|
run_pentest | Start an autonomous pentest against one authorized target and return the run_id |
get_run_status | Report running, completed, error or unknown for a run, from its run log |
list_campaigns | List campaigns visible to the dashboard user (read only) |
get_findings | Vulnerabilities and severity statistics for a campaign (read only) |
Only run assessments against systems you own or are explicitly authorized in writing to test. Findings can include false positives and must be reviewed by a qualified human.
Configuration
| Variable | Description |
|---|---|
DARKMOON_BASE_URL | Base URL of your Darkmoon Pro Dashboard API (required) |
DARKMOON_USERNAME, DARKMOON_PASSWORD | Dashboard credentials; a JWT is requested on each call and never cached |
DARKMOON_TOKEN | Alternative to username/password: a pre-issued JWT |
DARKMOON_TIMEOUT_MS | Optional per-request timeout, default 60000 |
Client configuration
Claude Desktop (claude_desktop_config.json), Continue and LibreChat use the same mcpServers shape:
{
"mcpServers": {
"darkmoon": {
"command": "npx",
"args": ["-y", "@darkmoon_ai/mcp-server"],
"env": {
"DARKMOON_BASE_URL": "https://darkmoon.example.internal",
"DARKMOON_USERNAME": "your-dashboard-user",
"DARKMOON_PASSWORD": "your-dashboard-password"
}
}
}
}
Goose (~/.config/goose/config.yaml):
extensions:
darkmoon:
type: stdio
enabled: true
name: darkmoon
cmd: npx
args: ["-y", "@darkmoon_ai/mcp-server"]
envs:
DARKMOON_BASE_URL: https://darkmoon.example.internal
DARKMOON_USERNAME: your-dashboard-user
DARKMOON_PASSWORD: your-dashboard-password
Continue (.continue/mcpServers/darkmoon.yaml):
name: Darkmoon
version: 0.1.0
schema: v1
mcpServers:
- name: darkmoon
command: npx
args: ["-y", "@darkmoon_ai/mcp-server"]
env:
DARKMOON_BASE_URL: https://darkmoon.example.internal
DARKMOON_USERNAME: your-dashboard-user
DARKMOON_PASSWORD: your-dashboard-password
Develop
npm install
npm run build
npm test # mocked Dashboard API, in-memory MCP client and a real stdio process
License
This MCP server is licensed under the GNU AGPL v3.0 (AGPL-3.0-only), see LICENSE and LICENSING.md. Earlier versions, up to commit cc7ea74 and npm v0.1.0, stay under GPL-3.0-only. Darkmoon itself is AGPL-3.0, see LICENSING.md.
Frequently asked questions
What is Darkmoon MCP Server?
Drive a self-hosted Darkmoon Pro AI pentest instance: start runs, read campaigns and findings.
How do I install Darkmoon MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. Darkmoon MCP Server runs locally from the npm package @darkmoon_ai/mcp-server with the command npx -y @darkmoon_ai/mcp-server@0.1.0.
Is Darkmoon MCP Server free and open source?
Yes. Darkmoon MCP Server is released under the AGPL-3.0 license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does Darkmoon MCP Server support remote (HTTP) connections?
No remote endpoint is listed for Darkmoon MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does Darkmoon MCP Server provide?
Darkmoon MCP Server provides 4 tools: get_findings, get_run_status, list_campaigns, and run_pentest. See the full tool list for descriptions and parameters.
How is Darkmoon MCP Server's trust score calculated?
Darkmoon MCP Server scores 70 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.