Skip to content

Elitea MCP Client Integration via STDIO

Overview

The Elitea platform offers powerful bidirectional integration capabilities through its MCP Client functionality, allowing you to connect external MCP servers to extend Elitea's capabilities with specialized tools and services. This integration enables Elitea to act as an MCP Client, connecting to and orchestrating multiple external MCP servers such as Playwright for browser automation and GitHub for repository management.

Using Standard Input/Output (STDIO) transport, Elitea can communicate with various MCP servers, making it an ideal orchestration platform for complex workflows that require integration with multiple external services. Whether you're automating web testing with Playwright or managing GitHub repositories, this guide will walk you through setting up and leveraging Elitea's MCP Client capabilities.

What is the MCP Protocol?

The Model Context Protocol (MCP) is an open standard designed to enable seamless communication between AI-powered tools, agents, and client applications. By following the MCP protocol, different systems can exchange context, tasks, and results in a consistent and interoperable way.

MCP is widely adopted in the AI ecosystem, making it easier to integrate various tools and platforms with AI agents. Elitea's implementation allows it to act as both an MCP Server (providing agents as tools) and an MCP Client (connecting to external MCP servers).

To learn more about the technical details and capabilities of MCP, visit the official documentation: MCP Protocol.

Architecture and Communication Flow

Elitea as an MCP Client

When Elitea acts as an MCP Client, it establishes connections to external MCP servers and makes their tools available to Elitea agents and workflows. This creates a powerful ecosystem where Elitea can orchestrate complex multi-tool workflows.

┌─────────────────┐    STDIO      ┌──────────────────┐
│  Elitea Agent   │◄─────────────►│ Playwright MCP   │
│                 │               │ Server           │
└─────────────────┘               └──────────────────┘
         │
         │ STDIO
         ▼
┌─────────────────┐               ┌──────────────────┐
│ GitHub MCP      │◄─────────────►│ Other MCP        │
│ Server          │    STDIO      │ Servers          │
└─────────────────┘               └──────────────────┘

Stateful & Stateless Sessions – Flexible Server Connection Modes

Elitea supports both stateful and stateless session modes when connecting to external MCP servers:

  • Stateful sessions keep a persistent connection open, allowing context and data to be shared across multiple tool calls. This is ideal for workflows that require continuity, such as browser automation, multi-step testing, or working with sessions that need to remember previous actions.

  • Stateless sessions start fresh for each tool call, ensuring a clean environment every time. This is best for simple, independent operations where you want to avoid any leftover state or side effects between runs.

You can choose the mode that fits your workflow best—stateful for complex, ongoing tasks, or stateless for isolated, repeatable actions. Configuration is simple and can be set per server in your Elitea MCP Client settings.

Key Benefits

  • Multi-tool Orchestration: Connect multiple specialized MCP servers simultaneously
  • Stateful Session Management: Maintain persistent connections for complex workflows
  • Bidirectional Communication: Elitea can both provide and consume MCP services
  • Extensible Architecture: Easily add new capabilities by connecting additional MCP servers

Prerequisites

Before setting up Elitea as an MCP Client, ensure you have the following:

  • Elitea Project Access
    You'll need access to an Elitea project with the ability to configure MCP client connections. Contact your Elitea administrator if you need project access.

  • Authentication Token
    An authentication token is required to configure the MCP client connections. You can generate and manage tokens in the Elitea web interface under the Settings & Configuration – Personal Tokens section.

  • External MCP Servers
    You'll need access to the external MCP servers you want to connect (e.g., Playwright MCP, GitHub MCP). Each server may have its own authentication requirements.

  • Project Configuration Access
    The ability to modify your Elitea project's MCP client configuration, typically done through the Elitea web interface or configuration files.

Step-by-Step Setup: Installation, Configuration & Execution

Prerequisites

  • Python 3.10+ installed
  • pipx (recommended) or pip
  • Elitea Project ID & Authentication Token (how to get)

1. Installation

brew install pipx
pipx ensurepath
pipx install alita-mcp

If needed, add to your shell profile:

echo 'export PATH="$PATH:$HOME/.local/bin"' >> ~/.zprofile
source ~/.zprofile

Linux

sudo apt install pipx   # or: sudo dnf install pipx
pipx ensurepath
pipx install alita-mcp

Windows

pip install --user pipx
python -m pipx ensurepath
pipx install alita-mcp

Alternative: pip (all platforms)

pip install alita-mcp

2. Configuration

Run the bootstrap wizard to set up your Elitea connection and MCP servers:

alita-mcp bootstrap

