vyos-mcp
Fetches and searches live VyOS documentation from the vyos-documentation repository on GitHub to provide documentation lookup tools.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@vyos-mcpshow me the current interfaces and the active routing table"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
vyos-mcp
MCP server for VyOS router management via the HTTPS REST API. Provides both router management tools and live VyOS documentation lookup.
Installation
pip install vyos-mcpConfiguration
Set environment variables:
VYOS_URL— Router API endpoint (e.g.,https://vyos.example.com)VYOS_API_KEY— API key for authentication
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
saveClaude Code
Add to your MCP client configuration:
{
"mcpServers": {
"vyos": {
"command": "vyos-mcp",
"env": {
"VYOS_URL": "https://vyos.example.com",
"VYOS_API_KEY": "your-api-key"
}
}
}
}Tools
Router Management
Tool | Description |
| System info (no auth required) |
| Read configuration at a path |
| Get multi-valued config node values |
| Check if a config path exists |
| Run operational show commands |
| Apply config with commit-confirm (safe default) |
| Confirm a pending commit-confirm |
| Save running config to disk |
| Load a configuration file |
| Merge config file or string into running config |
| Generate keys, certificates, etc. |
| Reset operations |
| Reboot the router |
| Power off the router |
| Add a system image from URL |
| Delete a system image |
Documentation
Tool | Description |
| Search VyOS documentation by topic |
| 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-confirmby default -- changes auto-revert after 5 minutes unless confirmed withvyos_confirmDestructive operations (
vyos_reboot,vyos_poweroff,vyos_image_delete) include warning descriptionsAPI 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
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/cacack/vyos-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server