Skip to main content
Glama

interceptor_status

Check active targets and details for a specific interceptor in the proxy-mcp server to monitor network traffic capture and modification status.

Instructions

Get detailed status of a specific interceptor, including all active targets and their details.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
interceptor_idYesInterceptor ID (e.g., 'chrome', 'terminal', 'android-adb', 'android-frida', 'docker')

Implementation Reference

  • The tool `interceptor_status` is implemented as an MCP tool using `server.tool`. It retrieves a specific interceptor from the `interceptorManager` and calls its `getMetadata()` method to return the status information.
    server.tool(
      "interceptor_status",
      "Get detailed status of a specific interceptor, including all active targets and their details.",
      {
        interceptor_id: z.string().describe("Interceptor ID (e.g., 'chrome', 'terminal', 'android-adb', 'android-frida', 'docker')"),
      },
      async ({ interceptor_id }) => {
        try {
          const interceptor = interceptorManager.get(interceptor_id);
          if (!interceptor) {
            return { content: [{ type: "text", text: JSON.stringify({ status: "error", error: `Interceptor '${interceptor_id}' not found` }) }] };
          }
          const meta = await interceptor.getMetadata();
          return {
            content: [{
              type: "text",
              text: JSON.stringify({ status: "success", ...meta }),
            }],
          };
        } catch (e) {
          return { content: [{ type: "text", text: JSON.stringify({ status: "error", error: errorToString(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