inbounds_list
Lists all inbound connections across configuration profiles to monitor VPN traffic and manage network access.
Instructions
List all inbounds from all config profiles
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/inbounds.ts:27-34 (handler)Handler function for the 'inbounds_list' tool. It calls the client's getAllInbounds method and wraps the result.
async () => { try { const result = await client.getAllInbounds(); return toolResult(result); } catch (e) { return toolError(e); } }, - src/tools/inbounds.ts:23-35 (registration)Registration of the 'inbounds_list' tool in the MCP server.
server.tool( 'inbounds_list', 'List all inbounds from all config profiles', {}, async () => { try { const result = await client.getAllInbounds(); return toolResult(result); } catch (e) { return toolError(e); } }, ); - src/client/index.ts:243-245 (helper)Client method that performs the actual API request to fetch all inbounds.
async getAllInbounds() { return this.get(REST_API.CONFIG_PROFILES.GET_ALL_INBOUNDS); }