config_profiles_list
Lists all configuration profiles for managing VPN settings and user access in the Remnawave panel.
Instructions
List all config profiles
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/inbounds.ts:13-20 (handler)The handler for the 'config_profiles_list' tool, which calls client.getConfigProfiles().
async () => { try { const result = await client.getConfigProfiles(); return toolResult(result); } catch (e) { return toolError(e); } }, - src/tools/inbounds.ts:9-21 (registration)Registration of the 'config_profiles_list' tool using the McpServer.
server.tool( 'config_profiles_list', 'List all config profiles', {}, async () => { try { const result = await client.getConfigProfiles(); return toolResult(result); } catch (e) { return toolError(e); } }, ); - src/client/index.ts:239-241 (helper)The client method that performs the actual API request to fetch config profiles.
async getConfigProfiles() { return this.get(REST_API.CONFIG_PROFILES.GET); }