Skip to main content
Glama
TrackLine
by TrackLine

subscriptions_get_by_username

Retrieve VPN subscription details for a specific user by entering their username. This tool provides access to user subscription information within the Remnawave VPN panel administration system.

Instructions

Get subscription details by username

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
usernameYesUsername

Implementation Reference

  • Registration and handler implementation for the 'subscriptions_get_by_username' tool, which fetches subscription details using the RemnawaveClient.
    server.tool(
        'subscriptions_get_by_username',
        'Get subscription details by username',
        {
            username: z.string().describe('Username'),
        },
        async ({ username }) => {
            try {
                const result =
                    await client.getSubscriptionByUsername(username);
                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