AgentBay MCP server

Provides serverless cloud infrastructure for AI agents.
Back to servers
Setup instructions
Provider
Michael
Release date
Apr 24, 2025
Language
TypeScript
Stats
5 stars

Wuying AgentBay MCP Server provides cloud infrastructure designed for AI Agents, enabling enterprises, developers, and AI vendors to easily configure and run AI Agent tasks in a secure, serverless cloud environment. Through the AgentBay MCP Server, agent applications can quickly integrate and utilize relevant tools with minimal setup.

Overview of AgentBay

AgentBay is Alibaba Cloud's Wuying cloud infrastructure specifically designed for AI Agents, providing a secure execution environment with pre-integrated standard tools, user state persistence, and real-time edge-cloud interaction capabilities.

Installation Guide

Creating an API Key

  1. Log in to the AgentBay Console
  2. Navigate to Service Management in the left sidebar
  3. Click Create API KEY
  4. Enter a name in the dialog box and click OK

Note: During the public beta, you can create up to 10 API Keys. The generated key will appear in the service management page list.

Configuring MCP Service

  1. Log in to the AgentBay Console
  2. Click Configure Resources in the left navigation
  3. Select your created API Key from the dropdown list
  4. Choose an image from the Select Image dropdown
  5. Review available MCP tools on the right side under Tool Capabilities and Interface
  6. Copy the configuration code from the Obtain MCP Information text box

Usage Guide

Setting Up with Cursor

Here's how to configure Cursor V0.48.9 to use the MCP server:

  1. Open Cursor Settings
  2. Click MCP in the left navigation
  3. In the MCP Servers panel, click Add new global MCP server
  4. Paste the following JSON code, replacing YOUR_API_KEY with your actual key:
{
  "mcpServers": {
    "wuying_mcp_server": {
      "url": "https://agentbay.wuying.aliyun.com/sse?APIKEY=YOUR_API_KEY"
    }
  }
}

Persisting Environment Configuration

To retain your configuration and environment between sessions, add the EXTERNALID parameter:

{
  "mcpServers": {
    "wuying_mcp_server": {
      "url": "https://agentbay.wuying.aliyun.com/sse?APIKEY=YOUR_API_KEY&EXTERNALID=user001"
    }
  }
}

Using Screen Streaming

The system provides screen streaming capabilities for cloud computer interfaces:

  1. MCP will return a link formatted as:

    https://wuying.aliyun.com?mcp.html?authcode=<authCode>&resourceId=<resourceId>
    
  2. This link has a limited validity period and should be used immediately

  3. You can configure keyboard and mouse interaction by adding parameters:

    &input=true&keyboard=true
    
  4. For detailed SDK information, refer to the Web SDK Documentation

Testing Your Setup

Test the configuration using prompts like:

  • "Open the browser with wuying-agentbay and access wuying.aliyun.com"

If configured correctly, the Wuying cloud environment will start, execute browser operations, and provide a Web link to open the Wuying screen stream for interactive control.

Available Tools

The initial release environment includes:

  • Browser tool
  • File tool
  • Terminal tool

For the latest tool updates, visit the AgentBay Console.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "wuying_mcp_server" '{"url":"https://agentbay.wuying.aliyun.com/sse?APIKEY=YOUR_API_KEY"}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "wuying_mcp_server": {
            "url": "https://agentbay.wuying.aliyun.com/sse?APIKEY=YOUR_API_KEY"
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "wuying_mcp_server": {
            "url": "https://agentbay.wuying.aliyun.com/sse?APIKEY=YOUR_API_KEY"
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later