Skip to content
hs-sql-agent
2.0.2
Docs 2.0.2
Docs Getting Started

Quick Start

Choose a setup path, run hs-sql-agent, and connect your first MCP client.

Docker Compose

  1. Create your environment file

    Copy the checked-in example so configuration stays explicit and reviewable.

    cp .env.example .env
  2. Replace the signing secrets

    Set HMAC_KEY and JWT_KEY to different, unique secrets of at least 32 bytes.

    The values in .env.example are placeholders. Do not deploy them unchanged.

  3. Start the service

    Launch the default single-instance stack.

    docker compose up -d
  4. Open the Admin Panel

    The default application listener is port 8080.

    For a local setup, open http://localhost:8080 and complete the first administrator setup.

Issue your first MCP key

  1. Open Runtime → MCP Keys

    Keys are the MCP identity and authorization boundary.

  2. Choose the database and tool scope

    Bind the key to one Database Management entry and expose only the tools the client needs.

  3. Copy the plaintext key

    The lifecycle dialog displays the newly issued secret for you to copy; keep it in the client secret store.

  4. Use the generated client configuration

    Or send the secret as X-MCP-Server-Key to the Streamable HTTP endpoint.

The default MCP endpoint is /mcp. For clients outside the local machine, set MCP_PUBLIC_ENDPOINT to the externally reachable absolute HTTP or HTTPS URL, including /mcp.

Where to go next