Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Hana MCP server

by hatrigt/hana-mcp-serverMIT licenceAudited 7 Oct 2026 · source c912c4910a7f

npm hana-mcp-server 0.3.4★ 70
✓SAFEGrade B · 89/100 · 7 Oct 2026 · c912c49
70GitHub stars

Is it safe? Yes — SAFE, grade B (89/100). It exposes 38 tools: 35 read, 3 write and 0 destructive. The audit recorded 18 findings (0 critical, 0 high, 0 medium, 16 low). Maintainer's description: SAP HANA MCP server — Enterprise Model Context Protocol server for SAP HANA. Use with Claude Code, VS Code. npm: hana-mcp-server

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Hana MCP server (hatrigt/hana-mcp-server)”. Retrieved 7 Oct 2026. https://modelsatlas.com/mcp/hatrigt/hana

Trust audit

Audit 0.4.1 · full source read 7 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium16 low2 info

18 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared5 observations
  • NetworkDeclared5 observations
  • ShellDeclared3 observations
  • DependenciesNot pinnedSome ranges float
  • SecretsNone foundNo keys in source

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 3 findings
L1 Static sourceSecrets, path traversal, supply chainPASS 12 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS 3 findings
L3 InventoryDeclared tools match the sourcePASS
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner hatrigtUser accountAccount type recorded when we read the repository.
  • PackagePublished on npmhana-mcp-server at version 0.3.4
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last pushTodayActivity of the repository when we read it.
  • Source commit readc912c4910a7fThe audit covers exactly this commit, read on 7 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory38 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (18)

Sorted by severity