You’ll be prompted for: - Deployment URL (e.g., https://nexus.elitea.ai) - Authentication Token - Host/Port (accept defaults unless needed) - Project ID - MCP Server Configuration (add Server Name, Server Type, Command, Args and Keep Connection alive)

Example:
For Playwright:

Server Name: Playwright
Server Type: 2 (stdio)
Command: npx
Args: @playwright/mcp@latest
Keep connection alive? y

Configuration File Locations

  • macOS: ~/Library/Application Support/alita-mcp-client/config.json
  • Linux: ~/.config/alita-mcp-client/config.json
  • Windows: %APPDATA%\\alita-mcp-client\\config.json

You can edit this file manually for advanced setups.


3. Execution & Usage

Command Line

  • Run with all project agents:
    bash alita-mcp run --project_id YOUR_PROJECT_ID
  • Run with a specific agent:
    bash alita-mcp run --project_id YOUR_PROJECT_ID --app_id YOUR_APP_ID
  • Start in background (daemon):
    bash alita-mcp serve --daemon
  • Start the tray app:
    bash alita-mcp tray
  • Run in background:
    bash alita-mcp tray --daemon
  • Auto-start on login:
  • macOS: Copy scripts/launch-tray-macos.sh to ~/Applications/ and add to Login Items.
  • Linux: Copy .desktop file to ~/.config/autostart/.
  • Windows: Copy launch-tray-windows.bat to the Startup folder (Win+R, type shell:startup).

Tray Menu Features:
- Start/stop, restart MCP servers, open/view config, run bootstrap, view status, quit.


Tip:
The tray app is the easiest way to manage your MCP client, especially for non-technical users. Use the CLI for automation or advanced workflows.


Using MCP Servers from the Elitea UI

Once your MCP server is set up and running, you can connect it to your Elitea agents directly from the Elitea web interface. This allows you to use powerful external tools as part of your agent workflows.

How to Add MCP Server as a Toolkit to an Agent

  1. Navigate to Elitea and select the project where you have configured MCP servers.
  2. Create a new agent or select an existing one.
    1. Go to the Configuration tab of the agent.
    2. Scroll down to the Toolkits section.
    3. Click Add Toolkit.
    4. Your configured MCP server(s) will appear in the list, using the names you set during setup. Select MCP Server Toolkit
    5. Select the desired MCP server as a toolkit.
    6. Provide a Name and Description for the toolkit.
    7. Review and select the suggested tools for that toolkit. By default, all tools are selected. Select Tools for Toolkit
  3. Click Save to apply the toolkit to the agent.
  4. Configure the agent’s settings, instructions, etc., and save your changes.

You can now use the MCP server’s tools directly from Elitea—triggering actions, automations, or integrations as part of your agent’s workflow.

Project and User Scope Notes

  • Private Project Setup:
  • If you set up an MCP server in your Private project, it becomes available in your Private project and in all "Team" projects where you are a member. However, only you will see and be able to use these MCP servers.
  • Team Project Setup:
  • If you set up an MCP server in a Team project, it becomes available to all users of that Team project, as well as in your Private project and any other Team projects you are involved in. Still, only you will see and be able to use the MCP servers you configured.

Tip: This ensures your MCP integrations are both flexible and secure—available where you need them, but only visible to you unless shared in a Team project.


You’re now ready to leverage external MCP tools in your Elitea agents, all from the Elitea UI!

Use Cases:

Use Case 1: Web Application Testing with Playwright MCP

Goal: Automate browser-based testing of a web application directly from Elitea, enabling agents to perform UI checks, capture screenshots, and validate workflows without writing code.

Setup Steps

  1. Ensure Playwright MCP Server is running and configured in your Elitea MCP Client (see earlier setup instructions).
  2. In Elitea UI:
    • Select your project.
    • Create a new agent (e.g., "Web Tester") or select an existing one.
    • Go to the agent's Configuration tab.
    • In the Toolkits section, click Add Toolkit.
    • Select your Playwright MCP server from the list (named as you configured it).
    • Provide a descriptive name (e.g., "Playwright Browser Automation") and description.
    • Review the available Playwright tools (e.g., navigate, click, fill, screenshot) and select those you want to enable (all are selected by default).
    • Click Save to add the toolkit to your agent.
    • Configure the agent's instructions (e.g., "Test the login page and capture a screenshot after login.").
    • Save the agent.

How to Use

  • Trigger the agent from the Elitea UI, providing the target website or scenario as input.
  • The agent will use Playwright MCP to automate browser actions, perform checks, and return results (such as screenshots or status messages) directly in Elitea.

Results

  • Automated, repeatable browser tests run from Elitea—no coding required.
  • Visual feedback (screenshots, pass/fail status) is available in the agent's output.
  • Great for regression testing, smoke tests, or validating deployments.

Use Case 2: Repository Management and Issue Automation with GitHub MCP

Goal: Empower Elitea agents to interact with GitHub repositories—creating issues, managing pull requests, or tracking project status—without leaving the Elitea UI.

Setup Steps

  1. Ensure GitHub MCP Server is running and configured in your Elitea MCP Client (see earlier setup instructions).
  2. In Elitea UI:
    • Select your project.
    • Create a new agent (e.g., "GitHub Manager") or select an existing one.
    • Go to the agent's Configuration tab.
    • In the Toolkits section, click Add Toolkit.
    • Select your GitHub MCP server from the list (named as you configured it).
    • Provide a descriptive name (e.g., "GitHub Automation Toolkit") and description.
    • Review the available GitHub tools (e.g., create issue, list repositories, manage pull requests) and select those you want to enable (all are selected by default).
    • Click Save to add the toolkit to your agent.
    • Configure the agent's instructions (e.g., "Create a new issue in the selected repository with the provided details.").
    • Save the agent.

How to Use

  • Trigger the agent from the Elitea UI, providing repository details, issue descriptions, or pull request information as needed.
  • The agent will use GitHub MCP to perform the requested actions and return results (such as issue links, PR status, or repository lists) directly in Elitea.

Results

  • Seamless GitHub management from Elitea—no need to switch tools or write code.
  • Agents can automate repetitive tasks, track project progress, or facilitate team collaboration.
  • Ideal for product owners, QA, or anyone managing GitHub workflows within Elitea.

Additional Resources and Support

For further reading and to deepen your understanding of Elitea MCP Client and related technologies, explore the following resources: