Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Charles MCP server

by heizaheiza/charles-mcpMIT licenceAudited 5 Oct 2026 · source 565bf4d0035a

PyPI charles-mcpstdio★ 317
!CAUTIONGrade B · 80/100 · 5 Oct 2026 · 565bf4d
317GitHub stars

Is it safe? With care — CAUTION, grade B (80/100). It exposes 34 tools: 24 read, 9 write and 1 destructive. The audit recorded 19 findings (0 critical, 0 high, 5 medium, 14 low). Maintainer's description: Charles Proxy MCP server for AI agents with live capture, structured traffic analysis, and agent-friendly tool contracts

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Charles MCP server (heizaheiza/charles-mcp)”. Retrieved 5 Oct 2026. https://modelsatlas.com/mcp/heizaheiza/charles

Trust audit

Audit 0.4.1 · full source read 5 Oct 2026

Trust score80/100!CAUTION B
0 critical0 high5 medium14 low0 info

19 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared3 observations
  • NetworkDeclared5 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS
L1 Static sourceSecrets, path traversal, supply chainWARN 16 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 2 findings
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner heizaheizaUser accountAccount type recorded when we read the repository.
  • PackagePublished on PyPIcharles-mcp, no version recorded
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push3 months agoActivity of the repository when we read it.
  • Source commit read565bf4d0035aThe audit covers exactly this commit, read on 5 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory34 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (19)

Sorted by severity

MEDIUMObfuscation / stealthobf.zero_width · charles_mcp/config.py:1
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
"""Configuration management for the Charles MCP server."""
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.zero_width · charles_mcp/schemas/traffic.py:1
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
"""Schemas for normalized HTTP traffic entries."""
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.zero_width · charles_mcp/schemas/traffic_query.py:1
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
"""Schemas for traffic analysis queries."""
Why
No further detail recorded for this rule.
Fix
—
MEDIUMObfuscation / stealthobf.zero_width · charles_mcp/services/history_capture.py:1
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
"""History-oriented recording access for Charles MCP."""
Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
reset_environment
Why
1 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInsecure cryptocrypto.weak_hash · charles_mcp/reverse/ingest/common.py:41
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
return hashlib.sha1(payload.encode("utf-8")).hexdigest()
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · charles_mcp/reverse/ingest/common.py:54
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
return hashlib.sha1(f"{capture_id}|{sequence_no}|{side}".encode()).hexdigest()
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · charles_mcp/reverse/ingest/native_session.py:315
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
return hashlib.sha1(payload.encode("utf-8")).hexdigest()
Why
No further detail recorded for this rule.
Fix
—
LOWInsecure cryptocrypto.weak_hash · charles_mcp/reverse/ingest/xml_session.py:305
F-09 Insecure cryptoCWE-327 · CWE-338Layer L1
return hashlib.sha1(payload.encode("utf-8")).hexdigest()
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · tests/test_docs_contract.py:48
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
assert "../../AGENTS.md" in contract
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/test_config.py:73
F-04 Network egressCWE-200 · CWE-319Layer L1
assert config.proxy_url == "http://127.0.0.1:8888"
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/vnext/test_replay_service.py:85
F-04 Network egressCWE-200 · CWE-319Layer L1
monkeypatch.setenv("HTTP_PROXY", "http://127.0.0.1:1")
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · tests/vnext/test_replay_service.py:86
F-04 Network egressCWE-200 · CWE-319Layer L1
monkeypatch.setenv("HTTPS_PROXY", "http://127.0.0.1:1")
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.decode_call · charles_mcp/analyzers/body.py:176
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
payload = base64.b64decode(text, validate=False)
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.decode_call · charles_mcp/reverse/ingest/xml_session.py:242
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
raw_bytes = base64.b64decode(text, validate=False)
Why
No further detail recorded for this rule.
Fix
—
LOWObfuscation / stealthobf.zero_width · tests/test_config.py:1
F-07 Obfuscation / stealthCWE-506 · CWE-94Layer L1
"""Unit tests for configuration helpers."""
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · requirements.txt
F-08 Supply chainCWE-829 · CWE-1357Layer L1
mcp, httpx, pydantic, jmespath, defusedxml, brotli, zstandard, protobuf
Why
9 requirement(s) not pinned with ==
Fix
pin exact versions
LOWSupply chainprompt.pipe_to_shell · README.en.md:115
F-08 Supply chainCWE-829 · CWE-1357Layer L2
- macOS/Linux: run: curl -LsSf https://astral.sh/uv/install.sh | sh
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainprompt.pipe_to_shell · README.md:115
F-08 Supply chainCWE-829 · CWE-1357Layer L2
- macOS/Linux: run: curl -LsSf https://astral.sh/uv/install.sh | sh
Why
No further detail recorded for this rule.
Fix
—

