Supabase
MCP server for interacting with the Supabase platform
作者提供的说明(英文原文)
150+ SAP HANA database tools as MCP tools for AI assistants
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"hana-cli": {
"command": "npx",
"args": [
"-y",
"hana-cli"
]
}
}
}在终端中运行这条命令
claude mcp add hana-cli -- npx -y hana-cli粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"hana-cli": {
"command": "npx",
"args": [
"-y",
"hana-cli"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"hana-cli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"hana-cli"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 SAP-samples 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(4.202607.1)于4个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Supabase, MongoDB MCP Server, Elasticsearch MCP Server
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP server for interacting with the Supabase platform
MongoDB Model Context Protocol Server
MCP server for interacting with Elasticsearch
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Version 4.x introduces significant changes including Express 5 migration, refactored database connection handling, and major performance improvements. While we've tested extensively, please be aware of potential issues in your specific environment.
If you encounter problems:
npm install -g hana-cli@3.202601.0
What's Changed: The change log describes all notable changes including Express 5 migration, database connection refactoring, CLI startup performance optimization (60-77% faster), expanded test coverage (85%+ coverage), and the new VitePress documentation site.
Complete documentation is available in the [`docs/`](docs/) folder and organized with VitePress. This README will maintain a high-level overview and quick links to the most important sections of the documentation but over time expect that more and more detailed documentation will be added to the docs folder as the project evolves.
Quick Links:
cd docs
npm install npm run docs:dev
cd docs
npm run docs:build npm run docs:serve
See docs/README.md for complete documentation setup details.
This sample is intended to shown how one could build a developer-centric SAP HANA command line tool, particularly designed to be used when performing local SAP HANA development in non-SAP tooling (like VSCode). It utilizes the default-env.json that is often used in local development for connectivity to a remote SAP HANA DB (although it can of course be used with a local SAP HANA, express edition instance as well). There is no intention to replacing the hdbsql tool as a generic SQL console. Instead this sample will focus on simplifying and grouping common and complex commands that otherwise might a lot of separate scripts.
Introduction Video: https://youtu.be/dvVQfi9Qgog
However the tool isn't limited to only local development. It also works well when developing in the cloud. The hana-cli tool can also run well from a cloud shell in the SAP Business Application Studio, Google Cloud Shell, AWS Cloud9, etc. We can also run against a SAP HANA service for SAP BTP or SAP HANA Cloud instance. This demonstrates that the tool can run just about anywhere you can get a command line that has access to the Node.js Runtime. We can also connect to a remote HANA instance even if it isn't running in the same cloud environment in which we are performing our development tasks.
graph TD
A["SAP HANA CLI Tool"] --> B{Development Environment} B --> C["Local Development"] B --> D["Cloud Development"]
C --> C1["VSCode"] C --> C2["Local SAP HANA Express"] C --> C3["Remote SAP HANA"]
D --> D1["SAP Business App Studio"] D --> D2["Google Cloud Shell"] D --> D3["AWS Cloud9"] D --> D4["SAP BTP HANA Service"] D --> D5["SAP HANA Cloud"]
style A fill:#0070C0 style B fill:#FF6B6B style C fill:#51CF66 style D fill:#FFD93D
Running in Cloud Shells Video: https://youtu.be/L7QyVLvAIIQ
If you would rather just access the tool directly, it is now available in npm as well. You can install via:
npm install -g hana-cli
graph LR
A["SAP HANA CLI Tool"] --> B{Installation Method}
B --> B1["NPM Package Quick Install"] B1 --> B1a["npm install -g hana-cli"] B1a --> B1b["✅ Ready to Use"]
B --> B2["Clone & Build From Source"] B2 --> B2a["Clone Repository from GitHub"] B2a --> B2b["Run npm install"] B2b --> B2c["Run npm link"] B2c --> B2d["✅ Ready to Use"]
style B1 fill:#0070C0,color:#fff style B2 fill:#FF6B6B,color:#fff style B1b fill:#51CF66,color:#fff style B2d fill:#51CF66,color:#fff
Otherwise you can also run it from the sources as described here:
git clone https://github.com/SAP-samples/hana-developer-cli-tool-example
npm install
npm link
The hana-cli tool includes several commands that interact with SAP Business Technology Platform (BTP) services. All BTP-related functionality in this tool relies on the SAP BTP Command Line Interface (btp CLI) being installed and available in your system's PATH.
The btp CLI is SAP's official command-line tool for managing resources and services on the SAP Business Technology Platform. It provides capabilities for managing global accounts, directories, subaccounts, entitlements, service instances, and more. The hana-cli tool wraps and extends many of these capabilities with developer-friendly commands.
For Linux and macOS users, this repository includes a convenient installation script install-btp.sh that automates the installation of the BTP CLI.
The script performs the following actions:
To use the installation script:
chmod +x scripts/install-btp.sh
./scripts/install-btp.sh
After running the script, you may need to restart your terminal or run source ~/.bashrc to apply the PATH changes.
Note: Windows users should download the BTP CLI from the SAP Development Tools page and follow the platform-specific instructions there.
Once installed, you can verify the BTP CLI is available by running:
btp --version
You can also use the hana-cli tool itself to check your BTP CLI configuration:
hana-cli btp
This will display your current BTP target information including global account, directory, and subaccount if configured.
This application primarily uses the default-env.json that is often used in local development for connectivity to a remote HANA DB (although it can of course be used with a local SAP HANA, express edition instance as well). For more details on how the default-env.json works, see the readme.md of the @sap/xsenv package or the @sap/hdi-deploy package.
The tool doesn't simply look for a default-env.json file in the current directory however. There are numerous options and places it will look for the connection parameters. Here is the order in which it checks:
graph TD
A["Connection Resolution Started"] --> B{Admin Mode Enabled?} B -->|YES| B1["Look for default-env-admin.json"] B -->|NO| C{.cdsrc-private.json Found?}
B1 --> B2{Found?} B2 -->|YES| Z1["Use Admin Credentials"] B2 -->|NO| C
C -->|YES| C1["Use CAP cds bind Dynamic Lookup"] C -->|NO| D{.env File Found?}
C1 --> Z2["Secure Lookup from CF/K8s"]
D -->|YES| D1{Contains VCAP_SERVICES?} D1 -->|YES| Z3["Use VCAP Services"] D1 -->|NO| E D -->|NO| E
E{--conn Parameter Specified?} -->|YES| E1["Look for specified connection file"] E1 --> E2{Local or Home Found?} E2 -->|YES| Z4["Use Specified File"] E2 -->|NO| F E -->|NO| F
F["Look for default-env.json in current/parent dirs"] F --> G{Found?} G -->|YES| Z5["Use default-env.json"] G -->|NO| H["Last Resort: Look for default.json in HOME/.hana-cli/"]
H --> I{Found?} I -->|YES| Z6["Use default.json"] I -->|NO| Z7["❌ No Connection Configuration Found"]
style Z1 fill:#51CF66 style Z2 fill:#51CF66 style Z3 fill:#51CF66 style Z4 fill:#51CF66 style Z5 fill:#51CF66 style Z6 fill:#51CF66 style Z7 fill:#FF6B6B
.cdsrc-private.json in this directory or 5 parent directories and use cds bind functionality to lookup the credentials securely. This is the most secure option, but please note: this will make each command take a few seconds longer as credentials are no longer stored locally but looked up from cf or k8s dynamically with each command.cdsrc-private.json found in this directory or 5 parent directories, then look for a .env file in this directory or up to 5 parent directoriesA lot of the functionality of this tool revolves around typical tasks you face while doing HANA database development. For example you might want to get a list of all views in your current schema/container:
C:\github\hana-xsa-opensap-hana7\user_db>hana-cli views
Schema: OPENSAP_HANA_USER, View: * SCHEMA_NAME VIEW_NAME VIEW_OID COMMENTS
只显示了开头部分;其余内容请在仓库中阅读