McpサーバーUnityカタログ: UnityカタログMcpサーバー
Unity Catalog AIモデルコンテキストプロトコルサーバー
概要
MCPサーバーUnityカタログとは?
MCPサーバーUnityカタログは、AIモデルのコンテキストプロトコルを管理し提供するために設計された堅牢なサーバーソリューションです。これは、AIモデルに関連するデータを整理、保存、取得するための中央プラットフォームを提供し、開発者やデータサイエンティストがAIアプリケーションを構築および展開するために必要な情報に効率的にアクセスできるようにします。
MCPサーバーUnityカタログの特徴
- 中央集中的なデータ管理:Unityカタログは、すべてのAIモデルデータを一元管理できるため、データの取得と整理が簡素化されます。
- 強化されたコラボレーション:複数のユーザーがカタログにアクセスし、貢献できるため、AIプロジェクトに取り組むチーム間のコラボレーションが促進されます。
- バージョン管理:サーバーはAIモデルのバージョン管理をサポートしており、ユーザーは変更を追跡し、必要に応じて以前のバージョンに戻すことができます。
- ユーザーフレンドリーなインターフェース:直感的なインターフェースにより、ユーザーはカタログを簡単にナビゲートし、必要な情報を迅速に見つけることができます。
- セキュリティとコンプライアンス:MCPサーバーは、すべてのデータが安全に保存され、関連するデータ保護規制に準拠していることを保証します。
MCPサーバーUnityカタログの使用方法
- インストール:公式リポジトリからMCPサーバーUnityカタログをダウンロードします。ドキュメントに記載されたインストール手順に従ってください。
- 設定:インストール後、プロジェクトの要件に合わせてサーバー設定を構成します。これには、ユーザー権限やデータストレージオプションの設定が含まれます。
- データアップロード:AIモデルデータをカタログにアップロードします。データをカテゴリに整理して、アクセスを容易にすることができます。
- データへのアクセス:検索機能を使用して、特定のモデルやデータセットを迅速に見つけます。カタログは、さまざまな基準でフィルタリングを行い、検索プロセスを効率化します。
- コラボレーション:チームメンバーを招待してカタログにアクセスし、プロジェクトで協力します。バージョン管理機能を活用して、変更を効果的に管理します。
よくある質問
MCPサーバーUnityカタログにはどのようなデータを保存できますか?
カタログは、モデルパラメータ、トレーニングデータセット、評価指標、ドキュメントなど、AIモデルに関連するさまざまなデータを保存できます。
MCPサーバーUnityカタログはオープンソースですか?
はい、MCPサーバーUnityカタログはオープンソースプロジェクトであり、ユーザーがその開発に貢献し、自分のニーズに合わせてカスタマイズできます。
MCPサーバーUnityカタログにどのように貢献できますか?
リポジトリをフォークし、変更を加えてプルリクエストを提出することで貢献できます。リポジトリに記載された貢献ガイドラインに従うことを確認してください。
MCPサーバーUnityカタログを他のツールと統合できますか?
はい、カタログは柔軟に設計されており、さまざまなデータサイエンスや機械学習ツールと統合して、ワークフローを強化できます。
MCPサーバーUnityカタログのユーザー向けにどのようなサポートがありますか?
ユーザーはフォーラムやGitHubのディスカッションを通じてコミュニティサポートにアクセスできます。さらに、セットアップやトラブルシューティングを支援するためのドキュメントが提供されています。
MCPサーバーUnityカタログを活用することで、チームはAI開発プロセスを効率化し、コラボレーションを強化し、データ管理を効率的に行うことができます。
詳細
mcp-server-unitycatalog: An Unity Catalog MCP server
<p align="center" float="left"> <img width="256" src="https://raw.githubusercontent.com/ognis1205/mcp-server-unitycatalog/main/docs/vscode1.webp" /> <img width="256" src="https://raw.githubusercontent.com/ognis1205/mcp-server-unitycatalog/main/docs/vscode2.webp" /> <img width="256" src="https://raw.githubusercontent.com/ognis1205/mcp-server-unitycatalog/main/docs/vscode3.webp" /> </p>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>"
]
}
}
}
</details>
<details>
<summary>Using docker</summary>
- 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>"
]
}
}
}
</details>
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.
サーバー設定
{
"mcpServers": {
"mcp-server-unitycatalog": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/metorial/mcp-container--ognis1205--mcp-server-unitycatalog--mcp-server-unitycatalog",
"mcp-server-unitycatalog --uc_server uc-server --uc_catalog uc-catalog --uc_schema uc-schema"
],
"env": {}
}
}
}