add-tools
Installation
SKILL.md
Add Tools & Grant Permissions
Profile reminder: All
databricksCLI commands must include the profile from.env:databricks <command> --profile <profile>
After adding any MCP server to your agent, you MUST grant the app access in databricks.yml.
Without this, you'll get permission errors when the agent tries to use the resource.
Workflow
Step 1: Add MCP server in agent_server/agent.py:
from databricks_openai.agents import McpServer
genie_server = McpServer(
url=f"{host}/api/2.0/mcp/genie/01234567-89ab-cdef",
name="my genie space",
)