GravitinoSAFE
MCP server for Apache Gravitino
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://www.python.org/downloads/)
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.
- Clone the repository:
git clone [email protected]:datastrato/mcp-server-gravitino.git
- Navigate into the project directory:
cd mcp-server-gravitino
- Create a virtual environment:
uv venv
- Activate the virtual environment:
source .venv/bin/activate
- Install dependencies:
uv install
Configuration
Common Configuration
Regardless of the Authorization, the following environment variables need to be set:
GRAVITINO_METALAKE= # default: "metalake_demo" 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:
GRAVITINO_JWT_TOKEN=
GRAVITINO_JWT_TOKEN: The JWT token for authentication.
Basic Authentication
Alternatively, you can use basic authentication:
GRAVITINO_USERNAME= GRAVITINO_PASSWORD=
7282e7d271fcOBSERVED · 2026-10-10Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.
claude mcp add mcp-server-gravitino -- uvx mcp-server-gravitino
{
"mcpServers": {
"mcp-server-gravitino": {
"command": "uvx",
"args": [
"mcp-server-gravitino"
]
}
}
}Exposed tools (14)
13 read · 0 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.
| Tool | Risk | Description |
|---|---|---|
associate_tag_to_entity | read | if not fully_qualified_name: |
get_list_model_versions_by_fqn | read | |
get_list_of_catalogs | read | |
get_list_of_models | read | |
get_list_of_roles | read | |
get_list_of_schemas | read | |
get_list_of_tables | read | |
get_list_of_tags | read | |
get_list_of_users | read | |
get_table_by_fqn | read | |
get_table_columns_by_fqn | read | |
grant_role_to_user | read | |
list_objects_by_tag | read | |
revoke_role_from_user | destructive |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | WARN |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- declared (1 observation(s))
- Network
- declared (2 observation(s))
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (2)
revoke_role_from_user
.coveragerc
Gates applied: no_behavioural_pass.
7282e7d271fcfull audit observations/trust-audit/mcp-server/datastrato__gravitino.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-10 | 7282e7d271fc | SAFE | B | 89 | first audit |
Questions
What is the Gravitino MCP server?
MCP server for Apache Gravitino
What tools does Gravitino expose?
14 in total: 13 read-only, 0 that write, and 1 that can delete or overwrite (revoke_role_from_user). Every one is listed on this page with its risk.
Is Gravitino safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Gravitino need?
No credential environment variables were found in its source, so it appears to need none.
How current is this page?
The grade is for one exact copy of the source (7282e7d271fc), read on 2026-10-10. The repository is watched and re-audited when it changes.