Skip to main content
Glama

list_interceptors

List active HTTP traffic interceptors in HTTP Toolkit, including browsers, terminals, mobile devices, and Docker containers, to monitor and debug network traffic.

Instructions

List all available HTTP traffic interceptors (browsers, terminals, mobile devices, Docker, etc.) and their activation status

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
proxyPortNoProxy port to check active status against

Implementation Reference

  • Tool registration and handler for list_interceptors in src/index.ts. The handler calls client.getInterceptors.
    server.registerTool(
      'list_interceptors',
      {
        title: 'List Interceptors',
        description:
          'List all available HTTP traffic interceptors (browsers, terminals, mobile devices, Docker, etc.) and their activation status',
        inputSchema: z.object({
          proxyPort: z.number().optional().describe('Proxy port to check active status against'),
        }),
      },
      async ({ proxyPort }) => jsonResult(await client.getInterceptors(proxyPort))
    );
  • Actual API implementation for getInterceptors which performs the network request to the HTTP Toolkit server.
    async getInterceptors(proxyPort?: number): Promise<{ interceptors: InterceptorInfo[] }> {
      const query = proxyPort ? `?proxyPort=${proxyPort}` : '';
      return this.request('GET', `/interceptors${query}`);
    }

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