Skip to main content

Overview

Scalekit’s Tavily MCP connector gives agents access to Tavily through AgentKit. Users authorize their Tavily accounts with OAuth, and Scalekit manages token storage and refresh for subsequent tool calls.

Prerequisites

Set up the connection

In the Scalekit dashboard, open AgentKit > Connections, click Add connection, and select Tavily MCP. Use Scalekit’s provided OAuth credentials to get started without registering your own OAuth app. Name the connection tavilymcp and save it. If you choose another name, use that value for connection_name in the example below. See Scalekit’s connection setup guide for configuration details.

Install and configure the SDK

Copy your Scalekit credentials from Developers > API Credentials into a local .env file:
.env
Save this example as quickstart.py. Replace user_123 with your application’s user identifier. Run the script, open the printed link, and complete Tavily authorization before returning to the terminal.
quickstart.py
This example checks that the connected account is ACTIVE before calling Tavily. For application redirects, account statuses, and production user verification, follow Scalekit’s user authorization guide.

Available tools

Use these names with execute_tool:

Resources