Manage Databricks workspace connections: check current workspace, switch profiles, list available workspaces, or authenticate to a new workspace. Use when the user mentions "switch workspace", "which workspace", "current profile", "databrickscfg", "connect to workspace", or "databricks auth".
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Manage Databricks workspace connections: check current workspace, switch profiles, list available workspaces, or authenticate to a new workspace. Use when the user mentions "switch workspace", "which workspace", "current profile", "databrickscfg", "connect to workspace", or "databricks auth".
Use the manage_workspace MCP tool for all workspace operations. Do NOT edit ~/.databrickscfg, use Bash, or use the Databricks CLI.
Steps
Call ToolSearch with query select:mcp__databricks__manage_workspace to load the tool.
Map user intent to action:
status / which workspace / current → action="status"
list / available workspaces → action="list"
switch to X → call list first to find the profile name, then action="switch", profile="<name>" (or host="<url>" if a URL was given)
Call mcp__databricks__manage_workspace with the action and any parameters.
Present the result. For status/switch/login: show host, profile, username. For list: formatted table with the active profile marked.
Note: The switch is session-scoped — it resets on MCP server restart. For permanent profile setup, use databricks auth login -p <profile> and update ~/.databrickscfg with cluster_id or serverless_compute_id = auto.