Navigation
Aipolabs Mcp Unified: AI-Driven Efficiency & Enterprise Security - MCP Implementation

Aipolabs Mcp Unified: AI-Driven Efficiency & Enterprise Security

Aipolabs Mcp Unified: Unify your multi-cloud operations with AI-driven efficiency, cost savings & enterprise-grade security. Simplify your digital transformation journey.

Developer Tools
4.4(140 reviews)
210 saves
98 comments

Users create an average of 44 projects per month with this tool

About Aipolabs Mcp Unified

What is Aipolabs Mcp Unified: AI-Driven Efficiency & Enterprise Security?

Aipolabs Mcp Unified is a cutting-edge MCP server solution designed to streamline access to AI-powered tools across the ACI.dev platform. Unlike traditional servers that require manual configuration for each app, this unified system dynamically discovers and executes any available function through two core meta-tools: ACI_SEARCH_FUNCTIONS_WITH_INTENT and ACI_EXECUTE_FUNCTION. This approach eliminates the overhead of managing multiple servers while maintaining enterprise-grade security through linked account permissions and API key validation.

How to Use Aipolabs Mcp Unified: AI-Driven Efficiency & Enterprise Security?

Quick Setup Steps

  1. Install the package via pip install uv
  2. Set your AIPOLABS_ACI_API_KEY environment variable
  3. Launch servers with:
    uvx aipolabs-mcp unified-server --linked-account-owner-id [YOUR_ID]

Advanced Usage Scenarios

  • Limit tool access to authorized apps:
    --allowed-apps-only
    flag restricts discovery to pre-approved functions
  • Custom transport configurations: Use --transport sse --port 8000 for real-time updates
  • Integration examples:
    • Claude Desktop: Add server config to claude_desktop_config.json
    • Cursor: Configure via mcp.json with environment variables

Aipolabs Mcp Unified Features

Key Features of Aipolabs Mcp Unified: AI-Driven Efficiency & Enterprise Security?

Dynamic Tool Discovery

Automatically find relevant functions based on intent – no manual tool listing required

Enterprise Security

Role-based access control with linked account ownership and API key authentication

LLM Context Optimization

Avoid bloated context windows by deferring tool discovery until execution time

Seamless Scalability

Supports thousands of tools without requiring server-side infrastructure changes

Use Cases of Aipolabs Mcp Unified: AI-Driven Efficiency & Enterprise Security?

Real-World Applications

  • Automated Cross-App Workflows: Orchestrate Brave Search and Gmail functions in a single workflow for lead generation
  • Compliance-Driven Automation: Restrict access to finance tools using --allowed-apps-only for regulated environments
  • Dynamic Helpdesk Solutions: Let AI agents discover the best support tools (e.g., Zendesk, Slack) based on ticket context
  • Security Auditing: Combine vulnerability scan tools with incident reporting functions through unified execution

Aipolabs Mcp Unified FAQ

FAQ from Aipolabs Mcp Unified: AI-Driven Efficiency & Enterprise Security?

How do I choose between Apps Server and Unified Server?

Use Apps Server for tightly controlled environments with specific tools. Opt for Unified Server when you need flexible access to the entire ACI ecosystem without upfront configuration

What happens if I forget my LINKED_ACCOUNT_OWNER_ID?

Retrieve it from the ACI Project Settings under account management

Can I customize the search intent parameters?

Yes! Pass custom intent parameters through the ACI_SEARCH_FUNCTIONS_WITH_INTENT metadata fields for refined discovery

How is security maintained across multiple tools?

Each function execution is validated against the requesting agent's permissions and linked account policies

Content

MCP servers powered by ACI.dev

Table of Contents

  • Overview
  • Prerequisites
  • Installation
  • Usage
    • Apps Server
    • Unified Server
  • Understanding the Two Server Types
    • Apps Server
    • Unified Server
  • Configuration
    • Usage with Claude Desktop
    • Usage with Cursor
  • FAQ
  • Debugging

Overview

This package provides two Model Context Protocol (MCP) servers for accessing ACI.dev managed functions (tools):

  • aipolabs-mcp-apps: An MCP server that provides direct access to functions (tools) from specified apps
  • aipolabs-mcp-unified: An MCP server that provides two meta functions (tools) (ACI_SEARCH_FUNCTIONS_WITH_INTENT and ACI_EXECUTE_FUNCTION) to discover and execute ALL functions (tools) available on ACI.dev

Prerequisites

Before using this package, you need to (for more information please see tutorial):

  1. Set the AIPOLABS_ACI_API_KEY environment variable with your ACI.dev API key
  2. Configure apps and set them in allowed_apps for your agent on platform.aci.dev.
  3. Link your app specific accounts under the same --linked-account-owner-id you'll later provide to start the MCP servers

Installation

The package is published to PyPI, so you can run it directly using uvx:

# Install uv if you don't have it already
curl -sSf https://install.pypa.io/get-pip.py | python3 -
pip install uv

Usage

Apps Server

The apps server provides direct access to functions (tools) under specific apps. You can specify one or more apps to use with the --apps parameter. (For a list of available apps, please visit ACI.dev)

# Using stdio transport (default)
uvx aipolabs-mcp apps-server --apps "BRAVE_SEARCH,GMAIL" --linked-account-owner-id <LINKED_ACCOUNT_OWNER_ID>

