Skip to main content

Connect agents to tools

Connecting your agents to tools gives them practical capabilities beyond text generation, like searching documents, querying tables, calling external APIs, or running custom code.

Databricks recommends connecting agents to tools through MCP servers: use ready-to-use managed servers for Databricks data, register external servers as governed MCP Services, or host your own. You can also define custom tools with Unity Catalog functions.

Your agent code, built with frameworks like LangGraph or the OpenAI SDK, and coding assistants like Claude Code and Cursor call tools over MCP through three governed routes in Databricks: MCP Services for third-party tools like GitHub and Slack, your own MCP server hosted on Databricks Apps for custom tools, and managed MCP servers for Databricks data and code, all governed in Unity Catalog with grants, policies, and audit.

Connect agents to tools

Connect agents to data

To call MCP servers from agent code, see Use MCP servers in agents. To connect a coding assistant like Claude Code or Cursor, see Connect MCPs to AI assistants and coding agents. For MCP concepts, the full server catalog, and pricing, see Model Context Protocol (MCP) on Databricks.

To call REST APIs directly from agent code instead of through MCP, use the Unity Catalog connections proxy.