shutdown_server
Stop the HTTP Toolkit server to end all traffic interception and debugging sessions. Use this tool when you need to halt HTTP(S) monitoring for browsers, mobile devices, or Docker containers.
Instructions
Shutdown the HTTP Toolkit server. WARNING: This will stop all interception.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/httptoolkit-client.ts:187-189 (handler)The actual implementation of the shutdownServer logic, which performs the POST request to /shutdown.
async shutdownServer(): Promise<{ success: boolean }> { return this.request('POST', '/shutdown'); } - src/index.ts:75-83 (registration)The registration of the 'shutdown_server' MCP tool.
server.registerTool( 'shutdown_server', { title: 'Shutdown Server', description: 'Shutdown the HTTP Toolkit server. WARNING: This will stop all interception.', inputSchema: z.object({}), }, async () => jsonResult(await client.shutdownServer()) );