Wg Easy
БесплатноНе проверенMCP server for administering wg-easy (WireGuard Easy) instances
Описание
MCP server for administering wg-easy (WireGuard Easy) instances
README
A Model Context Protocol (MCP) server for administering wg-easy (WireGuard Easy) instances.
Lets MCP clients like Claude Code, Claude Desktop or Codex manage your WireGuard VPN: list, create, update, enable/disable and delete clients, fetch configuration files and QR codes, and inspect the server status — all through the wg-easy v15 REST API.
Requirements
- Node.js ≥ 20
- A running wg-easy v15+ instance
- 2FA (TOTP) must be disabled for the account used by this server — the wg-easy API only supports Basic Authentication and does not work with 2FA enabled
Note: The wg-easy REST API is not yet declared stable and may change between releases. This server targets wg-easy v15.
Configuration
Configuration is provided via environment variables:
| Variable | Required | Description |
|---|---|---|
WG_EASY_URL |
yes | Base URL of the wg-easy web UI, e.g. http://vpn.example.com:51821 |
WG_EASY_USERNAME |
yes | Username of a wg-easy admin account |
WG_EASY_PASSWORD |
yes | Password of that account |
WG_EASY_INSECURE_TLS |
no | Set to true to accept self-signed TLS certificates |
Installation
Claude Code
claude mcp add wg-easy -s user \
-e WG_EASY_URL=http://vpn.example.com:51821 \
-e WG_EASY_USERNAME=admin \
-e WG_EASY_PASSWORD=your-password \
-- npx -y wg-easy-mcp
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"wg-easy": {
"command": "npx",
"args": ["-y", "wg-easy-mcp"],
"env": {
"WG_EASY_URL": "http://vpn.example.com:51821",
"WG_EASY_USERNAME": "admin",
"WG_EASY_PASSWORD": "your-password"
}
}
}
}
Codex
Add to your ~/.codex/config.toml:
[mcp_servers.wg-easy]
command = "npx"
args = ["-y", "wg-easy-mcp"]
env = { WG_EASY_URL = "http://vpn.example.com:51821", WG_EASY_USERNAME = "admin", WG_EASY_PASSWORD = "your-password" }
From source
git clone https://github.com/ni-c/wg-easy-mcp.git
cd wg-easy-mcp
npm install
npm run build
# then use `node /path/to/wg-easy-mcp/dist/index.js` as the command
Tools
| Tool | Description |
|---|---|
list_clients |
List all WireGuard clients with status and traffic statistics |
get_client |
Get the full details of a single client |
create_client |
Create a new client (name, optional expiresAt) |
update_client |
Update a client; only the provided fields are changed |
enable_client / disable_client |
Enable or disable a client |
delete_client |
Permanently delete a client — requires confirm=true |
get_client_config |
Get the client's WireGuard .conf file |
get_client_qrcode |
Get the client configuration as a QR code (SVG) |
generate_one_time_link |
Generate a one-time config download link (requires one-time links to be enabled in wg-easy) |
get_server_info |
Release/update status, general settings and interface configuration |
Safety
delete_clientrefuses to run without an explicitconfirm=trueparameter and reports the client name, so an MCP client can ask the user for confirmation first.- Tools carry MCP annotations (
readOnlyHint,destructiveHint,idempotentHint) so hosts can apply appropriate permission policies. - Keep in mind that
get_client_configandget_client_qrcodereturn the client's private key — treat tool output as sensitive.
Development
npm install
npm run build # compile TypeScript to dist/
npm test # run the vitest test suite
npm run lint # eslint + prettier check
License
Установка Wg Easy
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/ni-c/wg-easy-mcpFAQ
Wg Easy MCP бесплатный?
Да, Wg Easy MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Wg Easy?
Нет, Wg Easy работает без API-ключей и переменных окружения.
Wg Easy — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Wg Easy в Claude Desktop, Claude Code или Cursor?
Открой Wg Easy на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
автор: lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
MCPHub
Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.
MCP Servers Rating and User Reviews
Website to rate MCP servers, write authentic user reviews, and [search engine for agent & mcp](http://www.deepnlp.org/search/agent)
mkinf
An Open Source registry of hosted MCP Servers to accelerate AI agent workflows.
Compare Wg Easy with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
