Skip to main content
Glama
TrackLine
by TrackLine

hosts_get

Retrieve specific host details by UUID from the Remnawave VPN panel for system administration and monitoring purposes.

Instructions

Get a specific host by UUID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
uuidYesHost UUID

Implementation Reference

  • Handler for hosts_get tool. Calls client.getHostByUuid(uuid) and handles success/error responses.
    async ({ uuid }) => {
        try {
            const result = await client.getHostByUuid(uuid);
            return toolResult(result);
        } catch (e) {
            return toolError(e);
        }
    },
  • Zod schema definition for hosts_get tool input.
    {
        uuid: z.string().describe('Host UUID'),
    },
  • Registration of the 'hosts_get' tool in the MCP server.
    server.tool(
        'hosts_get',
        'Get a specific host by UUID',
        {
            uuid: z.string().describe('Host UUID'),
        },
        async ({ uuid }) => {
            try {
                const result = await client.getHostByUuid(uuid);
                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