Skip to content
StaySecure

Access

Keys & access

StaySecure uses two kinds of keys. Use the right prefix for the right surface, and treat every key like a password.

Two key types

Prefix Use for Where
ss_mcp_… Coding agents over Model Context Protocol Settings → MCP integration
ss_live_… Scripts, CI, and backends over HTTP Settings → API

Do not send an MCP key to the REST API, and do not send a REST key to MCP. They are separate credentials.

Abilities

  • read — inspect workspace, projects, scans, findings, and reports.
  • read_write — everything read can do, plus create/update/delete where the surface allows (for MCP: create projects, start scans, update findings, change project settings, delete projects).

Prefer read when an agent or job only needs to inspect. Use read_write when it must mutate.

How to authenticate

Both surfaces expect a Bearer token:

Authorization: Bearer ss_mcp_…   # MCP → https://staysecure.sh/mcp
Authorization: Bearer ss_live_…  # REST → /api/v1/…

Create and revoke

  1. Open the app → workspace Settings.
  2. Choose MCP integration or API.
  3. Create a key with the ability you need. Copy it once; you will not see the full secret again.
  4. Revoke unused or leaked keys from the same settings screens.

Safety

  • Store keys in your agent config or secret manager—not in git.
  • Rotate immediately if a key leaks into a chat, log, or commit.
  • Scope write access only to agents and jobs that need it.

Next: Onboard an agent, MCP, or REST API.