Skip to main content
Glama

get_network_interfaces

List all network interfaces on the system to identify available connections for HTTP traffic interception and debugging in HTTP Toolkit.

Instructions

List all network interfaces on the system

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the network interface query by sending a GET request to the HTTP Toolkit API.
    async getNetworkInterfaces(): Promise<{ networkInterfaces: Record<string, unknown> }> {
      return this.request('GET', '/config/network-interfaces');
    }
  • src/index.ts:55-63 (registration)
    Registration of the get_network_interfaces MCP tool.
    server.registerTool(
      'get_network_interfaces',
      {
        title: 'Get Network Interfaces',
        description: 'List all network interfaces on the system',
        inputSchema: z.object({}),
      },
      async () => jsonResult(await client.getNetworkInterfaces())
    );

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