Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

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

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
diagnose_environmentA

Inspect macOS, Clash Verge paths, Unix controller reachability, system proxy state, AI group presence, and LaunchAgent status. Use before any installation or troubleshooting action.

list_provider_profilesA

List public Provider templates and local enablement state without returning observed hostnames, node names, exit IPs, or credentials.

check_provider_pathsA

Run the configured Provider probes once over a direct connection and once through the current macOS system-proxy path. This is read-only, does not require the Provider group to exist, and never switches nodes.

discover_provider_domainsA

Observe sanitized Mihomo connection hostnames for up to 60 seconds while the user exercises one Provider. Never returns URLs, paths, connection IDs, IPs, or chains. Temporal-only candidates are hidden by default and, when explicitly requested, are never auto-recommended.

preview_provider_overlayA

Preview exact-domain additions and optional Provider enablement in the local private overlay. This does not write files or change Clash Verge.

apply_provider_overlayA

Write user-approved exact domains and optional Provider enablement to the local private overlay. It does not modify Clash Verge by itself. Requires mutation opt-in and confirmation=APPLY_PROVIDER_OVERLAY.

get_statusA

Return controller, dedicated Provider group, health state, and pool counts. Node names remain hidden unless include_node_names is true.

run_health_checkA

Probe direct connectivity and the configured Provider path through its selected AI group. Defaults to OpenAI and never switches nodes.

list_poolsB

Return active, warm, and cold pool counts plus independent-exit statistics. Node names are opt-in; exit IPs are never returned.

get_recent_eventsB

Read up to 100 local sanitized events. Credentials, subscriptions, server addresses, and exit IPs are never returned.

preview_installA

Preview persistent Clash Verge group/rule changes and report the environment without writing files.

simulate_failoverA

Run an isolated deterministic simulation of adaptive failure gates, prepared-route timing, connection preservation, and distinct-exit ranking. No live proxy is changed.

initialize_configA

Write an auto-discovered local config. Requires mutation opt-in and confirmation=WRITE_LOCAL_CONFIG.

record_web_feedbackA

Record time-limited browser evidence for the Provider and node's current observed exit fingerprint. status must be confirmed or rejected. This never switches a proxy and requires the monitor to be stopped, mutation opt-in, and confirmation=RECORD_WEB_FEEDBACK.

install_failoverA

Back up and integrate the persistent AI group/rules, then install the LaunchAgent. Requires mutation opt-in and confirmation=INSTALL_MIHOMO_AI_FAILOVER.

start_monitorA

Start or restart the installed monitor. Requires mutation opt-in and confirmation=START_LAUNCH_AGENT.

stop_monitorA

Stop the monitor without changing Clash Verge. Requires mutation opt-in and confirmation=STOP_LAUNCH_AGENT.

rollback_profileB

Restore the latest backed-up Clash Verge enhancement files. Requires mutation opt-in and confirmation=ROLLBACK_PROFILE_INTEGRATION.

uninstall_monitorA

Stop the monitor and move its plist to Trash. Persistent Clash profile changes are not removed. Requires mutation opt-in and confirmation=UNINSTALL_LAUNCH_AGENT.

get_service_statusA

Return whether the per-user failover LaunchAgent is installed and running.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/doublebearoliver-cyber/mihomo-ai-failover'

If you have feedback or need assistance with the MCP directory API, please join our Discord server