What is MCP server providing Gravitino APIs - A FastMCP integration for Apache Gravitino services.?
MCP server providing Gravitino APIs - A FastMCP integration for Apache Gravitino services. It features seamless integration with FastMCP for Gravitino APIs, a simplified interface for metadata interaction, and supports metadata operations for catalogs, schemas, tables, models, users, tags, and user-role management.
Documentation
MCP Server for Apache Gravitino
MCP server providing Gravitino APIs - A FastMCP integration for Apache Gravitino services.
Features
Seamless integration with FastMCP for Gravitino APIs
Simplified interface for metadata interaction
Supports metadata operations for catalogs, schemas, tables, models, users, tags, and user-role management
Installation
This project uses uv as the dependency and virtual environment management tool. Please ensure uv is installed on your system.
GRAVITINO_URI: The base URL of your Gravitino server.
GRAVITINO_METALAKE: The name of the metakube to use.
Authorization
mcp-server-gravitino supports both token-based and basic authentication methods. These mechanisms allow secure access to MCP tools and prompts and are suitable for integration with external systems.
Token Authentication
Set the following environment variables:
GRAVITINO_JWT_TOKEN=<YOUR_GRAVITINO_JWT_TOKEN>
GRAVITINO_JWT_TOKEN: The JWT token for authentication.
GRAVITINO_USERNAME: The username for Gravitino authentication.
GRAVITINO_PASSWORD: The corresponding password.
Tool Activation
Tool activation is currently based on method names (e.g., get_list_of_table). You can specify which tools to activate by setting the optional environment variable GRAVITINO_ACTIVE_TOOLS. The default value is *, which activates all tools. If just want to activate get_list_of_roles tool, you can set the environment variable as follows:
GRAVITINO_ACTIVE_TOOLS=get_list_of_roles
Usage
To launch the Gravitino MCP Server, run the following command: