Overview
TrueFoundry AI Gateway is the proxy layer that sits between your applications and the LLM providers and MCP Servers. It is an enterprise-grade platform that enables users to access 1000+ LLMs using a unified interface while taking care of observability and governance. TrueFoundry provides Tavily as a fully managed MCP server in the TrueFoundry MCP Gateway. Use this integration when you want Tavily’s web search, extraction, crawling, mapping, and research tools behind a managed gateway with centralized auth, tool controls, guardrails, audit trails, and metrics. TrueFoundry’s MCP Gateway acts as a reverse proxy between your MCP clients or agents and Tavily. Agents authenticate to the TrueFoundry gateway, while Tavily account authorization happens through OAuth2.Prerequisites
- A TrueFoundry account with access to the MCP Gateway.
- A Tavily account for OAuth2 authorization.
- An MCP-compatible client or coding environment if you want to connect from Cursor, Claude Code, VS Code, Claude Desktop, Windsurf, Codex, or an MCP SDK.
Set up Tavily in TrueFoundry
Open the MCP Gateway
Sign in to TrueFoundry, open MCP Gateway from the sidebar, and click Add Server or Add new MCP Server. Choose the managed MCP catalog option to view TrueFoundry-managed MCP servers.
Add Tavily
Find tavily in the managed MCP catalog and click + Add. TrueFoundry describes the Tavily server as AI-optimized search for RAG agents.

Option 1: Add Tavily to an MCP client
Open the How To Use tab on the Tavily MCP server detail page. Select your IDE, coding environment, or MCP client, then copy the generated instructions from the right panel. TrueFoundry generates client-specific setup for major MCP clients, including Claude Code, VS Code, Claude Web, Claude Desktop, Cursor, Windsurf, Codex, and the Python and TypeScript MCP SDKs. Copy the exact URL and command shown in TrueFoundry instead of constructing the endpoint manually, because the gateway URL is tenant-specific. If your selected client requires a gateway API key, use Show API Key on the How To Use tab and add it exactly as shown in the generated snippet.Option 2: Authorize Tavily with OAuth2
Open the Tools tab on the Tavily MCP server detail page and click Connect Now. TrueFoundry shows a Connect via TrueFoundry Gateway approval screen with the MCP Gateway URL and redirect URL. Review the gateway details, click Approve, and complete the Tavily login and authorization flow. TrueFoundry states that it does not receive your Tavily credentials during this flow.
Configure and try tools
After OAuth2 authorization succeeds, the Tools tab populates with Tavily tools. Each tool includes its description, an enable or disable toggle, and a Try button for testing directly in TrueFoundry before connecting production agents.
| Tool | What it does |
|---|---|
tavily_search | Searches the web for current information and returns snippets and source URLs. |
tavily_extract | Extracts content from URLs and returns page content in markdown or text format. |
tavily_crawl | Crawls a website from a starting URL with configurable depth and breadth. |
tavily_map | Maps a website’s structure and returns URLs found from the base URL. |
tavily_research | Performs multi-source research and returns synthesized results for a topic or question. |
tavily_search, TrueFoundry exposes inputs such as query, max results, search depth, topic, time range, and include or exclude domains.