vh connector
Reference for vh connector - let hosted AI apps and AI tools on other computers use this server's tools as your account, and revoke them.
Remote connectors let hosted AI apps (Claude, ChatGPT) and AI tools on other computers use this server's tools as your
account, read-only unless you choose more. They are off by default, and switching them on, setting the policy and
registering clients are for super admins. Whoever runs a connected app holds a key that acts within the access you
granted until it is revoked. The local vh mcp server needs none of this: see vh mcp and vh skill and
AI Agents And MCP.
1vh connector enable # at this server's public https address2vh connector set --max-scope read3vh connector list [--all]4vh connector revoke <grant>5vh connector revoke-all
Commands
| Command | Arguments | Aliases | Effect | Summary |
|---|---|---|---|---|
| read | Show the switch, the public address, the policy and how many grants and clients are live (super admins). | |||
on | write | Switch remote connectors on at this server's public https address (a host name with a publicly trusted certificate, port 443) (super admins). | ||
off | destructive | Switch remote connectors off: every connected app is disconnected now (super admins). | ||
| write | Change what may be granted (super admins): the widest scope (read, write or destructive; write by default), dynamic client registration (off by default), and which hosts may identify clients (any, or a comma-separated list). | |||
ls | read | List your connected apps (grants), live first; --all lists every user's (super admins). | ||
<grant> | destructive | Disconnect an app now (your own, or anyone's for a super admin): its tokens stop working at once. | ||
| destructive | Disconnect every app now (super admins), or only one user's with --user (that user, or a super admin). | |||
clients | Clients registered by hand, for apps that can't publish a client-id metadata document (super admins). |
vh connector status
vh connector status [--json]| Option | Aliases | Type | Default | Summary |
|---|---|---|---|---|
-j | flag | Output in JSON format. |
vh connector enable
vh connector disable
vh connector disable [--json]| Option | Aliases | Type | Default | Summary |
|---|---|---|---|---|
-j | flag | Output in JSON format. |
vh connector set
vh connector set [--max-scope <scope>] [--dcr on|off] [--client-hosts <hosts>] [--json]| Option | Aliases | Type | Default | Summary |
|---|---|---|---|---|
scope | The widest scope a grant may have. | |||
on or off | Dynamic client registration: on or off. | |||
hosts | any, or host names separated by commas. | |||
-j | flag | Output in JSON format. |
vh connector list
vh connector revoke
vh connector revoke <grant>vh connector revoke-all
vh connector revoke-all [--user <name>]| Option | Aliases | Type | Default | Summary |
|---|---|---|---|---|
name | Only this user's grants. |
vh connector client
| Command | Arguments | Aliases | Effect | Summary |
|---|---|---|---|---|
ls | read | List the clients this server knows (registered, fetched metadata documents, dynamic ones). | ||
| write | Register a client: a name and its exact redirect URI (https, or http to 127.0.0.1, [::1] or localhost, any port). | |||
<client> | rm | destructive | Remove a client: it can't sign in again, and every grant it holds ends now. |
vh connector client list
vh connector client list [--json]| Option | Aliases | Type | Default | Summary |
|---|---|---|---|---|
-j | flag | Output in JSON format. |
vh connector client add
vh connector client add --name <name> --redirect <uri> [--json]| Option | Aliases | Type | Default | Required | Summary |
|---|---|---|---|---|---|
-n | name | Yes | The client's name (1-64 characters). | ||
-r | uri | Yes | The exact redirect URI. | ||
-j | flag | No | Output in JSON format. |
vh connector client remove
vh connector client remove <client>