Skip to main content
Glama

proxy_stop

Stop the MITM proxy while preserving traffic history and CA certificates for later analysis or resumption.

Instructions

Stop the MITM proxy. Traffic history and CA certificate are retained.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The implementation of the `proxy_stop` tool, which stops the MITM proxy using `proxyManager.stop()` after closing all devTools sessions.
    server.tool(
      "proxy_stop",
      "Stop the MITM proxy. Traffic history and CA certificate are retained.",
      {},
      async () => {
        try {
          await devToolsBridge.closeAllSessions().catch(() => {});
          await proxyManager.stop();
          return {
            content: [{
              type: "text",
              text: JSON.stringify({ status: "success", message: "Proxy stopped. Traffic and cert retained." }),
            }],
          };
        } catch (e) {
          return { content: [{ type: "text", text: JSON.stringify({ status: "error", error: String(e) }) }] };
        }
      },
    );
Install Server

Other Tools

Latest Blog Posts

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/yfe404/proxy-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server