Tools it exposes

34 declared in source · 1 destructive

24 read9 write1 destructive

1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
reset_environmentdestructiveReset the Charles environment and restore the saved configuration.
reverse_analyze_live_api_flowwriteRun a task-oriented live API reverse-analysis workflow on new traffic.
reverse_analyze_live_login_flowwriteRun a task-oriented live login/auth reverse-analysis workflow on new traffic.
reverse_analyze_live_signature_flowwriteRun a task-oriented live signature reverse-analysis workflow on new traffic.
reverse_import_sessionwriteImport an official Charles XML/native session into the canonical reverse-analysis store.
reverse_start_live_analysiswriteStart a near-real-time live analysis session without using undocumented JSON export.
reverse_stop_live_analysiswriteStop a reverse live-analysis session and optionally restore Charles recording.
start_live_capturewriteStart or adopt a live capture session for incremental polling.
stop_live_capturewriteStop an active live capture and optionally persist the filtered snapshot.
throttlingwriteSet a network throttling preset in Charles.
analyze_recorded_trafficreadAnalyze a saved recording snapshot with compact summaries.
charles_statusreadCheck Charles connectivity and active live-capture state.
filter_funcreadDeprecated compatibility alias. Prefer canonical live/history/reverse tools.
get_capture_analysis_statsreadReturn coarse traffic class counts for a live capture or saved recording.
get_recording_snapshotreadLoad a saved recording snapshot. This tool never reads the live Charles session.
get_traffic_entry_detailreadLoad one traffic entry detail view for drill-down inspection.
group_capture_analysisreadGroup analyzed traffic so the agent can inspect hot spots with lower token cost.
list_recordingsreadList saved recording files using an explicit history-oriented tool name.
list_sessionsreadDeprecated compatibility alias. Prefer canonical live/history/reverse tools.
peek_live_capturereadPreview incremental traffic without advancing the cursor.
proxy_by_timereadDeprecated compatibility alias. Prefer canonical live/history/reverse tools.
query_live_capture_entriesreadAnalyze the active live capture with structured summary-first filtering.
query_recorded_trafficreadQuery the latest saved recording. This tool never reads the live Charles session.
read_live_capturereadRead incremental traffic and advance the cursor.
reverse_charles_recording_statusreadInspect Charles recording state and optional reverse live-session state.
reverse_decode_entry_bodyreadDecode a stored request/response body, including protobuf when a descriptor is provided.
reverse_discover_signature_candidatesreadCompare multiple requests and rank fields that look signature-related.
reverse_get_entry_detailreadGet the canonical detail view for one imported entry.
reverse_list_capturesreadList imported captures from the local SQLite store.
reverse_list_findingsreadList persisted findings from replay or signature-candidate analysis.
reverse_peek_live_entriesreadSnapshot the current Charles session and inspect only new entries without advancing the live cursor.
reverse_query_entriesreadQuery imported entries using route-level filters.
reverse_read_live_entriesreadSnapshot the current Charles session and advance the live cursor to consume new entries.
reverse_replay_entryreadReplay one imported entry with optional mutations and store the experiment result.

Install

audited commit 565bf4d

Read the findings first. The most severe is Obfuscation / stealth (medium) at charles_mcp/config.py.

One-click links open your editor with the config below filled in, exactly as the snippets show it. The audit covers commit 565bf4d only.

claude mcp add charles-mcp --env CHARLES_PASS=${CHARLES_PASS} -- uvx charles-mcp

The command does not pin a version; the audit covers commit 565bf4d0035a. Transport: stdio. Reads this environment variable: CHARLES_PASS. Give it the narrowest token it needs.

Audit history

  1. !CAUTION B 80 / 100

    First audit · 565bf4d0035a

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/heizaheiza/charles/badge.svg)](https://modelsatlas.com/mcp/heizaheiza/charles/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Charles MCP server

What is the Charles MCP server?
Charles Proxy MCP server for AI agents with live capture, structured traffic analysis, and agent-friendly tool contracts
What tools does Charles expose?
34 in total: 24 read-only, 9 that write, and 1 that can delete or overwrite (reset_environment). Every one is listed on this page with its risk.
Is Charles safe to connect to an agent?
With care. The audit graded it B (80/100) and found 19 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Charles need?
It reads CHARLES_PASS from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Charles run?
It speaks stdio, so it runs as a local process your client starts. It is published on PyPI as charles-mcp.
How current is this page?
The grade is for one exact copy of the source (565bf4d0035a), read on 2026-10-05. The repository is watched and re-audited when it changes.

Sources

  • heizaheiza/charles-mcp on GitHub — the source we read, its licence, stars and activityObserved · 5 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit 565bf4d0035aObserved · 5 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.