Databricks MCP Server
Enables interaction with Databricks workspaces using On-Behalf-Of authentication to test connectivity, retrieve user information, and perform operations on behalf of authenticated users.
README
Custom MCP Server for Databricks
Custom Model Context Protocol (MCP) server with OBO (On-Behalf-Of) authentication, designed for deployment as a Databricks app.
Features
The server implements three MCP tools:
- test_connection: Test server connectivity and OBO authentication status
- echo: Echo back a message (useful for testing basic functionality)
- get_user_info: Retrieve current user information via OBO authentication
Authentication
This server uses Databricks OBO (On-Behalf-Of) authentication with ModelServingUserCredentials, allowing it to act on behalf of the authenticated user making requests.
Deployment to Databricks
Prerequisites
- Install Databricks CLI
- Authenticate to your workspace:
databricks auth login --host https://<your-workspace-hostname>
Deploy Steps
-
Create the Databricks app:
databricks apps create mcp-cust-kat -
Upload and deploy:
DATABRICKS_USERNAME=$(databricks current-user me | jq -r .userName) databricks sync . "/Users/$DATABRICKS_USERNAME/mcp-cust-kat" databricks apps deploy mcp-cust-kat --source-code-path "/Workspace/Users/$DATABRICKS_USERNAME/mcp-cust-kat" -
Access your app:
- The app URL will be available in the Databricks UI
- MCP endpoint:
https://<app-url>/mcp - Health check:
https://<app-url>/health
API Endpoints
- GET / - Root endpoint with server information
- GET /health - Health check endpoint with OBO authentication status
- POST /mcp - Main MCP JSON-RPC endpoint
Testing the Server
Once deployed, you can test the connection using the available MCP tools:
- test_connection: Verifies the server is running and shows OBO authentication status
- echo: Simple echo test to verify request/response functionality
- get_user_info: Returns detailed information about the authenticated user
Local Development
Run locally for testing:
uv run python server.py
The server will start on port 8000 with both HTTP and MCP protocol support.
Project Structure
server.py- Main FastAPI application with MCP protocol implementationapp.yaml- Databricks app configurationpyproject.toml- Python project configuration and dependenciesrequirements.txt- Direct dependencies for the application
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.