users_get_by_username
Retrieve a Remnawave VPN user's details by entering their username for user administration and panel management.
Instructions
Get a Remnawave user by their username
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | Username |
Implementation Reference
- src/tools/users.ts:40-54 (handler)Implementation of the users_get_by_username MCP tool, which retrieves a user by username from the Remnawave client.
server.tool( 'users_get_by_username', 'Get a Remnawave user by their username', { username: z.string().describe('Username'), }, async ({ username }) => { try { const result = await client.getUserByUsername(username); return toolResult(result); } catch (e) { return toolError(e); } }, );