Set up Google ADK with Remote MCP
You can connect an agent built with Google Agent Development Kit (ADK) to the Atlan Remote MCP server. This lets your ADK agent search for assets, explore lineage, update metadata, create glossary terms, run data quality rules, and more—all using natural language to query your Atlan data catalog.
ADK connects to Atlan MCP through mcp-remote, a Node.js bridge that forwards tool calls to the hosted MCP endpoint.
Prerequisites
Before you begin, make sure you have:
- An Atlan tenant with Remote MCP enabled.
- Node.js 18 or newer installed—required to run
mcp-remote. - The Google ADK package installed for your language:
- Python:
pip install google-adk - TypeScript:
npm install @google/adk
- Python:
Set up Remote MCP
- Python
- TypeScript
-
In your project, create an agent file (for example,
agent.py) and add the following:from google.adk.agents import Agentfrom google.adk.tools.mcp_tool import McpToolsetfrom google.adk.tools.mcp_tool.mcp_session_manager import StdioConnectionParamsfrom mcp import StdioServerParametersroot_agent = Agent(model="gemini-flash-latest",name="atlan_agent",instruction="Help users search, explore, and govern data assets in Atlan",tools=[McpToolset(connection_params=StdioConnectionParams(server_params=StdioServerParameters(command="npx",args=["-y","mcp-remote","https://mcp.atlan.com/mcp",]),timeout=30,),)],) -
Run your agent using the ADK CLI or your preferred runner:
adk run agent.py -
On first run, a browser window opens automatically for OAuth approval. Sign in with your Atlan account to authorize the agent. Once approved, the agent connects to Atlan using your roles and permissions.
If the browser doesn't open automatically, copy the authorization URL printed in the terminal and open it manually.
-
After authorization, the agent has access to all Atlan MCP tools. For more information, see the list of Atlan MCP tools.
-
In your project, create an agent file (for example,
agent.ts) and add the following:import { LlmAgent, MCPToolset } from "@google/adk";const rootAgent = new LlmAgent({model: "gemini-flash-latest",name: "atlan_agent",instruction: "Help users search, explore, and govern data assets in Atlan",tools: [new MCPToolset({type: "StdioConnectionParams",serverParams: {command: "npx",args: ["-y","mcp-remote","https://mcp.atlan.com/mcp",],},}),],});export { rootAgent }; -
Run your agent using the ADK CLI or your preferred runner:
adk run agent.ts -
On first run, a browser window opens automatically for OAuth approval. Sign in with your Atlan account to authorize the agent. Once approved, the agent connects to Atlan using your roles and permissions.
If the browser doesn't open automatically, copy the authorization URL printed in the terminal and open it manually.
-
After authorization, the agent has access to all Atlan MCP tools. For more information, see the list of Atlan MCP tools.
Need help?
If you have any issues while configuring the integration, contact Atlan Support for assistance.