MCP server providing Gravitino APIs
Project description
MCP server for Apache Gravitino(incubating)
MCP server providing Gravitino APIs - A FastMCP integration for Apache Gravitino(incubating) services.
Features
- Gravitino API integration with FastMCP
- Easy-to-use interface for metadata management
- Support for catalog/schema/table metadata, tag, and user-role information
Installation
from configuration
{
"mcpServers": {
"Gravitino": {
"command": "uv",
"args": [
"--directory",
"/Users/user/workspace/mcp-server-gravitino",
"run",
"--with",
"fastmcp",
"--with",
"httpx",
"--with",
"mcp-server-gravitino",
"python",
"-m",
"mcp_server_gravitino.server"
],
"env": {
"GRAVITINO_URI": "http://localhost:8090",
"GRAVITINO_USERNAME": "admin",
"GRAVITINO_PASSWORD": "admin",
"GRAVITINO_METALAKE": "metalake_demo"
}
}
}
}
Environment Variables
Authorization
mcp-server-gravitino provides token auth and basic auth:
Token Auth
GRAVITINO_URI=http://localhost:8090
GRAVITINO_JWT_TOKEN=<YOUR GRAVITINO JWT TOKEN>
Basic Auth
GRAVITINO_URI=http://localhost:8090
GRAVITINO_USERNAME=<YOUR GRAVITINO USERNAME>
GRAVITINO_PASSWORD=<YOUR GRAVITINO PASSWORD>
Tool list
mcp-server-gravitino does not provide all APIs available in Gravitino.
Table Tools
get_list_of_catalogs: Get a list of catalogs with basic informationget_list_of_schemas: Get a list of schemas with basic informationget_list_of_tables: Get a paginated list of tables with basic informationget_table_by_fqn: Get detailed table information by fully qualified nameget_table_columns_by_fqn: Get table columns information by fully qualified name
Tag Tools
get_list_of_tags: Get a list of tags with basic informationassociate_tag_to_table: Associate a tag to a tableassociate_tag_to_column: Associate a tag to a columnlist_objects_by_tag: Get a list of objects associated with a tag
User Role Tools
get_list_of_roles: Get a list of roles with basic informationget_list_of_users: Get a list of users with basic informationgrant_role_to_user: Grant a role to a userrevoke_role_from_user: Revoke a role from a user
Model Tools
get_list_of_models: Get a list of models with basic informationget_list_of_model_versions_by_fqn: Get a list of model versions by fully qualified name with detailed information
Each tool returns optimized responses with relevant fields to ensure compatibility with model context limits while providing essential metadata information.
License
This project is open source software licensed as Apache License Version 2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_server_gravitino-0.1.0.tar.gz.
File metadata
- Download URL: mcp_server_gravitino-0.1.0.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c5716fe78824aa58cff4f0ed3beb60d5f2916fb00742d6f3a05e8e1c31868ef
|
|
| MD5 |
e880fad2186697f28832b651429bdc3b
|
|
| BLAKE2b-256 |
4566202fffaacf77cdd67809949e86245c237429a0bb51a0f46b7ca8f4b79383
|
File details
Details for the file mcp_server_gravitino-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcp_server_gravitino-0.1.0-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e586371477ddca98f0062e3463935f0c706aafb50a43807c9a8440bbcc4ea2f5
|
|
| MD5 |
96490a3b84b9e107843348b99dfe961a
|
|
| BLAKE2b-256 |
e020c0a6a78aaf78a0299d63e167e652e6b528107fb70e820ba19042b14d8007
|