name: databricks-config description: "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
ToolSearchwith queryselect:mcp__databricks__manage_workspaceto load the tool.Map user intent to action:
- status / which workspace / current →
action="status" - list / available workspaces →
action="list" - switch to X → call
listfirst to find the profile name, thenaction="switch", profile="<name>"(orhost="<url>"if a URL was given) - login / connect / authenticate →
action="login", host="<url>"
- status / which workspace / current →
Call
mcp__databricks__manage_workspacewith the action and any parameters.Present the result. For
status/switch/login: show host, profile, username. Forlist: 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~/.databrickscfgwithcluster_idorserverless_compute_id = auto.