This MCP server provides an interface for Unity Catalog through the Model Context Protocol, allowing access to Unity Catalog Functions directly from Claude. It enables you to list, retrieve, create, and delete functions within Unity Catalog.
To use this MCP server, you'll need:
The easiest way to run the server is using uv
and its uvx
utility:
# No separate installation needed - uv can run the server directly
If you prefer Docker, you can run the server in a container:
docker build -t mcp/unitycatalog .
# See usage section for Docker run command
The server requires several configuration parameters that can be set via command-line arguments or environment variables.
Unity Catalog Server (-u
, --uc_server
or UC_SERVER
env variable)
Catalog (-c
, --uc_catalog
or UC_CATALOG
env variable)
Schema (-s
, --uc_schema
or UC_SCHEMA
env variable)
Access Token (-t
, --uc_token
or UC_TOKEN
env variable)
Verbosity (-v
, --uc_verbosity
or UC_VERBOSITY
env variable)
warn
)Log Directory (-l
, --uc_log_directory
or UC_LOG_DIRECTORY
env variable)
.mcp_server_unitycatalog
)To use this MCP server with Claude Desktop, add the following to your claude_desktop_config.json
:
{
"mcpServers": {
"unitycatalog": {
"command": "uv",
"args": [
"--directory",
"/<path to repo>/mcp-server-unitycatalog",
"run",
"mcp-server-unitycatalog",
"--uc_server",
"<your unity catalog url>",
"--uc_catalog",
"<your catalog name>",
"--uc_schema",
"<your schema name>"
]
}
}
}
For VSCode Cline, add the configuration to your cline_mcp_settings.json
using the same format as above.
If using Docker, configure it like this:
{
"mcpServers": {
"unitycatalog": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"mcp/unitycatalog",
"--uc_server",
"<your unity catalog url>",
"--uc_catalog",
"<your catalog name>",
"--uc_schema",
"<your schema name>"
]
}
}
}
When connected, you can use these pre-defined Unity Catalog AI tools:
uc_list_functions
Lists all functions in the specified catalog and schema.
uc_get_function
Gets details of a specific function.
name
(string) - The name of the functionuc_create_function
Creates a new function in the catalog and schema.
name
(string) - The function namescript
(string) - Python script containing the functionuc_delete_function
Deletes a function from the catalog and schema.
name
(string) - The name of the function to deleteAdditionally, all Unity Catalog Functions registered in your Unity Catalog will be available as tools.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "unitycatalog" '{"command":"uv","args":["--directory","/<path to your local git repository>/mcp-server-unitycatalog","run","mcp-server-unitycatalog","--uc_server","<your unity catalog url>","--uc_catalog","<your catalog name>","--uc_schema","<your schema name>"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"unitycatalog": {
"command": "uv",
"args": [
"--directory",
"/<path to your local git repository>/mcp-server-unitycatalog",
"run",
"mcp-server-unitycatalog",
"--uc_server",
"<your unity catalog url>",
"--uc_catalog",
"<your catalog name>",
"--uc_schema",
"<your schema name>"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"unitycatalog": {
"command": "uv",
"args": [
"--directory",
"/<path to your local git repository>/mcp-server-unitycatalog",
"run",
"mcp-server-unitycatalog",
"--uc_server",
"<your unity catalog url>",
"--uc_catalog",
"<your catalog name>",
"--uc_schema",
"<your schema name>"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect