Skip to main content
Glama
TrackLine
by TrackLine

users_list

Retrieve and manage VPN user accounts with paginated results for administrative oversight.

Instructions

List all Remnawave VPN users with pagination

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
startNoOffset for pagination
sizeNoNumber of users to return

Implementation Reference

  • The handler function for the 'users_list' tool, which calls client.getUsers with pagination parameters.
    async ({ start, size }) => {
        try {
            const result = await client.getUsers(start, size);
            return toolResult(result);
        } catch (e) {
            return toolError(e);
        }
    },
  • The input schema (zod) defining the 'start' and 'size' parameters for the 'users_list' tool.
    {
        start: z.number().default(0).describe('Offset for pagination'),
        size: z.number().default(25).describe('Number of users to return'),
    },
  • The registration of the 'users_list' tool within the McpServer instance.
    server.tool(
        'users_list',
        'List all Remnawave VPN users with pagination',
        {
            start: z.number().default(0).describe('Offset for pagination'),
            size: z.number().default(25).describe('Number of users to return'),
        },
        async ({ start, size }) => {
            try {
                const result = await client.getUsers(start, size);
                return toolResult(result);
            } catch (e) {
                return toolError(e);
            }
        },
    );

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TrackLine/mcp-remnawave'

If you have feedback or need assistance with the MCP directory API, please join our Discord server