Charles Local MCP
Provides automation for Charles Proxy, enabling profile-driven configuration of proxying, SSL host management, and mapping remote requests to loopback destinations.
charles-local-mcp
Local-only, profile-driven Charles Proxy automation for macOS. The same application service is exposed through a JSON CLI and an MCP stdio server.
Version 0.1.2 supports Charles 4.6.8 on macOS. The public package contains
only generic example.com fixtures and no organization-specific hosts or paths.
Profile
schemaVersion = 1
[profiles.demo]
sourceHost = "app.example.com"
sourcePath = "/api*" # optional Charles path pattern
destinationUrl = "http://127.0.0.1:8080"
sslHosts = ["app.example.com"]
verificationUrl = "https://app.example.com/health"Omit destinationUrl for a proxy-only profile that disables Map Remote while
retaining the exact SSL hosts and optional verification URL. When present,
destinationUrl is restricted to loopback addresses.
Map Remote destinations must resolve to a loopback host. verificationUrl is
optional, must use HTTPS without embedded credentials, and must match
sourceHost.
Related MCP server: Charles MCP Server
Commands
charles-local-mcp doctor --json
charles-local-mcp --profiles-file profiles.toml profiles validate --json
charles-local-mcp --profiles-file profiles.toml setup plan --profile demo --platform android --json
charles-local-mcp --profiles-file profiles.toml setup apply --token TOKEN --json
charles-local-mcp setup resume --token TOKEN --json
charles-local-mcp status --json
charles-local-mcp cleanup plan --json
charles-local-mcp cleanup apply --token TOKEN --json
charles-local-mcp serveState defaults to ~/Library/Application Support/charles-local-mcp. Tests and
integrators can isolate it with CHARLES_LOCAL_MCP_HOME or --state-dir.
CLI stdout is JSON only; MCP stdout is protocol only. Diagnostics use stderr.
Mutation commands require macOS and Charles 4.6.8. Setup and cleanup plans
expire after 15 minutes, are single-use, and are rejected if state changed.
Only one active session is allowed in a state directory.
The real-device procedure is intentionally manual: see
docs/manual-smoke.md.
Install
Build from crates.io when a local Rust toolchain is available:
cargo install charles-local-mcp --lockedFor a one-click MCP client installation on macOS, use the universal .mcpb
asset from the matching GitHub Release. The native binary and bundle are not signed or notarized by Apple, so macOS may show a security warning when opening a downloaded asset. Verify SHA256SUMS from that release before installing. The bundle asks for a TOML profiles file and starts charles-local-mcp serve; profiles remain read-only to MCP tools.
Release maintainers should follow docs/releasing.md.
This server cannot be installed
Maintenance
Related MCP Servers
- FlicenseAqualityCmaintenanceAn HTTP/HTTPS MITM proxy server that enables capture, modification, and mocking of network traffic across Chrome, CLI tools, Docker containers, and Android devices. It supports advanced capabilities like JA3/JA4 TLS fingerprinting, JA3 spoofing, and upstream proxy chaining.89489
- AlicenseBqualityAmaintenanceIntegrates Charles Proxy with MCP clients to provide real-time and historical network traffic capture and structured analysis. It features a summary-first approach that filters noise and desensitizes data for efficient, low-token agent debugging and monitoring.18294MIT
- AlicenseNot gradedqualityAmaintenanceGuardrail sidecar proxy between AI agents and their MCP/REST/CLI tools. Policy engine, human approval gates, time-limited grants, rate limiting, and OTEL tracing. One Go binary, one YAML config, fail-closed by default.1Apache 2.0
- AlicenseAqualityBmaintenanceEnables AI agents to interact with Charles Proxy for HTTP traffic analysis, supporting incremental harvest, checkpoint timelines, and rich filtering tools.136MIT
Related MCP Connectors
Tailscale device, route, DNS, key, user, and ACL management over MCP and CLI.
Remote MCP for Android CLI agent build gate, structured receipts, audit logs, and reviewer-ready evi
MEOK MCP Test MCP — golden-file + schema-drift + tool-failure tests for any MCP server. Drop-in
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Eason0in/charles-local-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server