Skip to main content
Glama
TrackLine
by TrackLine

inbounds_list

Lists all inbound connections across configuration profiles to monitor VPN traffic and manage network access.

Instructions

List all inbounds from all config profiles

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function for the 'inbounds_list' tool. It calls the client's getAllInbounds method and wraps the result.
    async () => {
        try {
            const result = await client.getAllInbounds();
            return toolResult(result);
        } catch (e) {
            return toolError(e);
        }
    },
  • Registration of the 'inbounds_list' tool in the MCP server.
    server.tool(
        'inbounds_list',
        'List all inbounds from all config profiles',
        {},
        async () => {
            try {
                const result = await client.getAllInbounds();
                return toolResult(result);
            } catch (e) {
                return toolError(e);
            }
        },
    );
  • Client method that performs the actual API request to fetch all inbounds.
    async getAllInbounds() {
        return this.get(REST_API.CONFIG_PROFILES.GET_ALL_INBOUNDS);
    }

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