Connect to the MCP server

Overview

This document explains how to connect Claude Code, GitHub® Copilot, or Visual Studio Code to WebPros Dashboard’s Model Context Protocol (MCP) server. When you set up the connection, your AI agent can interact with the servers, domains, and resources in your account using an MCP key.

About the MCP interface

The MCP interface (Account Menu » MCP) allows you to manage your MCP settings. You decide which resources an agent can reach, whether it can change them or only read them, and which MCP tools are available.

An MCP tool is a specific function that your agents call to interact with your WebPros Dashboard account. For example, you can ask your AI agent to list your WebPros Dashboard servers or run a Plesk API method. For the complete list of available tools, read our MCP tools documentation.

This feature is useful when you want to:

  • Automate hosting support processes with an AI agent that diagnoses and resolves common issues.
  • Connect an external AI client, such as a chat assistant or a code editor, to perform automated actions on your servers.
  • Give an agent scoped, auditable access to hosting resources without sharing full account credentials.

Prerequisites

Before you connect to the MCP server, you need to set up the following:

  1. You must create an MCP key before you can connect to your account’s MCP server. For more information, read our Create and manage MCP keys documentation.
  2. Optionally, you can also create an API token to connect to the WebPros Dashboard API. For more information, read our Create and manage API tokens documentation.

Connect an AI agent

An agent is an AI-powered client that connects to the WebPros Dashboard MCP server and calls its tools on your behalf. When you give an agent a task, it calls the relevant MCP tool to complete it. Popular agentic platforms to manage WebPros Dashboard include Claude Code, GitHub Copilot, and VS Code.

Note:

We strongly recommend you monitor the actions your agents take through the MCP server. For more information, read our Manage MCP keys and agent activity documentation.

Claude Code

Run the following command to connect Claude Code to the WebPros Dashboard MCP, replacing YOUR_WEBPROS_MCP_KEY with your MCP key:

1claude mcp add --transport http webpros-dashboard https://mcp.webpros.com/api/mcp --header "Authorization: Bearer YOUR_WEBPROS_MCP_KEY"

For more information, read Claude Code’s Connect MCP servers to Claude Code documentation.

GitHub Copilot

Run the following command to connect GitHub Copilot to the WebPros Dashboard MCP, replacing YOUR_WEBPROS_MCP_KEY with your MCP key:

1copilot mcp add --transport http webpros-dashboard https://mcp.webpros.com/api/mcp --header "Authorization: Bearer YOUR_WEBPROS_MCP_KEY"

For more information, read GitHub’s Adding MCP servers for GitHub Copilot CLI documentation.

Visual Studio Code

To connect VS Code to the WebPros Dashboard MCP, perform the following steps:

  1. Open the Command Palette (Ctrl+Shift+P on Windows®/Linux® or Cmd+Shift+P on macOS®) and run MCP: Open User Configuration. VS Code opens the mcp.json file or creates it if it doesn’t exist yet.

  2. Replace YOUR_WEBPROS_MCP_KEY with your MCP key in the following snippet. Then, paste it into the file and save it.

     1{
     2	"servers": {
     3		"webpros-dashboard": {
     4			"url": "https://mcp.webpros.com/api/mcp",
     5			"type": "http",
     6			"headers": {
     7				"Authorization": "Bearer YOUR_WEBPROS_MCP_KEY"
     8			}
     9		}
    10	}
    11}
    
  3. Open the Command Palette and run MCP: List Servers.

  4. Select the WebPros Dashboard MCP server, and then select one of the following options:

    • Start Server — Starts the server process and connects VS Code to it.
    • Show Configuration — Opens the server’s entry in the mcp.json file for review or editing.
    • Show Output — Opens the server’s output log, showing connection status and the tools it discovers.
    • Configure Model Access — Sets the models the server can use through MCP sampling.
  5. Open the Chat view (Ctrl+Alt+I on Windows/Linux or Cmd+Shift+I on macOS) and set the chat mode to Agent.

  6. Select Configure Tools in the chat input to manage the available WebPros Dashboard MCP tools.

  7. Enter a prompt describing the action you want the agent to perform.

For example, you could use the following prompt to call the si_cpanel_user_api_method_execute tool and list the email accounts for the username cPanel user on example.com:

1List all email accounts for the cPanel user username on example.com.

For more information, read VS Code’s Add and manage MCP servers in VS Code documentation.