MCP server exposing the Cyver reporting platform to Claude via the cyver-reporting wrapper.
Project description
cyver-mcp
A Model Context Protocol (MCP) server that lets Claude read from and
write to the Cyver pentest reporting platform
through chat. Wraps the
cyver-reporting Python
client and exposes 36 tools across reads, writes, and two
modifications-gated patch tools.
Features
- 20 read tools (always on): projects, findings, clients, users (search + single-user detail), teams, client assets, plus reference data (vulnerability types, report templates, project templates), finding-library lookups, project-file listing and download (download returns inline image content for screenshots / PoC captures).
- Auto-resolved default project template.
create_projectdiscovers "Default Pentest" by title at runtime, so callers don't need to look up or hard-code a UUID; pass an explicitproject_template_idto override. - 14 write tools (opt-in via
CYVER_ALLOW_WRITES=1): create findings (from scratch or from a library template, with inline evidence and built-in reporting-convention enforcement), append evidence, change finding status, change severity / CVSS, update client metadata, update client-asset fields, create / move projects, create clients and assets, attach users / assets / teams to projects, upload binary evidence files. All update tools are load-modify-save (preserve every field you don't supply). - 2 modifications-gated patch tools (additionally
CYVER_ALLOW_MODIFICATIONS=1):update_finding_fieldspatches textual finding fields (name, description, recommendation, background, impact / likelihood prose, CVE / CWE / vulnerability-type / MITRE technique lists);update_finding_evidencepatches a single evidence record on a finding (title, issue_details, results, reproduce, location, ip, port, protocol, version, visibility, compliance status). Both load-modify-save: only supplied fields change. Built for post-review fixes piped through/pentest-validatoror/pentest-report-reviewskills. - PUSH gate on the modifications-tier tools (
update_finding_fields,update_finding_evidence). They rewrite customer-visible report content, so they default todry_run=Trueand requireconfirm="PUSH"for live writes. The user types PUSH in chat; Claude forwards the literal string.update_finding_statusandupdate_finding_severityare workflow-tier — no PUSH gate, standarddry_run=Falsedefault. - Dry-run preview on every write tool. Returns the would-be request body without sending.
- Audit log as JSON lines on every write. Default sink is
stderr; set
CYVER_AUDIT_LOGto a file path to also append there. Sensitive values redacted automatically. - Severity 0..4 ↔ label and finding status 1..14 ↔ label mappings applied automatically on reads and accepted by name on writes.
- No secrets in the MCP config block. The server loads
.envitself.
Requirements
- Python 3.10 or newer
- A Cyver portal account (username + password; 2FA supported)
- Claude Desktop or Claude Code
Pure Python, runs on macOS, Linux, and Windows.
Installation
pipx install cyver-mcp
pipx is the recommended path for CLI tools. Plain
pip install cyver-mcp works too if you prefer to manage your own
venv.
Quick Start
One-time setup
Run the wizard. It writes ~/.config/cyver-mcp/.env (chmod 600) and
primes the encrypted refresh-token cache.
cyver-mcp setup
Prompts:
Portal hostname (e.g. app.cyver.io): app.cyver.io
Username or email: you@example.com
Password: ********
Enable write tools (create findings, projects, etc.)? [y/N]: y
Enable modifications tools (patch existing finding text and evidence: update_finding_fields, update_finding_evidence)? [y/N]: y
2FA required. A code has been sent to your email.
Enter 2FA code: 123456
OK. Token cached for pentester session on app.cyver.io.
Re-authenticate later
When the cached token expires, refresh without re-running setup:
cyver-mcp login
Prompts for a 2FA code only when the wrapper raises
Cyver2FARequired. Otherwise silent.
To wipe the cache:
cyver-mcp logout
Connect Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json
(macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{
"mcpServers": {
"cyver": {
"command": "cyver-mcp"
}
}
}
Restart Claude Desktop. The cyver tools appear in the tool list.
Connect Claude Code
Add the same block to .mcp.json in any project where you want the
tools available, then restart Claude Code in that directory.
Try it
In a new chat:
List three projects from Cyver.
Claude calls search_projects and returns three real project
records. To verify writes (if enabled):
Use create_finding with dry_run=true to preview a Critical finding for project P-YYYY-NNNN about MFA missing.
You see a would_send payload back, with no actual change made on
the portal.
Tools
Reads (20, always registered)
| Tool | Purpose |
|---|---|
search_projects |
Filter projects by client, status, or name. |
get_project |
Full detail for one project. |
list_project_report_versions |
Versions of the project's report. |
list_project_checklists |
Checklists associated with a project. |
list_project_compliance_norms |
Compliance norms attached to a project. |
search_findings |
Filter by project, status, severity, type, client, or free-text. Includes severityLabel and statusLabel. |
get_finding |
Full finding detail (evidence included by default). |
search_clients |
Filter clients by name/status. |
get_client |
Full client detail. |
list_client_assets |
Assets owned by a client. |
search_users |
Filter users by name, client, or role. |
get_user |
Full detail for one user by UUID. |
search_teams |
Filter teams by name, client, or project. |
list_vulnerability_types |
Vulnerability type catalog. |
list_report_templates |
Available report templates. |
list_project_templates |
Available project templates (used by create_project auto-resolve). |
list_finding_libraries |
Finding-library catalog. |
list_finding_templates |
Templates inside a library. |
list_project_files |
List files attached to a project (id + name + type metadata). Pairs with download_project_file. |
download_project_file |
Fetch a project file's bytes; returns an inline image content block for image/* MIMEs. |
Writes (14, opt-in via CYVER_ALLOW_WRITES=1)
With the flag unset, the tools are not registered at all (Claude
can't see or call them). update_finding_status and
update_finding_severity are workflow-tier updates with the
standard dry_run=False default. The PUSH gate applies only to
update_finding_fields in the modifications tier below.
| Tool | Purpose |
|---|---|
create_finding |
Create a finding on a project (with optional inline evidence; supports template_id for from-template creation). |
update_finding_status |
Change a finding's status. Load-modify-save; preserves every other field. |
update_finding_severity |
Change severity (0..4 / Informational..Critical) and / or CVSS 3.1 vector + score. Load-modify-save. |
add_evidence_to_finding |
Append evidence records to an existing finding (true add). |
create_project |
Create a project for a client. |
update_project_status |
Move a project (ONBOARDING / TESTING / REPORTING / REMEDIATION / COMPLETED). |
create_client |
Create a new client. |
create_client_asset |
Create an asset under a client. |
add_users_to_project |
Append users (true add, no replace). |
add_assets_to_project |
Append assets (true add, no replace). |
add_teams_to_project |
Append teams (true add, no replace). |
upload_evidence_to_project |
Upload a binary file (screenshot, PoC, etc.) as project evidence. |
update_client |
Load-modify-save patch on a client (name, status, account_manager_id, client_information, label_id_list, team_id_list). |
update_client_asset |
Load-modify-save patch on a client asset by (client_id, asset_id). |
Every write tool accepts dry_run=True and emits one audit-log
line per call. Update tools additionally capture per-field from/to
diffs in the audit log.
Modifications (2, additionally CYVER_ALLOW_MODIFICATIONS=1)
| Tool | Purpose |
|---|---|
update_finding_fields |
Patch any subset of textual finding fields (name, description, recommendation, background, impact / likelihood prose, CVE / CWE / vulnerability-type / MITRE technique lists). Load-modify-save; only supplied fields change. PUSH-gated. |
update_finding_evidence |
Patch a single evidence record on a finding by evidence_id (title, issue_details, results, reproduce, location, ip, port, protocol, version, is_visible_in_report, evidence_compliance_status). Load-modify-save; preserves other fields on that evidence and other evidence records on the finding. PUSH-gated. |
Use these for post-review fixes from /pentest-validator or
/pentest-report-review. Severity / CVSS go through
update_finding_severity instead. Status goes through
update_finding_status. To append NEW evidence (rather than patch
an existing record), use add_evidence_to_finding.
Configuration
Environment variables
The server reads .env from $CYVER_CONFIG, then ./.env, then
~/.config/cyver-mcp/.env. Process env always wins over file values.
| Variable | Required | Purpose |
|---|---|---|
CYVER_PORTAL |
yes | Portal hostname, e.g. app.cyver.io. |
CYVER_USERNAME |
preferred | Cyver username or email. Primary auth path. |
CYVER_PASSWORD |
preferred | Used with CYVER_USERNAME. |
CYVER_API_KEY |
optional | Static API key. Leave blank to use username/password. |
CYVER_SESSION_TYPE |
optional | pentester (default) or client. |
CYVER_ALLOW_WRITES |
optional | 1 to register the 12 write tools. Default: off. |
CYVER_ALLOW_MODIFICATIONS |
optional | 1 to also register update_finding_fields. Has no effect without CYVER_ALLOW_WRITES=1. |
CYVER_AUDIT_LOG |
optional | Path to append audit-log JSON lines. Default: stderr. |
CYVER_CONFIG |
optional | Override the .env search path. |
Username/password is the preferred path. Static API keys are supported as a fallback when one is available.
Audit log
Every write tool (live or dry-run) emits one JSON object per line:
{"ts":"2026-04-27T10:46:21Z","tool":"create_finding","target":"<project_id>","result":"ok","params":{...}}
result is one of ok, dry_run, or error:<ExceptionName>.
Sensitive values (passwords, tokens, 2FA codes) are redacted before
the line is written.
License
MIT.
Developed and maintained by penetration testers at Thoropass.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cyver_mcp-0.5.3.tar.gz.
File metadata
- Download URL: cyver_mcp-0.5.3.tar.gz
- Upload date:
- Size: 47.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e28bb8b3f72bef9db42d810fd9a991084ca81568069e7b31ecc1706617fa105a
|
|
| MD5 |
894487519a9d503a179873eaf73ac73f
|
|
| BLAKE2b-256 |
fc068c273ddfa63a64d3718b317baf8de3a38c1fd93bf9aa7ae35d4162291f05
|
Provenance
The following attestation bundles were made for cyver_mcp-0.5.3.tar.gz:
Publisher:
release.yml on heylaika/cyver-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cyver_mcp-0.5.3.tar.gz -
Subject digest:
e28bb8b3f72bef9db42d810fd9a991084ca81568069e7b31ecc1706617fa105a - Sigstore transparency entry: 1567417129
- Sigstore integration time:
-
Permalink:
heylaika/cyver-mcp@69269b4a822eb2653d7141b248a37341609aaa2f -
Branch / Tag:
refs/tags/v0.5.3 - Owner: https://github.com/heylaika
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@69269b4a822eb2653d7141b248a37341609aaa2f -
Trigger Event:
release
-
Statement type:
File details
Details for the file cyver_mcp-0.5.3-py3-none-any.whl.
File metadata
- Download URL: cyver_mcp-0.5.3-py3-none-any.whl
- Upload date:
- Size: 48.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe74dfd976d2b84dff2a4504ea8b2ade0c71bf3ee83353a018e6901598a5b0ce
|
|
| MD5 |
b1b50d88c8c47928ae3e3e2655d8a51b
|
|
| BLAKE2b-256 |
9a8b017db24d9fd783b1aaa04d120e7d60925f4d8ec53faa251207564ec45ae7
|
Provenance
The following attestation bundles were made for cyver_mcp-0.5.3-py3-none-any.whl:
Publisher:
release.yml on heylaika/cyver-mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cyver_mcp-0.5.3-py3-none-any.whl -
Subject digest:
fe74dfd976d2b84dff2a4504ea8b2ade0c71bf3ee83353a018e6901598a5b0ce - Sigstore transparency entry: 1567417155
- Sigstore integration time:
-
Permalink:
heylaika/cyver-mcp@69269b4a822eb2653d7141b248a37341609aaa2f -
Branch / Tag:
refs/tags/v0.5.3 - Owner: https://github.com/heylaika
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@69269b4a822eb2653d7141b248a37341609aaa2f -
Trigger Event:
release
-
Statement type: