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.
Metadata
Release files for mcp-server-gravitino 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcp_server_gravitino-0.1.0.tar.gz | 13.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_server_gravitino-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 33.1 kB
Release files / mcp_server_gravitino-0.1.0.tar.gz
| Download URL | mcp_server_gravitino-0.1.0.tar.gz |
|---|---|
| Size | 13.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1c5716fe78824aa58cff4f0ed3beb60d5f2916fb00742d6f3a05e8e1c31868ef
|
|
BLAKE2b-256 checksum How to use checksums |
4566202fffaacf77cdd67809949e86245c237429a0bb51a0f46b7ca8f4b79383
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.12
|
Release files / mcp_server_gravitino-0.1.0-py3-none-any.whl
| Download URL | mcp_server_gravitino-0.1.0-py3-none-any.whl |
|---|---|
| Size | 19.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e586371477ddca98f0062e3463935f0c706aafb50a43807c9a8440bbcc4ea2f5
|
|
BLAKE2b-256 checksum How to use checksums |
e020c0a6a78aaf78a0299d63e167e652e6b528107fb70e820ba19042b14d8007
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.12
|