Hana MCP Server

SAP HANA MCP server — Model Context Protocol server for SAP HANA and HANA Cloud. Use with Claude Code, VS Code, and other AI agents.

Remote serverstreamable-http

What is the Hana MCP Server?

SAP HANA MCP server — Model Context Protocol server for SAP HANA and HANA Cloud. Use with Claude Code, VS Code, and other AI agents.

What the server does

  1. Config file path: - macOS: ~/Library/Application Support/Claude/claude_desktop_config.json - Windows: %APPDATA%\claude\claude_desktop_config.json - Linux: ~/.config/claude/claude_desktop_config.json

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

How to install the 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"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
HANA_HOSTEndpoint or connection string the server talks to.Optional
HANA_PORTConfiguration value read at startup.Optional
HANA_USERConfiguration value read at startup.Optional
HANA_PASSWORDConfiguration value read at startup.Optional
HANA_SCHEMAConfiguration value read at startup.Optional
HANA_SSLConfiguration value read at startup.Optional
HANA_ENCRYPTConfiguration value read at startup.Optional
HANA_VALIDATE_CERTConfiguration value read at startup.Optional

Example prompts to try

  • “Use Hana to macOS.”
  • “Use Hana to Windows.”
  • “Use Hana to Linux.”

Frequently asked questions

SAP HANA MCP server — Model Context Protocol server for SAP HANA and HANA Cloud. Use with Claude Code, VS Code, and other AI agents. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.