Skip to content
RU
Open navigation menuClose navigation menu
App guide4 min read

Control ClickVPN with your AI agent through MCP

Six MCP commands to connect VPN, choose a server, and manage ClickVPN settings through a compatible AI assistant.

Published:

ClickVPN Team

A person’s request becomes a ClickVPN action and a verified result

Ask your AI assistant to connect your VPN, show available servers, or enable ad blocking — right in your working conversation. MCP integration in ClickVPN lets a compatible assistant carry out these actions and report the result in the same chat.

It is useful when AI is already part of your workflow: for example, when preparing a project environment or checking your connection without switching between windows.

What is MCP?

Model Context Protocol, or MCP, is an open standard that lets AI applications interact with external tools and services.

ClickVPN exposes a specific set of commands through MCP. Your assistant takes a request in natural language, selects the appropriate command, and sends it to the running app on your device. For example, “Connect my VPN” can become a connection request followed by a check of the connection status.

You need an AI client that supports local MCP servers over Streamable HTTP with token authentication. Whether you can add this type of server, and how you configure it, depends on the client you choose.

What your assistant can do

The integration provides six commands:

CapabilityMCP commandWhat the assistant receives or does
Check the connectionget_statusReads the VPN state and the selected and active servers.
View serverslist_serversRetrieves the server list available in the app, including automatic selection.
Connect the VPNconnectStarts a connection using the current selection or a specified server.
Disconnect the VPNdisconnectDisconnects the ClickVPN connection.
Read settingsget_settingsRetrieves the current routing, ad-blocking, and other supported network settings.
Change settingsset_settingsApplies the supported settings included in the request.

MCP can control ad blocking, Always-on VPN, automatic routing, supported country bypass rules, local network access, connections from LAN devices, and hotspot mode. Only the parameters included in a request are changed; other settings retain their values.

What it looks like in a conversation

Once you have configured the integration, you can use requests such as:

Connect the VPN using automatic server selection and let me know when the connection is established.

Show me the available servers in Germany. If there are any, connect to one of them.

Show my current routing and ad-blocking settings.

Enable ad blocking.

Disconnect the VPN.

The result depends on server availability, the app’s current state, and your assistant’s capabilities. An accepted connection request does not mean the tunnel is ready yet: the assistant can query the VPN status again to confirm the outcome.

How to connect MCP

The integration is off by default. To get started:

  1. Open ClickVPN on your device and go to Settings.
  2. Turn on MCP.
  3. Select Copy MCP configuration.
  4. Add the copied configuration to your AI client’s MCP settings. You may need to adapt the server configuration format according to the client’s instructions.
  5. Keep ClickVPN running and ask your assistant to check the VPN status.

The MCP server is built into ClickVPN, so there is no separate server to install. Your assistant needs access to the local server on the same device. The ability to add a remote MCP server to a web service does not, by itself, provide that local access.

You stay in control

MCP access becomes available only after you enable it. The server accepts connections on a local address on your device and requires a personal token included in the copied configuration. Share that configuration only with a trusted AI client, and do not publish it in full.

The local connection to ClickVPN and the assistant’s own processing are separate parts of the workflow. Where your conversations are processed and what data reaches an AI service depend on your chosen client and its settings.

Turning off MCP ends access through the integration while preserving an established VPN connection. Enabling MCP again creates a new token, so you need to copy the configuration again and update it in your AI client. Quitting ClickVPN stops the MCP server; the next time the app starts, it uses the saved switch setting.

Things to know

Repeating a connection command for the same server preserves the current connection. Sending settings that have already been successfully applied also avoids an unnecessary reconnect. This helps prevent interruptions when an assistant repeats a request.

An intentional server switch or routing change may require reconnection. ClickVPN controls the device’s VPN connection, so that transition can briefly affect network access in other applications, including the AI client itself.

The settings available for changes depend on ClickVPN’s current operating mode. Manual changes to country bypass rules require automatic routing to be off. Signing in, completing required confirmations, and managing subscriptions take place in ClickVPN.

The integration is available in all ClickVPN clients. Access to the local server and connection setup also depend on your AI client and the environment in which it runs.

To try VPN control from a conversation, enable MCP in ClickVPN’s settings on your device, connect a compatible assistant, and start with a simple request: “Check whether my VPN is connected.”

Explore MCP for agents, read about Smart Routing, or download ClickVPN.

For AI agents: ClickVPN knowledge, JSON and agent news RSS.

mcpai agentsvpn automation

Your privacy choices

ClickVPN always uses strictly necessary cookies for security, routing, and core website behavior. With your permission, we also use Google Analytics on marketing pages to understand visits, sign-up intent, and pricing interest. You can change this later in Cookie settings.