Skip to content

MCP Reference ​

The MCP endpoint is /mcp. Authenticate with:

http
Authorization: Bearer <mcp-token>

MCP lets AI understand current system state and perform limited write operations after user confirmation.

Resources ​

Resource URIPurpose
wfm://help/overviewMCP overview, authentication, permission boundary, and recommended first call.
wfm://help/tool-indexTool list and tool purposes.
wfm://help/workflowsCommon workflow examples.
wfm://schema/payloadsWrite-tool payload semantics.
wfm://system/statusSystem status resource.
wfm://configsConfig list resource.

Read-only Tools ​

ToolPurpose
read_system_statusRead system status, endpoint counts, MQTT state, and issue summaries.
read_configsList configs.
read_configRead one config.
read_config_overviewRead a config overview projection.
read_nodesList endpoints in a config.
read_node_workspaceRead an endpoint workspace.
read_mesh_workspaceRead the Mesh workspace from one endpoint's perspective.
read_mesh_validationValidate a config Mesh topology.
read_endpoint_statusRead dynamic endpoint runtime status.
read_endpoint_logsRead endpoint control logs.
read_sync_statusRead synchronization state for a config.
read_node_sync_statusRead synchronization state for one endpoint.
read_wg_previewRead generated WireGuard or AmneziaWG config text.
read_client_download_optionsRead client download options.
read_config_bulk_optionsRead bulk config download options.
read_port_forward_rulesRead port-forward rules.
read_snapshotsRead snapshot metadata.

Write Tools ​

Write tools require a write token, and every execution requires MCP client confirmation.

ToolPurpose
write_create_configCreate a config.
write_update_configUpdate a config.
write_delete_configDelete a config.
write_create_nodeCreate an endpoint.
write_update_nodeUpdate an endpoint.
write_delete_nodeDelete an endpoint.
write_create_tagCreate a tag.
write_apply_tagApply a tag to endpoints.
write_delete_tagDelete a tag.
write_create_peer_link_groupCreate a bidirectional Mesh pair.
write_update_peer_link_groupUpdate a bidirectional Mesh pair.
write_delete_peer_link_groupDelete a bidirectional Mesh pair.
write_quick_generate_meshDelete and regenerate the config's Mesh pairs using Quick Mesh.
write_sync_nodeSync one endpoint.
write_sync_allSync all eligible endpoints.
write_endpoint_controlSend start, stop, push_config, or wg_show.
write_probe_endpointsProbe dynamic endpoints.
write_create_bind_commandCreate a client bind command.
write_reset_clientReset client state and revoke MQTT credentials.
write_create_port_forward_ruleCreate a port-forward rule.
write_set_port_forward_rule_enabledEnable or disable a port-forward rule.
write_delete_port_forward_ruleDelete a port-forward rule.
write_build_client_artifactBuild a local client artifact or return the matching current-version GitHub Release URL.
write_create_config_bulk_packageCreate a bulk config package and return a download URL.
write_export_snapshotExport an existing snapshot and return a five-minute download URL.

Capabilities Not Exposed Through MCP ​

The following operations must be performed manually in the system UI:

  • Create snapshots.
  • Import snapshots.
  • Restore snapshots.
  • Delete snapshots.
  • Enter or process snapshot passwords.

Elicitation and Confirmation ​

Some write tools support MCP elicitation for missing parameters, such as a client download target, bulk-config endpoint selection, or snapshot ID.

Elicitation only completes parameters; it does not authorize execution. The write still enters the confirmation flow.

Audit ​

MCP calls are recorded in the audit log. The AI Access page can filter by time, token name, and target endpoint, and can clear records by time range.