MCP Integration
WePROXA includes an embedded Model Context Protocol (MCP) server that exposes proxy tools to external AI clients, enabling AI-assisted HTTP debugging.
What is MCP?
Section titled “What is MCP?”MCP is an open protocol that allows AI models to interact with tools and data sources. WePROXA’s current MCP server exposes proxy lifecycle and debugging-configuration tools to compatible AI clients.
Enabling the MCP Server
Section titled “Enabling the MCP Server”- Open Settings in WePROXA
- Navigate to MCP Server
- Click Start
- Copy the Endpoint URL and Auth Token displayed

Connecting an AI Client
Section titled “Connecting an AI Client”Configure your MCP-compatible AI client with:
- Server URL — the local HTTP endpoint (e.g.,
http://127.0.0.1:<port>/mcp) - Authentication — Bearer token (shown in WePROXA settings)
Available Tools
Section titled “Available Tools”The MCP server exposes tools that let AI assistants:
- Start, stop, and inspect the proxy
- Add, update, remove, and list Map Local, Breakpoint, Block List, Network Conditioning, and Scripting rules
- Add, update, remove, and list SSL interception hosts
- Read and change the enabled state of rule-based tools
Network Conditioning and Scripting
Section titled “Network Conditioning and Scripting”MCP clients can manage Network Conditioning rules with:
weproxa_networkConditioning_addRuleweproxa_networkConditioning_updateRuleweproxa_networkConditioning_removeRuleweproxa_networkConditioning_listRules
Request and response delays are limited to 300,000 milliseconds (five minutes) per rule.
MCP clients can manage Rhai Scripting rules with:
weproxa_scripting_addRuleweproxa_scripting_updateRuleweproxa_scripting_removeRuleweproxa_scripting_listRules
New or updated script source is validated before the rule is saved. Use weproxa_tools_getEnabled and weproxa_tools_setEnabled to inspect or change the tool-level enabled state for networkConditioning, scripting, and the other rule-based tools in the active workspace.
Security
Section titled “Security”- The MCP server only listens on
127.0.0.1(localhost) - Bearer token authentication is required for all requests
- The server is disabled by default