What problem does it solve?
This Skill prevents agent runtime failures by helping you properly register new MCP tools in your agent code and grant the required permissions in databricks.yml.
Core Features & Use Cases
- Integrates MCP server tools: Shows how to add MCP servers to agent_server/agent.py and fetch their tool definitions.
- Grants Databricks access: Guides you to add the corresponding resources (e.g., Genie spaces, UC functions, vector search, SQL warehouses, serving endpoints) to databricks.yml with the correct permission.
- Improves reliability and recovery: Covers handling MCP tool errors so failures return useful messages to the LLM instead of crashing the agent.
- Addresses common configuration pitfalls: Emphasizes matching databricks.yml value_from references to existing resource names to avoid misconfiguration.
Quick Start
Add the MCP server integration in agent_server/agent.py, grant the matching resource in databricks.yml under resources.apps.<app>.resources, then deploy and restart the app using databricks bundle deploy followed by databricks bundle run agent_langgraph.