Connect to the MCP Service

Updated at:

This topic describes how to use the MCP service of an AI cloud computer to expose the cloud computer's own operating capabilities to a local Agent (such as Codex, Qoder, or Claude), so that the local Agent can use the cloud computer as an execution endpoint to complete operations such as taking screenshots, clicking, typing, and launching applications.

Capability Overview

The following service groups can be selected in Open Scope:

Service name

Tool identifier

Capabilities

System Tools

wuying-system-tool

Desktop screenshots and screen information, keyboard and mouse input, application launch and close, file read/write/search/watch, Shell commands and process management, window control, system resource monitoring, session environment variables, and more.

Browser Tools

wuying-browser-tool

Browser automation inside the cloud computer: opening pages and navigating forward and back, page snapshots and element locating, click/hover/drag, form filling and key presses, drop-down selection, scrolling, tab management, page screenshots, PDF export, file upload, JavaScript execution, CAPTCHA handling, and more.

Access Steps

Create an AI cloud computer

  1. Log on to the EDS enterprise console.

  2. Choose one of the following based on your situation:

    • Upgrade an existing regular cloud computer to an AI cloud computer: In the console, on the Cloud Computers page, select the instance, and then choose More > Upgrade to AI Cloud Computer to complete the upgrade.

    • Create a new AI cloud computer: Create a cloud computer in the console and turn on AI Capabilities.

Enable policies for the AI cloud computer

The Port Service Management and Open MCP Service policies must be enabled.

  1. In the console, go to O&M Management > Policies, and click Create Policy.

  2. On the creation page, in the left-side navigation pane, choose AI Accelerator, and turn on Port Service Management and Open MCP Service.

  3. Return to the Cloud Computers page, click More in the Actions column of the target AI cloud computer, and choose Change Policy.

  4. On the Required Policies tab of Selected Policies, click Change Policy, select the policy created in Step 2, and click OK.

    Note
    • After you change the policy, restart the cloud computer for the policy to take effect.

    • MCP service is disabled by default. You must enable the Port Service Management and Enable MCP Service policies. Both will be enabled by default in a later version.

Open services and configure the local Agent

  1. Log on to the Alibaba Cloud Space Terminal and connect to the AI cloud computer.

  2. In the AI cloud computer, open MindCenter, click the Settings button in the lower-left corner, and then select MCP Service on the left.

  3. The top of the page shows the Aggregated MCP Gateway. Confirm that its status is Running, and click Open Services in the upper-right corner.

    Note

    If you cannot find the Open Services option, try updating MindCenter to the latest version. The software automatically pushes the latest version update; select Agree to proceed.

  4. In Open Scope, select the services that you want to open, for example, Browser Tools and System Tools. After you finish selecting, the system generates the client configuration JSON. Click Copy JSON to copy the configuration.

    Note

    The credential changes when the cloud computer client restarts. After a restart, you must regenerate and distribute the client configuration JSON again.

  5. Send the copied JSON as-is to the local Agent, and let the Agent write it to its MCP configuration. For example, enter "Configure this MCP" directly.

Verify the connection

  1. In the local Agent session, enter "Open a browser in the cloud computer and visit the Alibaba Cloud official website".

  2. Log on to the AI cloud computer to verify that the browser is opened correctly and that the Alibaba Cloud official website is visited.

Client configuration JSON

The following is an example of the client configuration JSON:

{
  "mcpServers": {
    "mindcenter": {
      "url": "https://gw-xxxx.cn-hangzhou.aigclinks.com:8023/mcp",
      "headers": { "Authorization": "Bearer sk-xxxx" }
    }
  }
}
  • url: The public address of the gateway. The local address http://127.0.0.1:54747/mcp displayed at the top of the MCP Service page can be accessed only from inside the cloud computer and is intended for Agents inside the cloud computer. When you provide the configuration to a local Agent, you must use the public address.

  • Authorization: The Bearer credential in it is the access credential. It is already embedded in the JSON and can be used after pasting; no separate AccessKey application is required.

  • After the cloud computer client restarts, both the URL and the credential change. You must regenerate the client configuration JSON and send it to the recipient again.

Security Notice

Important

When you enable the service, the page displays the following notice:

Anyone who holds this configuration can use the selected file, Shell, process, desktop, and browser tools with the permissions of the current OS user, and shares the session state. Provide it only to objects within the same trust boundary. Disabling only blocks new calls; it does not cancel operations that have already been accepted.

Follow these security recommendations:

  • The credential is equivalent to the right to operate the cloud computer: Anyone or any Agent that obtains the client configuration JSON can operate the cloud computer with the identity of the currently logged-on user. Provide it only to trusted people or trusted Agents, and do not publish it in group announcements, code repositories, or public documents.

  • Disabling does not mean termination: Turning off Open Services only blocks subsequent new calls; operations that are already being executed are not interrupted. For urgent risk mitigation, also lock the screen, shut down the computer, or change the password.

  • Open only what is needed (least privilege): Each type of tool you open expands the operations that the configuration holder can perform. Open only the service groups required for the current task, and disable Open Services promptly after the task is complete.

Billing

MCP calls use the basic operating capabilities of the cloud computer, such as screenshots, launching applications, and keyboard and mouse control, and do not consume AI credits. To use the AI capabilities built into AI Computer (such as the GUI Agent), you must purchase a shared credit package separately.

Usage Limits

  • The public address of the open service depends on the cloud computer client remaining online. If the client exits or restarts, the credential becomes invalid, and you must regenerate and distribute the client configuration JSON again. Therefore, it is not suitable for long-term fixed integration. For long-term integration, evaluate whether a stable credential solution is available for your scenario.

  • When multiple service groups are opened at the same time, their tools are opened in a merged form. The tools available to the local Agent change with the selected services, and adjusting the groups may change tool names.