H
HLOS Docs

Cursor Integration

Use HLOS secrets directly in Cursor AI

What you can do

  • • Ask Cursor to "use my HLOS secrets for this project"
  • • Request capabilities like SMS or LLM access on-demand
  • • Inject secrets at runtime without exposing them in code
  • • Cursor Agent automatically uses HLOS tools when relevant

Prerequisites

1

Install the HLOS CLI

Install the CLI globally to authenticate and manage secrets

$ npm install -g @hlos/cli
2

Authenticate with HLOS

This opens your browser to complete OAuth login

$ hlos auth login
3

Copy your access token

Your token is stored locally after login. You can also find it in Settings.

$ hlos auth token

Configure Cursor

Add HLOS to your Cursor MCP configuration file.

Config file location:

macOS:~/Library/Application Support/Cursor/mcp-servers.json
Windows:%APPDATA%\Cursor\mcp-servers.json
{
  "hlos": {
    "command": "npx",
    "args": ["-y", "@hlos/mcp-server"],
    "env": {
      "HLOS_ACCESS_TOKEN": "your-token-here"
    }
  }
}

Important

Replace your-token-here with the token from hlos auth token. Restart Cursor after saving the config file.

Using HLOS in Cursor

Once configured, the Cursor Agent will automatically detect when HLOS tools are relevant.

"List my HLOS projects"

Cursor will call the HLOS MCP server to retrieve your projects

"Get my OpenAI API key from HLOS"

Cursor will fetch the secret value securely

"I need SMS capability for this app"

Cursor will request Twilio provisioning from your HLOS wallet