Updated April 2026
Install Charles MCP Server
Pick your client, copy the command, done.
1
Add it to Claude Code
Run this in a terminal.
claude mcp add charles-mcp -- uvx charles-mcpEnvironment Variables
Set these before running Charles MCP Server.
VariableDescriptionRequired
CHARLES_USERCharles Web Interface usernameNoCHARLES_PASSCharles Web Interface passwordNoCHARLES_PROXY_HOSTCharles proxy host addressNoCHARLES_PROXY_PORTCharles proxy portNoCHARLES_MANAGE_LIFECYCLEWhether the MCP server manages Charles process lifecycleNoAvailable Tools (2)
Once configured, Charles MCP Server gives your AI agent access to:
get_trafficRetrieves captured network traffic from Charles Proxy for analysisfilterlimitget_request_detailFetches detailed information for a specific network requestrequest_idTry It Out
After setup, try these prompts with your AI agent:
→Analyze the latest network traffic and identify any failed API requests.
→Show me a summary of the recent traffic captured by Charles Proxy.
→Get the full details for the request with ID 123 to debug the payload.
→Filter the current session traffic to show only requests to the production API.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Python 3.8+ with pip installed
Alternative installation methods
Claude Desktop / Cursor
Add to claude_desktop_config.jsonKeep this setup from going cold
Save the docs, env vars, and workflow around Charles MCP Server in Conare so Claude Code, Codex, and Cursor remember it next time.
Need the legacy visual installer? Open Conare IDE.