Skip to main content
The AG-UI adapter and middleware enable seamless execution of MCP tools with remote agents (e.g., Python LangGraph, AutoGen, or CopilotKit).

Installation

AG-UI Adapter

The AguiAdapter converts MCP tools into the AG-UI protocol format.

AG-UI Middleware

The AG-UI middleware enables server-side execution of MCP tools. This is essential when your agent runs on a separate backend but needs to execute MCP tools that require server-side access (like database or file system access).

How It Works

Usage

Event Flow

The middleware intercepts AG-UI events and executes MCP tools:

Configuration Options