Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
VPNHOP_CONFIGNoPath to the vpnhop config file. Defaults to `~/.config/vpnhop/config.json`; relative paths inside the config resolve against the config file's folder.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

vpnhop reaches APIs that sit behind a VPN without connecting this machine to it. Each profile runs its VPN (OpenVPN, WireGuard, OpenConnect/AnyConnect/GlobalProtect/Pulse/Fortinet/F5, IPsec IKEv2) inside its own Docker container. Call list_profiles, then http_request with a profile: it connects on demand, resolves DNS inside the tunnel, and stops after the profile is idle. Profiles are saved encrypted in keyhop (save_profile takes a file path; the user confirms with Touch ID). VPN credentials are never shown. Some profiles only allow certain hosts (allowHosts). For a Keyhop plan, call session_profile and copy its profileHash and secretNames into the vpn_http step in Keyhop open_session.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
session_profileA

Returns the profile fingerprint and secret names for a vpn_http step in Keyhop open_session. It does not start the VPN, unlock the vault or return secret values.

list_profilesB

Configured VPN profiles with their type, description, allowed hosts and whether each tunnel is up.

connectA

Starts the tunnel for a profile and waits until it is up (http_request also does this on demand). Reuses a running tunnel. On failure the error includes the redacted VPN client log.

disconnectB

Stops and removes the tunnel container for a profile.

statusB

State of one or all tunnels, optionally with the last lines of the (redacted) VPN client log.

http_requestA

Sends an HTTP(S) request from inside the profile's tunnel (connecting first if needed) and returns status, headers and body. Text bodies come back as utf8, binary as base64; bodies over maxBodyBytes are truncated. Redirects are not followed unless followRedirects is set.

save_profileA

Saves a VPN profile from a file on this machine (.ovpn or WireGuard .conf) into the encrypted keyhop vault; the user confirms with Touch ID. Referenced cert/key files and an auth-user-pass file are inlined. You never see the contents. Profiles that need a password not in the file, or OpenConnect/IPsec profiles, must be added by the user in a terminal: vpnhop add.

remove_profileA

Deletes a saved profile and its keyhop secrets (the user confirms with Touch ID), and stops its tunnel.

refreshA

Recycles running vpnhop servers (cached secrets dropped), stops outdated or orphaned ones, and removes stopped, orphaned or outdated tunnel containers and old runtime images. Healthy tunnels stay up. Use after updating vpnhop or editing profiles; disconnect a stuck tunnel instead.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 9 tools

Disambiguation4/5

Each tool has a documented distinct role, though there is some overlap risk: session_profile, list_profiles and status all return profile- or tunnel-related metadata, and connect overlaps with http_request which connects on demand. The descriptions explicitly cross-reference each other (e.g. 'http_request also does this on demand', 'disconnect a stuck tunnel instead'), which resolves most confusion.

Naming Consistency3/5

A mix of bare verbs (connect, disconnect, refresh, status) and snake_case compound names (list_profiles, save_profile, remove_profile, http_request, session_profile). Individual names are readable, but there is no single predictable pattern an agent can extrapolate from.

Tool Count5/5

Nine tools is a well-scoped set for a VPN profile manager: profile CRUD, tunnel lifecycle, a request-through-tunnel tool and a maintenance/refresh command. No obvious filler tools.

Completeness4/5

Profile management (list/save/remove), tunnel lifecycle (connect/disconnect/status/refresh) and request testing (http_request) cover the domain well. Minor gaps: no in-tool way to update an existing profile or add password-requiring/OpenConnect/IPsec profiles (deferred to a terminal CLI), which agents must work around by re-saving.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues