beginner⏱️ 10-20 minutes📅 Updated June 2026

Step-by-step guide to integrate AgentBay MCP server with JetBrains AI Assistant. Includes serverless environment management and browser integration.

AgentBay + JetBrains AI Assistant: Complete MCP Integration

AgentBay is a MCP server that An MCP server for providing serverless cloud infrastructure for AI agents..

When integrated with JetBrains AI Assistant, you can:

  • One-click environment session management with automatic scaling
  • Web browser access and automation within cloud environments
  • File management and manipulation in cloud environments

This guide provides step-by-step instructions to set up AgentBay in JetBrains AI Assistant, including configuration, examples, and troubleshooting.

What You'll Achieve

After completing this setup:

  • AgentBay will be fully integrated and operational
  • You can use AgentBay tools directly in JetBrains AI Assistant
  • All AgentBay capabilities will be available for your workflows
  • Access to 5 different tools

Prerequisites

Before starting, ensure you have:

  • JetBrains AI Assistant installed and configured
  • Compatible operating system (Windows, macOS, Linux)

Installation

Step 1: Install AgentBay

Configuration

Step 2: Configure JetBrains AI Assistant

  1. Locate your configuration file:

    • Windows: Settings > Tools > AI Assistant > Model Context Protocol (MCP)
    • macOS: Preferences > Tools > AI Assistant > Model Context Protocol (MCP)
    • Linux: Settings > Tools > AI Assistant > Model Context Protocol (MCP)
  2. Add server configuration:

{
  "mcpServers": {
    "agentbay": {
      "command": "npx",
      "args": ["-y", "agentbay"],
      "env": {
        
      }
    }
  }
}

  1. Restart JetBrains AI Assistant

Completely quit and restart JetBrains AI Assistant to load the new configuration.

Examples

Once configured, you can use AgentBay in JetBrains AI Assistant:

Open Browser Session

Launch browser and navigate to specific website

Ask JetBrains AI Assistant: "Open browser with wuying-agentbay and access wuying.aliyun.com"

Expected Result: Browser session started with navigation to specified URL and screen streaming enabled

Development Environment Setup

Create isolated development environment for coding project

Ask JetBrains AI Assistant: "Set up a Python development environment with required packages for data analysis"

Expected Result: Linux environment created with Python, pip, and data analysis libraries installed

File Processing Workflow

Upload, process, and download files using cloud resources

Ask JetBrains AI Assistant: "Upload my dataset.csv, run data processing script, and download the results"

Expected Result: File uploaded, processing completed in cloud environment, results available for download

Multi-Agent Deployment

Deploy multiple AI agents for parallel processing

Ask JetBrains AI Assistant: "Deploy 5 AI agents for parallel image processing tasks with load balancing"

Expected Result: Multiple agent instances deployed, work distributed, and results aggregated

Testing Your Setup

  1. Start a new conversation in JetBrains AI Assistant
  2. Ask JetBrains AI Assistant to list available tools
  3. Try using AgentBay functionality

Test prompts:

  • "Type / and look for AgentBay tools in the command list"
  • "Ask AI Assistant to use AgentBay for a specific task"
  • "Check the MCP settings page for connection status indicator"

Troubleshooting

Common Issues

API Key Authentication Failed

Symptoms: Access denied errors, Invalid API key messages, 401 Unauthorized

Cause: Invalid or expired API key

Solution:

  • Verify API key is correct and active in AgentBay Console
  • Check API key permissions and quotas
  • Regenerate API key if expired or compromised
  • Ensure API key is properly URL-encoded in SSE endpoint

Concurrent Instance Limit Exceeded

Symptoms: Resource allocation errors, Instance creation failures

Cause: Public beta limit of 10 concurrent instances reached

Solution:

  • Wait for existing instances to complete or terminate them
  • Optimize workflows to use fewer concurrent instances
  • Consider upgrading to production plan for higher limits
  • Monitor instance usage and implement resource pooling

Environment Session Lost

Symptoms: Session disconnection, State not persisted, Data loss

Cause: Network connectivity issues or session timeout

Solution:

  • Use EXTERNALID parameter for persistent sessions
  • Implement session restoration mechanisms
  • Save work frequently to persistent storage
  • Check network stability and connection quality

Screen Streaming Performance Issues

Symptoms: Lag in browser streaming, Poor video quality, Connection drops

Cause: Network bandwidth limitations or high latency

Solution:

  • Check internet connection speed and stability
  • Use lower quality settings for better performance
  • Choose nearest edge location for better latency
  • Optimize browser usage for streaming performance

MCP Server Not Connecting

Symptoms: Server status shows disconnected, Tools not appearing in chat, Connection timeout

Cause: Server configuration incorrect or server not starting

Solution:

  • Verify server command is correct and executable
  • Check environment variables are set properly
  • View MCP logs: Help > Show Log in Explorer > mcp folder
  • Test server command in terminal manually

Remote Server Not Supported

Symptoms: HTTP server not connecting, SSE transport errors

Cause: AI Assistant only supports stdio transport for client connections

Solution:

  • Use mcp-remote proxy for remote servers
  • Configuration: npx -y mcp-remote@latest https://server-url/endpoint
  • This wraps HTTP/SSE in stdio transport

Import from Claude Not Working

Symptoms: No servers imported, Configuration empty after import

Cause: Claude Desktop config file not found or in unexpected location

Solution:

  • Verify Claude Desktop is installed
  • Check config exists at ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
  • Or %APPDATA%/Claude/claude_desktop_config.json (Windows)
  • Manually copy configuration if auto-import fails

External Client Cannot Connect to IDE Server

Symptoms: Client shows MCP server unavailable, Connection refused

Cause: IDE MCP server not enabled or client not configured

Solution:

  • Enable MCP Server in Settings > Tools > MCP Server
  • Use Auto-Configure for supported clients
  • Restart both IDE and external client
  • Check firewall allows local connections

Brave Mode Commands Not Running

Symptoms: Terminal commands require confirmation, Workflow interrupted by prompts

Cause: Brave mode not enabled

Solution:

  • Enable in Settings > Tools > MCP Server
  • Check "Run shell commands without confirmation (brave mode)"
  • Use with caution - commands run without confirmation

AgentBay not appearing in JetBrains AI Assistant

Symptoms: Server not listed, Tools not available

Cause: Configuration or installation issue

Solution:

  • Verify configuration syntax
  • Check AgentBay installation
  • Restart JetBrains AI Assistant
  • Check logs for error messages

Next Steps

Now that AgentBay is integrated with JetBrains AI Assistant:

  • Explore all AgentBay capabilities through JetBrains AI Assistant
  • Check out other MCP servers that work with JetBrains AI Assistant
  • Join the MCP community for tips and support
  • Consider contributing to AgentBay development

Need Help?

Related Resources

More Integrations

Explore other MCP servers that work with JetBrains AI Assistant

Need Help?

Join the MCP community for support and discussions

AgentBay + JetBrains AI Assistant: MCP Setup Guide (2026)