OA

openvpn/as-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

13 stars 9 forks 品質 80 トレンド 40MIT

Access Server 用の OpenVPN MCP サーバー

概要

独自のAIエージェント(Claude Code、Codex、Cursor、VS Code、OpenCode、Claude Desktop、...)をWeb APIで確認できるローカルMCPサーバー。 このリリースは、「VPNの健全性」、「誰が接続しているのか」、「今日ログオンに失敗したのか」、「Xが到達できるもの」などの質問に答え、サーバーに何かを変更しません。 それはあなたのマシン上で実行されます, あなたのエージェントによって開始されます, あなた自身の管理者の資格情報でアクセスサーバーに話します. 誰にもホストされていない 著作権(c) 2026 OpenVPN Inc. MITライセンスの下でライセンス、ライセンスを参照してください。 - OpenVPNアクセスサーバー(Web API v0.2) 3.1.0 と 3.2.2 でテスト。 - そのサーバーのアカウント。 エージェントに専用のものを使用してください。 - あなたの機械の紫外線。 必要に応じてPythonをダウンロードします。インストールする必要はありません。 これらの手順は、エージェント(以下「私のためにこれを設定する」)にそれらを渡すか、自分自身に従うことができるように書かれています。 1。 uvをインストールします。 - macOS / Linux:curl -LsSf [https://astral.sh/uv/install.]

概要(AI 翻訳)

自社のAIエージェント(クロードコード、 Codex, Cursor, VS コード, OpenCode, Claude デスクトップ,…) 見る あなたのOpenVPN Access Server Web API を通して。 このリリースは、read-only です。"VPN のような質問に答えます。 「誰が接続されているのか」「今日のログに失敗したのか」「Xが到達できるもの」、そして決して サーバ上で何かを変更します。

それはあなたの機械で、あなたの代理店によって始まり、あなた自身のアクセス サーバーに話します 管理者資格情報。 誰にもホストされていない

著作権 © 2026 OpenVPN Inc. MIT ライセンスの下でライセンス, [LICENSE]を参照してください。.

要件

  • OpenVPN Access Server 3.1 または newer (Web API v0.2) 。 3.1.0 および 3.2.2 でテストされる。
  • そのサーバー上のadminアカウント。 エージェントに専用のものを使用してください。
  • あなたの機械の紫外線。 必要に応じてPythonをダウンロードします。 何も インストールする必要があります。

インストール(約2分)

これらの手順が書かれているので、エージェントに渡すこともできます(以下「この設定」)。 自分で。

  1. uvをインストールします。
  • macOS/Linux: curl -LsSf https://astral.sh/uv/install.sh | sh
  • Windows(PowerShell):[powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

as-mcp-server

A local MCP server that lets your own AI agent (Claude Code, Codex, Cursor, VS Code, OpenCode, Claude Desktop, …) look at your OpenVPN Access Server through its Web API. This release is read-only: it answers questions such as “is the VPN healthy”, “who is connected”, “who failed to log in today”, “what can user X reach” and never changes anything on the server.

It runs on your machine, is started by your agent, and talks to Access Server with your own admin credentials. Nothing is hosted by anyone else.

Copyright © 2026 OpenVPN Inc. Licensed under the MIT License, see LICENSE.

Requirements

  • OpenVPN Access Server 3.1 or newer (Web API v0.2). Tested on 3.1.0 and 3.2.2.
  • An admin account on that server. Use a dedicated one for the agent.
  • uv on your machine. It downloads Python if needed; nothing else has to be installed.

Install (about two minutes)

These steps are written so you can hand them to your agent (“set this up for me”) or follow them yourself.

  1. Install uv.

    • macOS / Linux: curl -LsSf https://astral.sh/uv/install.sh | sh
    • Windows (PowerShell): powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
    • or brew install uv, winget install astral-sh.uv, pipx install uv.
  2. Store the connection once. This asks for the server URL, the admin username and the password (typed hidden, never shown to the agent), checks them against the server, then saves URL and username to ~/.config/as-mcp-server/profiles.toml and the password in your OS keyring (macOS Keychain, Windows Credential Manager, Linux Secret Service):

    uvx as-mcp-server setup
    

    If the account needs a second sign-in step you are asked for it as well, with the server’s own prompt (the authenticator code, or for example a PIN from a RADIUS back end).

  3. Register the server with your agent: run its command from the table in Agent setup, or add the entry to its configuration file. There is no secret in this configuration.

  4. Ask the agent something: “Is my VPN healthy?” It will call get_status_overview.

Pin a version if you want upgrades to be explicit: uvx [email protected]. uvx keeps using the version it first cached until you pass @latest or run uv cache clean.

Agent setup

Agent Command Configuration file
Claude Code claude mcp add openvpn-as -- uvx as-mcp-server ~/.claude.json (add --scope user to use it in every project)
Codex CLI codex mcp add openvpn-as -- uvx as-mcp-server ~/.codex/config.toml
Gemini CLI gemini mcp add -s user openvpn-as uvx as-mcp-server (no --) ~/.gemini/settings.json
OpenCode opencode mcp add openvpn-as -- uvx as-mcp-server ~/.config/opencode/opencode.json (or .jsonc)
GitHub で README 全文を見る

インストール

uvx as-mcp-server
MCP 初心者?mcpskill.org のガイドから始めましょう →