SAP HANA MCP server — Model Context Protocol server for SAP HANA and HANA Cloud. Use with Claude Code, VS Code, and other AI agents.
Connect Hana to Claude, Cursor or any other MCP client and it stops being a tab you switch to. SAP HANA MCP server — Model Context Protocol server for SAP HANA and HANA Cloud. Use with Claude Code, VS Code, and other AI agents. The hana mcp server is what makes that connection.
~/Library/Application Support/Claude/claude_desktop_config.json - Windows: %APPDATA%\claude\claude_desktop_config.json - Linux: ~/.config/claude/claude_desktop_config.jsonBecause this one is hosted, setup is mostly authentication — you point your client at the endpoint and approve access. Nothing runs on your machine, so there is no runtime to keep patched.
The toolset is worth reading before you wire it up, because it tells you what the integration is really for:
macOS — ** ~/Library/Application Support/Claude/claude_desktop_config.jsonWindows — ** %APPDATA%\claude\claude_desktop_config.jsonLinux — ** ~/.config/claude/claude_desktop_config.jsonSecrets — ** HANA_PASSWORD, JWT material, and URLs with embedded credentials belong in env or a secret manager — not in gitIssues — ** GitHub IssuesDocument — PurposeMethod — Use whenAudience — TransportTopic — DetailEndpoint — POST JSON-RPC to /mcp (default base http://127.0.0.1:3100)Tuning — MCP_HTTP_HOST, MCP_HTTP_PORTHealth — GET /health → 200Configuration is passed through the environment: HANA_HOST, HANA_PORT, HANA_USER, HANA_PASSWORD, HANA_SCHEMA, HANA_SSL, HANA_ENCRYPT, HANA_VALIDATE_CERT. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Hana's toolset — macOS, Windows, Linux and 11 more — is a fair guide to whether it matches your workflow. It is maintained by hatrigt; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| macOS | ** ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | ** %APPDATA%\claude\claude_desktop_config.json |
| Linux | ** ~/.config/claude/claude_desktop_config.json |
| Secrets | ** HANA_PASSWORD, JWT material, and URLs with embedded credentials belong in env or a secret manager — not in git. |
| Issues | ** [GitHub Issues](https://github.com/hatrigt/hana-mcp-server/issues) |
| Document | Purpose |
| Method | Use when |
| Audience | Transport |
| Topic | Detail |
| Endpoint | POST JSON-RPC to /mcp (default base http://127.0.0.1:3100) |
| Tuning | MCP_HTTP_HOST, MCP_HTTP_PORT |
| Health | GET /health → 200 |
| CORS | MCP_HTTP_ALLOWED_ORIGINS — [ENVIRONMENT.md §7](docs/ENVIRONMENT.md#7-http-transport-npm-run-starthttp) |
| Variable | Role |
{
"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"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| HANA_HOST | Endpoint or connection string the server talks to. | Optional |
| HANA_PORT | Configuration value read at startup. | Optional |
| HANA_USER | Configuration value read at startup. | Optional |
| HANA_PASSWORD | Configuration value read at startup. | Optional |
| HANA_SCHEMA | Configuration value read at startup. | Optional |
| HANA_SSL | Configuration value read at startup. | Optional |
| HANA_ENCRYPT | Configuration value read at startup. | Optional |
| HANA_VALIDATE_CERT | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.