Skip to main content
Glama

interceptor_android_setup

Configure Android device for network traffic interception by pushing CA certificates and establishing ADB reverse tunnels without Wi-Fi proxy settings.

Instructions

Quick setup: push CA cert + ADB reverse tunnel only (no Wi-Fi proxy). Equivalent to interceptor_android_activate with set_wifi_proxy=false.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serialYesADB device serial

Implementation Reference

  • The handler function for the interceptor_android_setup tool.
    async ({ serial }) => {
      try {
        const proxyInfo = requireProxy();
        const result = await interceptorManager.activate("android-adb", {
          ...proxyInfo,
          serial,
          injectCert: true,
          setupTunnel: true,
          setWifiProxy: false,
        });
        return {
          content: [{
            type: "text",
            text: JSON.stringify({ status: "success", ...result }),
          }],
  • The MCP tool registration for interceptor_android_setup.
    server.tool(
      "interceptor_android_setup",
      "Quick setup: push CA cert + ADB reverse tunnel only (no Wi-Fi proxy). Equivalent to interceptor_android_activate with set_wifi_proxy=false.",
      {
        serial: z.string().describe("ADB device serial"),
      },
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