Custom MCP Server on Databricks Apps
Enables deployment and hosting of custom MCP servers on Databricks Apps platform, providing infrastructure for running AI agents with MCP capabilities in the Databricks environment
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Custom MCP Server on Databricks Appsdeploy my custom MCP server to Databricks Apps"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Example - custom MCP server on Databricks Apps
This example shows how to create and launch a custom agent on Databricks Apps.
Please note that this example doesn't use any Databricks SDK, and is independent of the mcp package in the root dir of this repo.
Prerequisites
Databricks CLI installed and configured
uv
Related MCP server: Databricks MCP Server Template
Local development
run
uvsync:
uv syncstart the server locally. Changes will trigger a reload:
uv run custom-serverThis will start the server on http://localhost:8000
Deploying a custom MCP server on Databricks Apps
There are two ways to deploy the server on Databricks Apps: using the databricks apps CLI or using the databricks bundle CLI. Depending on your preference, you can choose either method.
Both approaches require first configuring Databricks authentication:
export DATABRICKS_CONFIG_PROFILE=<your-profile-name> # e.g. custom-mcp-server
databricks auth login --profile "$DATABRICKS_CONFIG_PROFILE"Using databricks apps CLI
To deploy the server using the databricks apps CLI, follow these steps:
Create a Databricks app to host your MCP server:
databricks apps create mcp-custom-serverUpload the source code to Databricks and deploy the app:
DATABRICKS_USERNAME=$(databricks current-user me | jq -r .userName)
databricks sync . "/Users/$DATABRICKS_USERNAME/my-mcp-server"
databricks apps deploy mcp-custom-server --source-code-path "/Workspace/Users/$DATABRICKS_USERNAME/my-mcp-server"Using databricks bundle CLI
To deploy the server using the databricks bundle CLI, follow these steps
Update the app.yaml file in this directory to use the following command:
command: ["uvicorn", "custom_server.app:app"]In this directory, run the following command to deploy and run the MCP server on Databricks Apps:
uv build --wheel
databricks bundle deploy
databricks bundle run custom-mcp-serverConnecting to the MCP server
To connect to the MCP server, use the Streamable HTTP transport with the following URL:
https://your-app-url.usually.ends.with.databricksapps.com/mcp/For authentication, you can use the Bearer token from your Databricks profile.
You can get the token by running the following command:
databricks auth token -p <name-of-your-profile>Please note that the URL should end with /mcp/ (including the trailing slash), as this is required for the server to work correctly.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceA server that implements the Model Completion Protocol (MCP) to allow LLMs to interact with Databricks resources including clusters, jobs, notebooks, and SQL execution through natural language.1148MIT
- -license-quality-maintenanceEnables AI assistants like Claude to interact with Databricks workspaces through secure OAuth authentication. Supports custom prompts, tools for workspace management, and SQL query execution via a deployable MCP server on Databricks Apps.
- Flicense-qualityDmaintenanceDeploys the Databricks AI Dev Kit MCP server as a Databricks App, exposing over 80 tools for interacting with workspace services like SQL warehouses, Unity Catalog, and AI/BI dashboards. It enables users to manage and query Databricks resources via natural language in the AI Playground using a Streamable HTTP transport.5
- Flicense-qualityCmaintenanceA production-ready MCP server template with example tools for health check and user information, designed for Databricks Apps deployment.
Related MCP Connectors
A MCP server built for developers enabling Git based project management with project and personal…
Cloud-hosted MCP server for durable AI memory
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/db-mattmolony/mcp-mmolony-waf'
If you have feedback or need assistance with the MCP directory API, please join our Discord server