1. Conduid
  2. Documentation
  3. vyos-mcp
MCP server · Documentation

vyos-mcp

An MCP (Model Context Protocol) server for managing VyOS routers via the VyOS HTTP API.

Unclaimed docs
34Low

Scored 11 days ago · breakdown

About vyos-mcp

vyos-mcp is an MCP server published by cacack in the Documentation category: an MCP (Model Context Protocol) server for managing VyOS routers via the VyOS HTTP API.

The repository has 5 stars and 1 forks, with the last commit 3 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/cacack/vyos-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (19)

vyos_config_diffShow config differences (saved vs running, or by revision)

Parameters not published.

vyos_config_historyList config revision history (number, timestamp, user, method)

Parameters not published.

vyos_configureApply config with commit-confirm (safe default)

Parameters not published.

vyos_confirmConfirm a pending commit-confirm

Parameters not published.

vyos_existsCheck if a config path exists

Parameters not published.

vyos_generateGenerate keys, certificates, etc.

Parameters not published.

vyos_image_addAdd a system image from URL

Parameters not published.

vyos_image_deleteDelete a system image

Parameters not published.

vyos_infoSystem info (no auth required)

Parameters not published.

vyos_loadLoad a configuration file

Parameters not published.

Show all 19 tools
vyos_mergeMerge config file or string into running config

Parameters not published.

vyos_poweroffPower off the router

Parameters not published.

vyos_rebootReboot the router

Parameters not published.

vyos_resetReset operations

Parameters not published.

vyos_retrieveRead configuration at a path

Parameters not published.

vyos_return_valuesGet multi-valued config node values

Parameters not published.

vyos_saveSave running config to disk

Parameters not published.

vyos_showRun operational show commands

Parameters not published.

vyos_validateValidate config syntax (temporary apply with auto-rollback)

Parameters not published.

Ask AI

✦

Ask AI about vyos-mcp

Powered by Claude · Grounded in docs

I know everything about vyos-mcp. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

mcp-server-vyos

CI codecov PyPI Python

MCP server for VyOS router management via the HTTPS REST API. Provides both router management tools and live VyOS documentation lookup.

Installation

pip install mcp-server-vyos

Configuration

Set environment variables:

  • VYOS_URL — Router API endpoint (e.g., https://vyos.example.com)
  • VYOS_API_KEY — API key for authentication
  • VYOS_READ_ONLY — Set to true to disable all mutating tools (config changes, reboot, poweroff, etc.)

VyOS Router Setup

Enable the HTTPS API on your VyOS router:

configure
set service https api keys id my-mcp-key key <your-api-key>
set service https api rest
commit
save

Claude Code

Add to your MCP client configuration:

{
  "mcpServers": {
    "vyos": {
      "command": "mcp-server-vyos",
      "env": {
        "VYOS_URL": "https://vyos.example.com",
        "VYOS_API_KEY": "your-api-key"
      }
    }
  }
}

Read-Only Mode

For safe, query-only access (monitoring, investigation, documentation lookup), enable read-only mode:

{
  "mcpServers": {
    "vyos": {
      "command": "mcp-server-vyos",
      "env": {
        "VYOS_URL": "https://vyos.example.com",
        "VYOS_API_KEY": "your-api-key",
        "VYOS_READ_ONLY": "true"
      }
    }
  }
}

This registers only non-mutating tools: vyos_info, vyos_retrieve, vyos_return_values, vyos_exists, vyos_config_diff, vyos_show, vyos_docs_search, and vyos_docs_read.

Tools

Router Management

Tool Description
vyos_info System info (no auth required)
vyos_retrieve Read configuration at a path
vyos_return_values Get multi-valued config node values
vyos_exists Check if a config path exists
vyos_config_diff Show config differences (saved vs running, or by revision)
vyos_show Run operational show commands
vyos_validate Validate config syntax (temporary apply with auto-rollback)
vyos_configure Apply config with commit-confirm (safe default)
vyos_confirm Confirm a pending commit-confirm
vyos_save Save running config to disk
vyos_load Load a configuration file
vyos_merge Merge config file or string into running config
vyos_generate Generate keys, certificates, etc.
vyos_reset Reset operations
vyos_reboot Reboot the router
vyos_poweroff Power off the router
vyos_image_add Add a system image from URL
vyos_image_delete Delete a system image

Documentation

Tool Description
vyos_docs_search Search VyOS documentation by topic
vyos_docs_read Read a specific documentation page

Documentation is fetched live from the vyos-documentation repository, so it stays in sync with the latest VyOS releases. Results are cached for 1 hour.

Safety

  • Configuration changes use commit-confirm by default -- changes auto-revert after 5 minutes unless confirmed with vyos_confirm
  • Destructive operations (vyos_reboot, vyos_poweroff, vyos_image_delete) include warning descriptions
  • API keys are never logged or included in tool outputs
  • Self-signed TLS certificates are accepted by default (common on VyOS)

Development

uv venv && source .venv/bin/activate
uv pip install -e ".[dev]"
pytest
ruff check .

License

MIT

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About vyos-mcp

How do I install vyos-mcp?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is vyos-mcp safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is vyos-mcp still maintained?

Yes — the last commit was 3 days ago. The repository has 5 stars and 1 forks.