# Using SSE transport with custom port
uvx aipolabs-mcp apps-server --apps "BRAVE_SEARCH,GMAIL" --linked-account-owner-id <LINKED_ACCOUNT_OWNER_ID> --transport sse --port 8000

Unified Server

The unified server provides two meta functions (tools) to discover and execute ANY functions (tools) available on ACI.dev, even if they aren't directly listed in the server.

The functions (tools) are dynamically searched and executed based on your intent/needs. You don't need to worry about having thousands of tools taking up your LLM's context window or having to integrate multiple MCP servers.

# During functions (tools) search/discovery, allow discoverability of all functions (tools) available on ACI.dev
uvx aipolabs-mcp unified-server --linked-account-owner-id <LINKED_ACCOUNT_OWNER_ID>

# During functions (tools) search/discovery, limit to only functions (tools) accessible by the requesting agent (identified by AIPOLABS_ACI_API_KEY)
uvx aipolabs-mcp unified-server --linked-account-owner-id <LINKED_ACCOUNT_OWNER_ID> --allowed-apps-only

Understanding the Two Server Types

Apps Server

The apps server provides direct access to specific app functions/tools you specify with the --apps parameter. These tools will appear directly in the tool list when MCP clients (e.g. Claude Desktop, Cursor, etc.) interact with this server.

Unified Server

The unified server doesn't directly expose app-specific tools. Instead, it provides two meta functions (tools):

  1. ACI_SEARCH_FUNCTIONS_WITH_INTENT: Discovers functions (tools) based on your intent/needs
  2. ACI_EXECUTE_FUNCTION: Executes ANY function (tool) discovered by the search

This approach allows MCP clients to dynamically discover and use ANY function available on ACI.dev platform without needing to list them all upfront. It can search for the right tool based on your needs and then execute it.

Configuration

Usage with Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "aipolabs-mcp-unified": {
      "command": "uvx",
      "args": ["aipolabs-mcp", "unified-server", "--linked-account-owner-id", "<LINKED_ACCOUNT_OWNER_ID>"]
    }
  }
}

For apps-specific access:

{
  "mcpServers": {
    "aipolabs-mcp-apps": {
      "command": "uvx",
      "args": ["aipolabs-mcp", "apps-server", "--apps", "BRAVE_SEARCH,GMAIL", "--linked-account-owner-id", "<LINKED_ACCOUNT_OWNER_ID>"]
    }
  }
}

Usage with Cursor

Add to your Cursor mcp.json:

{
    "mcpServers": {
      "aipolabs-mcp-unified": {
        "command": "uvx",
        "args": ["aipolabs-mcp", "unified-server", "--linked-account-owner-id", "<LINKED_ACCOUNT_OWNER_ID>"],
        "env": {
            "AIPOLABS_ACI_API_KEY": "<AIPOLABS_ACI_API_KEY>"
        }
      }
    }
  }

For apps-specific access:

{
  "mcpServers": {
    "aipolabs-mcp-apps": {
        "command": "uvx",
        "args": ["aipolabs-mcp", "apps-server", "--apps", "BRAVE_SEARCH,GMAIL", "--linked-account-owner-id", "<LINKED_ACCOUNT_OWNER_ID>"],
        "env": {
            "AIPOLABS_ACI_API_KEY": "<AIPOLABS_ACI_API_KEY>"
        }
    }
  }
}

FAQ

  • How do I get theAIPOLABS_ACI_API_KEY?

The AIPOLABS_ACI_API_KEY is the API key for your ACI.dev project. You can find it in the ACI.dev project settings.

  • How to configure Apps and allow access to them?

You can configure apps and allow access to them in the ACI.dev project settings.

  • How do I get theLINKED_ACCOUNT_OWNER_ID?

The LINKED_ACCOUNT_OWNER_ID is the ID of the account that you want to use to access the functions. You can find it in the ACI.dev project settings.

  • What is the benefit of using the unified server over the apps server?

Most of the current MCP servers are limited to a specific set of functions (tools), usually from a single app. If you need to use functions from multiple apps, you'll need to integrate multiple MCP servers. But even if you are ok with the managing overhead of integrating multiple MCP servers, your LLM tool calling performance might suffer because all the tools are loaded into the LLM's context window at once.

The unified server, however, allows you to discover and execute ANY function available on ACI.dev dynamically without worrying about having thousands of tools taking up your LLM's context window or having to integrate multiple MCP servers.

  • How to specify a list of apps to use with the apps server?

You can specify a comma-separated list of apps to use with the apps server using the --apps parameter. Try NOT to have spaces between the app names.

  • Can I just use functions (tools) from one app?

Yes, you can just use functions (tools) from one app by specifying the (one) app name with the --apps parameter.

Debugging

You can use the MCP inspector to debug the server:

# For unified server
npx @modelcontextprotocol/inspector uvx aipolabs-mcp unified-server --linked-account-owner-id <LINKED_ACCOUNT_OWNER_ID>

# For apps server
npx @modelcontextprotocol/inspector uvx aipolabs-mcp apps-server --apps "BRAVE_SEARCH,GMAIL" --linked-account-owner-id <LINKED_ACCOUNT_OWNER_ID>

Running tail -n 20 -f ~/Library/Logs/Claude/mcp*.log will show the logs from the server and may help you debug any issues.

Related MCP Servers & Clients