Skip to main content
Connect agents to remote MCP servers for cloud-hosted tools and services.

Quick Start

Transport Types

PraisonAI automatically detects the transport type from the URL:

Configuration

Remote Server in Config

Declared servers in ~/.praisonai/config.yaml (global) or ./.praisonai/config.yaml (project) are now wired into praisonai run automatically.
type: remote servers are served through the Python SDK’s MCP client and are not passed via the praisonai run command-string path. Local (stdio) servers use the command key instead. See Single-Source Config for the full schema.

With OAuth

OAuth support is currently experimental. For production use, we recommend using headers: with API key authentication instead. See OAuth Authentication for details.

Python SDK

HTTP Stream Transport

With Headers

SSE Transport (Legacy)

WebSocket Transport

CLI Commands

Add Remote Server

List Servers

Output:

Authenticate (OAuth)

Verify Connection

For more CLI commands, see MCP CLI documentation.

Multiple Remote Servers

Error Handling

Troubleshooting