21st · Authentication Profile

21St Authentication

Authentication

21st secures its APIs with apiKey across 1 declared security scheme, as derived from its OpenAPI definitions.

CompanyUI ComponentsReactMCPDeveloper ToolsArtificial IntelligenceAgentsDesign SystemsFrontendComponent Registry
Methods: apiKey Schemes: 1 OAuth flows: API key in: header

Security Schemes

apiKey apiKey
· in: header ()

Source

Authentication Profile

21st-authentication.yml Raw ↑
generated: '2026-07-17'
method: searched
source: https://21st.dev/magic/console + https://github.com/21st-dev/magic-mcp + https://github.com/21st-dev/claude-code-plugin
note: >-
  21st has no public REST OpenAPI; authentication is documented across the Magic console,
  the Magic MCP server and the remote hosted MCP. A single API key minted in the console
  authenticates the CLI, the local stdio MCP server and the remote HTTP MCP server. The
  remote server transmits the key as the x-api-key request header; the local server and CLI
  read it from the API_KEY_21ST environment variable / --api-key flag.
summary:
  types: [apiKey]
  api_key_in: [header]
  header_name: x-api-key
  env_var: API_KEY_21ST
  oauth2_flows: []
schemes:
- name: apiKey
  type: apiKey
  in: header
  parameter_name: x-api-key
  provisioning: https://21st.dev/magic/console
  used_by:
  - "@21st-dev/cli (--api-key flag)"
  - "@21st-dev/magic local MCP server (API_KEY_21ST)"
  - remote MCP server https://21st.dev/api/mcp (x-api-key header)

Work with this as data

Every security artifact here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for security posture

4 MCP tools reach this
  • find_securityBrowse and filter every security artifact in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This security artifact
curl "https://apis.io/api/v1/security/21st-authentication"
All security posture
curl "https://apis.io/api/v1/security?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.