mcp-server-unitycatalog
by ognis1205
Unity Catalog AI Model Context Protocol Server
What is mcp-server-unitycatalog
mcp-server-unitycatalog: An Unity Catalog MCP server
Overview
A Model Context Protocol server for Unity Catalog. This server provides Unity Catalog Functions as MCP tools.
Tools
You can use all Unity Catalog Functions registered in Unity Catalog alongside the following predefined Unity Catalog AI tools:
-
uc_list_functions
- Lists functions within the specified parent catalog and schema.
- Returns: A list of functions retrieved from Unity Catalog.
-
uc_get_function
- Gets a function within a parent catalog and schema.
- Input:
name
(string): The name of the function (not fully-qualified).
- Returns: A function details retrieved from Unity Catalog.
-
uc_create_function
- Creates a function within a parent catalog and schema. WARNING: This API is experimental and will change in future versions.
- Input:
name
(string): The name of the function (not fully-qualified).script
(string): The Python script including the function to be registered.
- Returns: A function details created within Unity Catalog.
-
uc_delete_function
- Deletes a function within a parent catalog and schema.
- Input:
name
(string): The name of the function (not fully-qualified).
- Returns: None.
Installation
Using uv
When using uv
no specific installation is needed. We will use
uvx
to directly run mcp-server-git.
Configuration
These values can also be set via CLI options or .env
environment variables. Required arguments are the Unity Catalog server, catalog, and schema, while the access token and verbosity level are optional. Run uv run mcp-server-unitycatalog --help
for more detailed configuration options.
Argument | Environment Variable | Description | Required/Optional |
---|---|---|---|
-u , --uc_server |
UC_SERVER |
The base URL of the Unity Catalog server. | Required |
-c , --uc_catalog |
UC_CATALOG |
The name of the Unity Catalog catalog. | Required |
-s , --uc_schema |
UC_SCHEMA |
The name of the schema within a Unity Catalog catalog. | Required |
-t , --uc_token |
UC_TOKEN |
The access token used to authorize API requests to the Unity Catalog server. | Optional |
-v , --uc_verbosity |
UC_VERBOSITY |
The verbosity level for logging. Default: warn . |
Optional |
-l , --uc_log_directory |
UC_LOG_DIRECTORY |
The directory where log files will be stored. Default: .mcp_server_unitycatalog . |
Optional |
Usage with Claude Desktop or VSCode Cline
Add this to your claude_desktop_config.json
(or cline_mcp_settings.json
):
{
"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>"
]
}
}
}
- Note: replace '/Users/username' with the a path that you want to be accessible by this tool
{
"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>"
]
}
}
}
Building
Docker:
docker build -t mcp/unitycatalog .
Future Plans
- Implement support for
list_functions
. - Implement support for
get_function
. - Implement support for
create_python_function
. - Implement support for
execute_function
. - Implement support for
delete_function
. - Implement semantic catalog explorer tools.
- Add Docker image.
- Implement
use_xxx
methods. In the current implementation,catalog
andschema
need to be defined when starting the server. However, they will be implemented asuse_catalog
anduse_schema
functions, dynamically updating the list of available functions when theuse_xxx
is executed.
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Leave a Comment
Comments section will be available soon. Stay tuned!
Frequently Asked Questions
What is MCP?
MCP (Model Context Protocol) is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications, providing a standardized way to connect AI models to different data sources and tools.
What are MCP Servers?
MCP Servers are lightweight programs that expose specific capabilities through the standardized Model Context Protocol. They act as bridges between LLMs like Claude and various data sources or services, allowing secure access to files, databases, APIs, and other resources.
How do MCP Servers work?
MCP Servers follow a client-server architecture where a host application (like Claude Desktop) connects to multiple servers. Each server provides specific functionality through standardized endpoints and protocols, enabling Claude to access data and perform actions through the standardized protocol.
Are MCP Servers secure?
Yes, MCP Servers are designed with security in mind. They run locally with explicit configuration and permissions, require user approval for actions, and include built-in security features to prevent unauthorized access and ensure data privacy.
Related MCP Servers
Ableton Live MCP Server
MCP Server implementation for Ableton Live OSC control
Airbnb MCP Server
AI Agent Marketplace Index Search MCP Server
MCP Server for AI Agent Marketplace Index from DeepNLP
Algorand MCP Implementation
Algorand Model Context Protocol (Server & Client)
mcp-server-apache-airflow
pypi.org/project/mcp-server-apache-airflow/
airtable-mcp-server
๐๏ธ๐ค Airtable Model Context Protocol Server, for allowing AI systems to interact with your Airtable bases
Airtable MCP Server
Search, create and update Airtable bases, tables, fields, and records using Claude Desktop and MCP (Model Context Protocol) clients
Alphavantage MCP Server
A MCP server for the stock market data API, Alphavantage API.
Amadeus MCP Server
Amadeus MCP(Model Context Protocol) Server
Anki MCP Server
An MCP server for Anki
Submit Your MCP Server
Share your MCP server with the community
Submit Now