LOWInventory / provenanceinv.hidden_file · .markdownlint.json
F-13 Inventory / provenanceCWE-1104Layer L0
.markdownlint.json
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · hana-mcp-ui/src/components/layout/VerticalSidebar.jsx:3
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { cn } from '../../utils/cn';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · hana-mcp-ui/src/components/ui/DatabaseTypeBadge.jsx:1
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { getDatabaseTypeColor, getDatabaseTypeShortName } from '../../utils/databaseTypes'
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · hana-mcp-ui/src/components/ui/GlassCard.jsx:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { cn } from '../../utils/cn'
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · hana-mcp-ui/src/components/ui/GlassCard.jsx:3
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { colors, shadows, borderRadius } from '../../utils/theme'
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · hana-mcp-ui/src/components/ui/GradientButton.jsx:2
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { cn } from '../../utils/cn'
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README.md:144
F-04 Network egressCWE-200 · CWE-319Layer L1
**Cursor / local IDE over HTTP:** set `HANA_*` in the shell (or process manager) that runs `start:http`, then add an HTTP MCP entry with `url` `http://127.0.0.1:3100/mcp` (`"type": "fetch"` or `"type"
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · README.md:148
F-04 Network egressCWE-200 · CWE-319Layer L1
| Endpoint | `POST` JSON-RPC to `/mcp` (default base `http://127.0.0.1:3100`) |
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/local-http-mcp.md:3
F-04 Network egressCWE-200 · CWE-319Layer L1
The server exposes **Streamable HTTP** MCP at **`POST /mcp`** (default `http://127.0.0.1:3100/mcp`). HANA credentials apply to the **Node process** that runs the HTTP server, not to the IDE MCP entry
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/local-http-mcp.md:34
F-04 Network egressCWE-200 · CWE-319Layer L1
"url": "http://127.0.0.1:3100/mcp"
Why
No further detail recorded for this rule.
Fix
—
LOWNetwork egressnet.raw_ip · docs/local-http-mcp.md:43
F-04 Network egressCWE-200 · CWE-319Layer L1
curl -s http://127.0.0.1:3100/mcp
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · hana-mcp-ui/package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@heroicons/react, @tailwindcss/forms, @vitejs/plugin-react, autoprefixer, axios, chalk, clsx, cors
Why
19 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@sap/hana-client, axios, jose, nodemon
Why
4 dependency range(s) float
Fix
pin exact versions or ship a lockfile
LOWPrompt injectionprompt.transfer_instruction · docs/local-http-mcp.md:3
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
The server exposes **Streamable HTTP** MCP at **`POST /mcp`** (default `http://127.0.0.1:3100/mcp`). HANA credentials apply to the **Node process** that runs the HTTP server, not to the IDE MCP entry
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · docs/local-http-mcp.md:51
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
The HTTP transport does **not** implement a full OAuth 2.0 **authorization-server** flow (no hosted `/authorize` or `/token` on this app). It behaves as a **resource endpoint**: callers send **`Author
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
LOWPrompt injectionprompt.transfer_instruction · tests/README.md:184
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
The server can also run over HTTP. One JSON‐RPC request per POST; no persistent session.
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
INFOInventory / provenanceinv.oversize · docs/hana_mcp_ui.gif
F-13 Inventory / provenanceCWE-1104Layer L0
docs/hana_mcp_ui.gif
Why
4632059 bytes not read
Fix
—
INFOInventory / provenanceinv.oversize · hana-mcp-ui/hana_mcp_ui.gif
F-13 Inventory / provenanceCWE-1104Layer L0
hana-mcp-ui/hana_mcp_ui.gif
Why
4632059 bytes not read
Fix
—

Tools it exposes

38 declared in source · 0 destructive

35 read3 write0 destructive
ToolRiskWhat it does
hana_explain_planwriteRun EXPLAIN PLAN for a SELECT/WITH query and return operator tree from EXPLAIN_PLAN_TABLE. Only SELECT/WITH are accepted.
hana_get_ddlwriteRetrieve the DDL (CREATE statement) for a TABLE, VIEW, PROCEDURE, FUNCTION, TRIGGER, or SEQUENCE from SYS.OBJECT_DEFINITION. Requires appropriate privileges.
hana_list_sequenceswriteList sequences from SYS.SEQUENCES, showing start, min, max, increment, cycle, and cache settings.
goalreadWhat the query should achieve
hana_connection_testreadTest HANA database connection and show configuration
hana_describe_functionreadReturn parameter names, types, data types, and positions for a function from SYS.FUNCTION_PARAMETERS.
hana_describe_indexreadDescribe the structure of a specific index
hana_describe_procedurereadReturn parameter names, types (IN/OUT/INOUT), data types, and positions from SYS.PROCEDURE_PARAMETERS.
hana_describe_tablereadDescribe the structure of a specific table
hana_describe_viewreadReturn the view definition (SQL) and column metadata from SYS.VIEWS and SYS.VIEW_COLUMNS.
hana_explain_tablereadReturn column metadata merged with optional business semantics from HANA_SEMANTICS_PATH or HANA_SEMANTICS_URL (JSON keys: SCHEMA.TABLE or DB.SCHEMA.TABLE when catalog_database is set). Optional catalog_database reads SYS.* from another MDC database (e.g. HSP).
hana_get_column_statsreadRetrieve column statistics (distinct count, null count, min/max) from SYS.COLUMN_STATISTICS (cached) or via live COUNT queries (live=true). With live=true a specific column_name is required.
hana_get_dependenciesreadShow what an object depends on or what depends on it, from SYS.OBJECT_DEPENDENCIES. Capped at 200 rows.
hana_get_expensive_queriesreadReturn the most expensive statements from M_EXPENSIVE_STATEMENTS ordered by duration. Requires MONITORING privilege.
hana_get_partition_inforeadReturn partition metadata (type, level, record count, loaded state) from SYS.TABLE_PARTITIONS. Returns empty result for unpartitioned tables.
hana_get_sample_datareadFetch the first N rows from a table using SELECT TOP. Result is shaped by the same row/column/cell caps as hana_execute_query.
hana_get_session_inforeadReturn CURRENT_USER, CURRENT_SCHEMA, connected database name, SYSTEM_ID, and HANA version from DUMMY and M_DATABASE.
hana_get_table_statsreadReturn row count, table type, column-store flag, primary key flag, and disk size (requires MONITORING privilege for disk size) from SYS.TABLES and SYS.M_TABLE_SIZES.
hana_list_calculation_viewsreadList calculation views from the _SYS_BIC schema (SAP BW/S4 analytical views). Supports prefix filter and pagination.
hana_list_constraintsreadList primary key, unique, check, and foreign key constraints for a table (SYS.CONSTRAINTS + SYS.REFERENTIAL_CONSTRAINTS).
hana_list_foreign_keysreadList referential constraints (foreign keys) showing column, referenced table/column, and delete rule from SYS.REFERENTIAL_CONSTRAINTS.
hana_list_functionsreadList scalar and table functions from SYS.FUNCTIONS. Supports prefix filter and pagination.
hana_list_indexesreadList all indexes for a specific table
hana_list_privilegesreadList effective privileges for a user (or CURRENT_USER if omitted) from SYS.EFFECTIVE_PRIVILEGES. Requires CATALOG READ privilege or querying own privileges.
hana_list_proceduresreadList stored procedures and their parameter counts from SYS.PROCEDURES.
hana_list_schemasreadList schemas in the HANA database with optional prefix filter and pagination (HANA_LIST_DEFAULT_LIMIT / offset).
hana_list_synonymsreadList synonyms in a schema from SYS.SYNONYMS, showing target object schema, name, and type.
hana_list_tablesreadList tables in a schema with optional name prefix and pagination (HANA_LIST_DEFAULT_LIMIT / offset).
hana_list_viewsreadList views in a schema from SYS.VIEWS. Supports prefix filter and pagination.
hana_query_builderreadBuild a SQL query for HANA database
hana_query_next_pagereadFetch the next page of a truncated SELECT using snapshotId from a previous hana_execute_query result (same SQL and parameters; TTL HANA_QUERY_SNAPSHOT_TTL_MS).
hana_schema_explorerreadExplore HANA database schemas and tables
hana_search_columnsreadFind all columns matching a LIKE pattern across all tables (or within a schema). Uses SYS.TABLE_COLUMNS. Results capped at 1000.
hana_search_tablesreadFind all tables matching a LIKE pattern across all schemas (or within a specific schema). Uses SYS.TABLES. Results capped at 2000.
hana_show_configreadShow the HANA database configuration
hana_show_env_varsreadShow all HANA-related environment variables (for debugging)
hana_test_connectionreadTest connection to HANA database
schemasreadList of schema names in the HANA database

Install

Package version 0.3.4 · audited commit c912c49

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 0.3.4. The audit covers commit c912c49 only.

claude mcp add hana-mcp-server --env HANA_PASSWORD=${HANA_PASSWORD} --env MCP_HTTP_AUTH_ENABLED=${MCP_HTTP_AUTH_ENABLED} -- npx -y [email protected]

The command pins the package version recorded in the source (0.3.4); the audit covers commit c912c4910a7f. Transport: not declared. Reads these environment variables: HANA_PASSWORD, MCP_HTTP_AUTH_ENABLED. Give it the narrowest token it needs.

Audit history

  1. ✓SAFE B 89 / 100

    First audit · c912c4910a7f

README badge

For maintainers · updates on every re-audit

ModelsAtlas: SAFE BMODELSATLASSAFE · B
[![ModelsAtlas: SAFE B](https://modelsatlas.com/mcp/hatrigt/hana/badge.svg)](https://modelsatlas.com/mcp/hatrigt/hana/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Hana MCP server

What is the Hana MCP server?
SAP HANA MCP server — Enterprise Model Context Protocol server for SAP HANA. Use with Claude Code, VS Code. npm: hana-mcp-server
What tools does Hana expose?
38 in total: 35 read-only, 3 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Hana 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.
What credentials does Hana need?
It reads HANA_PASSWORD and MCP_HTTP_AUTH_ENABLED from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How current is this page?
The grade is for one exact copy of the source (c912c4910a7f), read on 2026-10-07. The repository is watched and re-audited when it changes.

Sources

  • hatrigt/hana-mcp-server on GitHub — the source we read, its licence, stars and activityObserved · 7 Oct 2026
  • ModelsAtlas trust audit — SAFE verdict for commit c912c4910a7fObserved · 7 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.