Get Network Interfaces
get_network_interfacesList 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
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/httptoolkit-client.ts:82-84 (handler)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()) );