---
title: "Get the WebPros MCP connection configuration"
method: GET
path: "/WebProsMCP/get_connection_config"
tags: ["WebProsMCP"]
---

# Get the WebPros MCP connection configuration

`GET /WebProsMCP/get_connection_config`

Returns whether the current cPanel user's account is linked to a WebPros Account and the connection snippet for the WebPros MCP.

## Response `200`

HTTP Request was successful.

- object
  - `apiversion` integer
  - `func` string
  - `module` string
  - `result` object
    - `data` object
      - `is_linked` integer — 1 if the current user has a WebPros authentication link, 0 otherwise.
      - `link_url` string — Session-relative URL used to initiate the WebPros Account link.
      - `environment` string — 'production' when the baked-in defaults are in effect, or 'overridden' when the overrides file repoints either MCP value.
      - `mcp_config` object — The MCP connection snippet.
        - `name` string
        - `type` string
        - `url` string
        - `oauth` object
          - `clientId` string
          - `callbackPort` integer
    - `errors` string[]
    - `messages` string[]
    - `status` integer
    - `warnings` string[]

---

[API](https://skmtc.net/cpanel/apis/cpanel-uapi.md) · [All operations](https://skmtc.net/cpanel/apis/cpanel-uapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cpanel/cpanel-uapi/revisions/632e2f8e6d04/schema)
