Skip to main content
Glama

hana_show_env_vars

Display HANA Cloud environment variables for debugging database connections and configurations in Cursor IDE.

Instructions

Show all HANA-related environment variables (for debugging)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'hana_show_env_vars' tool. It logs the tool invocation, retrieves HANA-related environment variables using config.getEnvironmentVars(), formats them with Formatters.formatEnvironmentVars(), and returns a formatted response.
    static async showEnvVars(args) { logger.tool('hana_show_env_vars'); const envVars = config.getEnvironmentVars(); const formattedEnvVars = Formatters.formatEnvironmentVars(envVars); return Formatters.createResponse(formattedEnvVars); }
  • The tool definition including name, description, and input schema (empty object with no required properties) for 'hana_show_env_vars'.
    { name: "hana_show_env_vars", description: "Show all HANA-related environment variables (for debugging)", inputSchema: { type: "object", properties: {}, required: [] } },
  • Registration of the tool handler in the TOOL_IMPLEMENTATIONS mapping, linking 'hana_show_env_vars' to ConfigTools.showEnvVars for execution via ToolRegistry.executeTool.
    const TOOL_IMPLEMENTATIONS = { hana_show_config: ConfigTools.showConfig, hana_test_connection: ConfigTools.testConnection, hana_show_env_vars: ConfigTools.showEnvVars, hana_list_schemas: SchemaTools.listSchemas, hana_list_tables: TableTools.listTables, hana_describe_table: TableTools.describeTable, hana_list_indexes: IndexTools.listIndexes, hana_describe_index: IndexTools.describeIndex, hana_execute_query: QueryTools.executeQuery };
  • The tool is listed in the CONFIGURATION category within TOOL_CATEGORIES.
    CONFIGURATION: ['hana_show_config', 'hana_test_connection', 'hana_show_env_vars'],

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/HatriGt/hana-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server