
hatrigt/hana-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
hatrigt/hana-mcp-server は [https://github.com/hatrigt/hana-mcp-server.] からインポートされた MCP サーバーの候補です
概要
hatrigt/hana-mcp-server は [https://github.com/hatrigt/hana-mcp-server.] からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
SAP HANA MCP Server は、SAP HANA およびSAP HANA Cloud のモデルコンテキストプロトコルを実装しています。AI クライアントは、スキーマを発見し、ガードレールで SQL を実行し、** ビジネス/ドメインメタデータ** をマージするので、エージェントはデータベースをシステムとして置き換えることなく、一貫してコードとテーブルを解釈します。
お問い合わせ
ドキュメント
| ドキュメント | 目的 |
お問い合わせ
| このREADME | 前提条件・設置方法・各クライアントの配線方法**・機能概要・構成チートシート・トラブルシューティング |
| CHANGELOG.md | ※リリース履歴** — バージョン([0.3.1)による機能と修正
| ドキュメント・README.md | [[T1]のインデックス |
| docs/ENVIRONMENT.md | Authoritative 参照: すべての変数、デフォルト、ハードバインド、HTTP auth、セキュリティノート
| docs/configuration-samples.md |Copy-paste: 接続プロファイル(Single-container、MDC)、セマティクスJSON、Paging pointers |
| docs/local-http-mcp.md | ローカル** HTTP** MCP: [[npm run start:http], カーソル mcp.json]], カールスモークチェック |
お問い合わせ
✅ 前提条件
- **Node.js ** 18+
- サーバーを実行しているマシンからSQLポートで到達可能なSAP HANAまたはSAP HANA Cloudデータベース
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
SAP HANA MCP Server
SAP HANA MCP Server implements the Model Context Protocol for SAP HANA and SAP HANA Cloud. AI clients discover schema, run SQL with guardrails, and optionally merge business/domain metadata so agents interpret codes and tables consistently—without replacing your database as the system of record.
📚 Documentation
| Document | Purpose |
|---|---|
| This README | Prerequisites, install, how to wire each client, capability summary, configuration cheat sheet, troubleshooting |
| CHANGELOG.md | Release history — features and fixes by version (latest 0.3.1) |
| docs/README.md | Index of /docs |
| docs/ENVIRONMENT.md | Authoritative env reference: every variable, defaults, hard bounds, HTTP auth, security notes |
| docs/configuration-samples.md | Copy-paste: connection profiles (single-container, MDC), semantics JSON, paging pointers |
| docs/local-http-mcp.md | Local HTTP MCP: npm run start:http, Cursor mcp.json, curl smoke checks |
✅ Prerequisites
- Node.js 18+
- A SAP HANA or SAP HANA Cloud database reachable on the SQL port from the machine running the server
- An MCP client (Claude Desktop, Claude Code, VS Code, Cursor, Cline, Windsurf, or custom HTTP client)
- Credentials supplied via env (see Security)
📦 Installation
| Method | Use when |
|---|---|
npx + -y hana-mcp-server in MCP config |
Default — no global install |
npm install -g hana-mcp-server |
You need hana-mcp-server on PATH |
Clone + node hana-mcp-server.js |
Developing or pinning a local build |
HTTP entrypoint (from a clone): npm run start:http — default bind 127.0.0.1:3100, path /mcp. See Hosted & HTTP.
🎯 Use cases
| Audience | Transport | Next step |
|---|---|---|
| Chat / lite users | stdio | Claude Desktop |
| Developers (Claude Code, VS Code, Cline, Cursor, Windsurf) | stdio | IDEs & code agents |
| Business apps with AI agents (you host MCP over HTTP) | HTTP | Hosted & HTTP |
🖥️ Claude Desktop
- Config file path:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\claude\claude_desktop_config.json
- macOS:
インストール
npx -y hana-mcp-server設定
{
"mcpServers": {
"HANA Database": {
"command": "npx",
"args": ["-y", "hana-mcp-server"],
"env": {
"HANA_HOST": "your-hana-host.com",
"HANA_PORT": "443",
"HANA_USER": "your-username",
"HANA_PASSWORD": "your-password",
"HANA_SCHEMA": "your-schema",
"HANA_SSL": "true",
"HANA_ENCRYPT": "true",
"HANA_VALIDATE_CERT": "true",
"HANA_CONNECTION_TYPE": "auto",
"HANA_INSTANCE_NUMBER": "10",
"HANA_DATABASE_NAME": "HQQ",
"LOG_LEVEL": "info",
"ENABLE_FILE_LOGGING": "true",
"ENABLE_CONSOLE_LOGGING": "false"
}
}
}
}