Apache Gravitino(孵化中) 的 MCP 服务器 logo

Apache Gravitino(孵化中) 的 MCP 服务器

Organization
datastrato

MCP server for Apache Gravitino

Publisherdatastrato
Repositorymcp-server-gravitino
LanguagePython
Forks
9
Stars
23
Available tools
0
Transport typestdio
Categories
LicenseApache-2.0
Links
  • Connect tools to AI workflows

    Apache Gravitino(孵化中) 的 MCP 服务器 exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    23 stars and 9 forks from the linked repository.

MCP Server for Apache Gravitino

Python Version

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.

  1. Clone the repository:

    bash
    git clone git@github.com:datastrato/mcp-server-gravitino.git
  2. Navigate into the project directory:

    bash
    cd mcp-server-gravitino
  3. Create a virtual environment:

    bash
    uv venv
  4. Activate the virtual environment:

    bash
    source .venv/bin/activate
  5. Install dependencies:

    bash
    uv install

Configuration

Common Configuration

Regardless of the Authorization, the following environment variables need to be set:

bash
GRAVITINO_METALAKE=<YOUR_METALAKE> # default: "metalake_demo"
GRAVITINO_URI=<YOUR_GRAVITINO_URI>
  • 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:

bash
GRAVITINO_JWT_TOKEN=<YOUR_GRAVITINO_JWT_TOKEN>

GRAVITINO_JWT_TOKEN: The JWT token for authentication.

Basic Authentication

Alternatively, you can use basic authentication:

bash
GRAVITINO_USERNAME=<YOUR_GRAVITINO_USERNAME>
GRAVITINO_PASSWORD=<YOUR_GRAVITINO_PASSWORD>
  • 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:

bash
GRAVITINO_ACTIVE_TOOLS=get_list_of_roles

Usage

To launch the Gravitino MCP Server, run the following command:

bash
uv \
--directory /path/to/mcp-gravitino \
run \
--with fastmcp \
--with httpx \
--with mcp-server-gravitino \
python -m mcp_server_gravitino.server

The meaning of each argument is as follows:

ArgumentDescription
uvLaunches the UV CLI tool
--directory /path/to/mcp-gravitinoSpecifies the working project directory with pyproject.toml
runIndicates that a command will be executed in the managed environment
--with fastmcpAdds fastmcp to the runtime environment without altering project deps
--with httpxAdds httpx dependency for async HTTP functionality
--with mcp-server-gravitinoAdds the local module as a runtime dependency
python -m mcp_server_gravitino.serverStarts the MCP server using the package's entry module

Goose Client Example

Example configuration to run the server using Goose:

json
{
  "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"
      }
    }
  }
}

Tool List

mcp-server-gravitino does not expose all Gravitino APIs, but provides a selected set of optimized tools:

Table Tools

  • get_list_of_catalogs: Retrieve a list of catalogs
  • get_list_of_schemas: Retrieve a list of schemas
  • get_list_of_tables: Retrieve a paginated list of tables
  • get_table_by_fqn: Fetch detailed information for a specific table
  • get_table_columns_by_fqn: Retrieve column information for a table

Tag Tools

  • get_list_of_tags: Retrieve all tags
  • associate_tag_to_entity: Attach a tag to a table or column
  • list_objects_by_tag: List objects associated with a specific tag

User Role Tools

  • get_list_of_roles: Retrieve all roles
  • get_list_of_users: Retrieve all users
  • grant_role_to_user: Assign a role to a user
  • revoke_role_from_user: Revoke a user's role

Model Tools

  • get_list_of_models: Retrieve a list of models
  • get_list_of_model_versions_by_fqn: Get versions of a model by fully qualified name

Each tool is designed to return concise and relevant metadata to stay within LLM token limits while maintaining semantic integrity.

License

This project is licensed under the Apache License Version 2.0.

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "datastrato-mcp-server-gravitino": {
      "command": "",
      "args": []
    }
  }
}

Use Apache Gravitino(孵化中) 的 MCP 服务器 MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Apache Gravitino(孵化中) 的 MCP 服务器 is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Apache Gravitino(孵化中) 的 MCP 服务器 as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Apache Gravitino(孵化中) 的 MCP 服务器 MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "datastrato-mcp-server-gravitino": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-gravitino"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Apache Gravitino(孵化中) 的 MCP 服务器 MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Apache Gravitino(孵化中) 的 MCP 服务器 MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Apache Gravitino(孵化中) 的 MCP 服务器 to help me with this task?
Apache Gravitino(孵化中) 的 MCP 服务器
Sure. I read it.
Here is what I found using Apache Gravitino(孵化中) 的 MCP 服务器.

Frequently asked questions

What is the Apache Gravitino(孵化中) 的 MCP 服务器 MCP server used for?

Apache Gravitino(孵化中) 的 MCP 服务器 is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Apache Gravitino(孵化中) 的 MCP 服务器 MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Apache Gravitino(孵化中) 的 MCP 服务器 with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Apache Gravitino(孵化中) 的 MCP 服务器 MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Apache Gravitino(孵化中) 的 MCP 服务器 connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Apache Gravitino(孵化中) 的 MCP 服务器 MCP to TypingMind?

Apache Gravitino(孵化中) 的 MCP 服务器 runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Apache Gravitino(孵化中) 的 MCP 服务器 MCP provide in TypingMind?

Apache Gravitino(孵化中) 的 MCP 服务器 exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Apache Gravitino(孵化中) 的 MCP 服务器 MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Apache Gravitino(孵化中) 的 MCP 服务器 requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