Skip to main content
Glama
datastrato

MCP Server for Apache Gravitino

Official
by datastrato

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

Python 版本

提供 Gravitino API 的 MCP 服务器 - 用于 Apache Gravitino(孵化)服务的 FastMCP 集成。

特征

  • Gravitino API 与 FastMCP 集成

  • 易于使用的元数据管理界面

  • 支持目录/模式/表元数据、标签和用户角色信息

Related MCP server: MCP Trino Server

安装

从配置

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

环境变量

授权

mcp-server-gravitino 提供令牌认证和基本认证:

令牌认证

GRAVITINO_URI=http://localhost:8090
GRAVITINO_JWT_TOKEN=<YOUR GRAVITINO JWT TOKEN>

基本身份验证

GRAVITINO_URI=http://localhost:8090
GRAVITINO_USERNAME=<YOUR GRAVITINO USERNAME>
GRAVITINO_PASSWORD=<YOUR GRAVITINO PASSWORD>

工具清单

mcp-server-gravitino 不提供 Gravitino 中可用的所有 API。

表格工具

  • get_list_of_catalogs :获取包含基本信息的目录列表

  • get_list_of_schemas :获取包含基本信息的模式列表

  • get_list_of_tables :获取包含基本信息的表的分页列表

  • get_table_by_fqn :通过完全限定名称获取详细的表信息

  • get_table_columns_by_fqn :通过完全限定名称获取表列信息

标签工具

  • get_list_of_tags :获取包含基本信息的标签列表

  • associate_tag_to_table :将标签关联到表

  • associate_tag_to_column标签到列

  • list_objects_by_tag :获取与标签关联的对象列表

用户角色工具

  • get_list_of_roles :获取包含基本信息的角色列表

  • get_list_of_users :获取用户列表及基本信息

  • grant_role_to_user :授予用户角色

  • revoke_role_from_user :撤销用户的角色

每个工具都返回具有相关字段的优化响应,以确保与模型上下文限制兼容,同时提供必要的元数据信息。

执照

该项目是采用 Apache 许可证版本 2.0 许可的开源软件。

A
license - permissive license
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    A FastMCP-based server that enables executing Microsoft SQL Server data queries and table structure queries through a standardized MCP protocol interface.
    6
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server providing seamless integration with Trino and Iceberg for advanced data exploration, querying, and table maintenance.
    Apache 2.0
  • F
    license
    Not graded
    quality
    D
    maintenance
    A FastMCP-based server that provides tools for API discovery and execution, hierarchical category management, and SQL query execution through the Model Context Protocol.

View all related MCP servers

Related MCP Connectors

  • MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.

  • MCP server for AI access to Swagger by SmartBear.

  • MCP Server for agents to onboard, pay, and provision services autonomously with InFlow

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/datastrato/mcp-server-gravitino'

If you have feedback or need assistance with the MCP directory API, please join our Discord server