接入阿里云无影 AgentBay,为智能体提供可配置的任务执行工具和云端执行环境。
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add agentbay --env APIKEY='<APIKEY>' --env IMAGEID='<IMAGEID>' -- npx -y wuying-agentbay-mcp-server~/.codex/config.toml
[mcp_servers.agentbay]
command = "npx"
args = ["-y", "wuying-agentbay-mcp-server"]
env = { APIKEY = "<APIKEY>", IMAGEID = "<IMAGEID>" }
# codex mcp add agentbay --env APIKEY='<APIKEY>' --env IMAGEID='<IMAGEID>' -- npx -y wuying-agentbay-mcp-server~/.cursor/mcp.json
{
"mcpServers": {
"agentbay": {
"command": "npx",
"args": [
"-y",
"wuying-agentbay-mcp-server"
],
"env": {
"APIKEY": "<APIKEY>",
"IMAGEID": "<IMAGEID>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"agentbay": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"wuying-agentbay-mcp-server"
],
"env": {
"APIKEY": "<APIKEY>",
"IMAGEID": "<IMAGEID>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"agentbay": {
"command": "npx",
"args": [
"-y",
"wuying-agentbay-mcp-server"
],
"env": {
"APIKEY": "<APIKEY>",
"IMAGEID": "<IMAGEID>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"agentbay": {
"command": "npx",
"args": [
"-y",
"wuying-agentbay-mcp-server"
],
"env": {
"APIKEY": "<APIKEY>",
"IMAGEID": "<IMAGEID>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"agentbay": {
"command": "npx",
"args": [
"-y",
"wuying-agentbay-mcp-server"
],
"env": {
"APIKEY": "<APIKEY>",
"IMAGEID": "<IMAGEID>"
}
}
}
}Remote
claude mcp add --transport http agentbay 'https://agentbay.wuying.aliyuncs.com/v2/mcp?APIKEY=<YOUR_API_KEY>&IMAGEID=<YOUR_IMAGEID>'~/.codex/config.toml
[mcp_servers.agentbay]
url = "https://agentbay.wuying.aliyuncs.com/v2/mcp?APIKEY=<YOUR_API_KEY>&IMAGEID=<YOUR_IMAGEID>"
# codex mcp add agentbay --url 'https://agentbay.wuying.aliyuncs.com/v2/mcp?APIKEY=<YOUR_API_KEY>&IMAGEID=<YOUR_IMAGEID>'~/.cursor/mcp.json
{
"mcpServers": {
"agentbay": {
"url": "https://agentbay.wuying.aliyuncs.com/v2/mcp?APIKEY=<YOUR_API_KEY>&IMAGEID=<YOUR_IMAGEID>"
}
}
}.vscode/mcp.json
{
"servers": {
"agentbay": {
"type": "http",
"url": "https://agentbay.wuying.aliyuncs.com/v2/mcp?APIKEY=<YOUR_API_KEY>&IMAGEID=<YOUR_IMAGEID>"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"agentbay": {
"httpUrl": "https://agentbay.wuying.aliyuncs.com/v2/mcp?APIKEY=<YOUR_API_KEY>&IMAGEID=<YOUR_IMAGEID>"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"agentbay": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://agentbay.wuying.aliyuncs.com/v2/mcp?APIKEY=<YOUR_API_KEY>&IMAGEID=<YOUR_IMAGEID>"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"agentbay": {
"url": "https://agentbay.wuying.aliyuncs.com/v2/mcp?APIKEY=<YOUR_API_KEY>&IMAGEID=<YOUR_IMAGEID>"
}
}
}Environment variables
APIKEYIMAGEID
Replace the placeholders with your own credentials and keep them out of version control.