--- title: Getting Started Proxying description: Start MockServer as an HTTP/HTTPS proxy, configure clients to send traffic through it, and analyse or verify recorded requests and responses. shortTitle: Getting Started layout: page pageOrder: 1 section: 'Proxy' subsection: true sitemap: priority: 0.9 changefreq: 'monthly' lastmod: 2019-11-10T08:00:00+01:00 ---

To use MockServer to analysis an existing system:

To use MockServer to verify requests:

For example code see the code examples folder in the git repository.
Inspecting AI agent traffic? If you want to see the HTTPS calls that Claude Code, OpenCode, or Python AI libraries send to LLM APIs and MCP servers, see Inspect AI Agent Traffic. It covers proxy setup, CA trust, and per-tool configuration for AI tools.
The page on configuring clients gives full details on how to configure clients to proxy requests via MockServer and includes code examples for the following clients: