loading…
Search for a command to run...
loading…
Connect to Databricks API, allowing LLMs to run SQL queries, list jobs, and get job status.
Connect to Databricks API, allowing LLMs to run SQL queries, list jobs, and get job status.
A Model Context Protocol (MCP) server that connects to Databricks API, allowing LLMs to run SQL queries, list jobs, and get job status.
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -r requirements.txt
.env file in the root directory with the following variables:DATABRICKS_HOST=your-databricks-instance.cloud.databricks.com
DATABRICKS_TOKEN=your-personal-access-token
DATABRICKS_HTTP_PATH=/sql/1.0/warehouses/your-warehouse-id
python test_connection.py
your-instance.cloud.databricks.com)Start the MCP server:
python main.py
You can test the MCP server using the inspector by running
npx @modelcontextprotocol/inspector python3 main.py
The following MCP tools are available:
When used with LLMs that support the MCP protocol, this server enables natural language interaction with your Databricks environment:
https:// prefixpython test_connection.py.env file and never commit it to version controlДобавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"jordinei-mcp-databricks-server": {
"command": "npx",
"args": []
}
}
}