Skip to main content
Glama

frida_android_setup

Set up Frida server on Android via ADB to prepare for app-level HTTP(S) interception and debugging in HTTP Toolkit.

Instructions

Set up a Frida host on an Android device connected via ADB. This prepares the device for app-level interception by installing the Frida server and CA certificate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
proxyPortYesProxy port
hostIdYesFrida host ID. Use get_interceptor_metadata with id "android-frida" to list available hosts.

Implementation Reference

  • The 'frida_android_setup' tool registration in src/index.ts. It uses the `client.activateInterceptor` method from `HttpToolkitClient` to perform the setup by passing 'android-frida' as the interceptor ID and { action: 'setup' } in the options.
    server.registerTool(
      'frida_android_setup',
      {
        title: 'Setup Android Frida Host',
        description: 'Set up a Frida host on an Android device connected via ADB. This prepares the device for app-level interception by installing the Frida server and CA certificate.',
        inputSchema: z.object({
          proxyPort: z.number().describe('Proxy port'),
          hostId: z.string().describe('Frida host ID. Use get_interceptor_metadata with id "android-frida" to list available hosts.'),
        }),
      },
      async ({ proxyPort, hostId }) =>
        jsonResult(await client.activateInterceptor('android-frida', proxyPort, { action: 'setup', hostId }))
    );

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/fdciabdul/httptoolkit-mcp'

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