Overview
The Henry MCP server is hosted by Henry, so there is nothing to install. Point your MCP client or agent at one URL:- API key — send your Henry API key as a header. Best for agents, scripts, CI, and anything that runs without a person at a browser.
- Sign in — connect with no key and your client opens a browser window to sign in with your Henry account. Best for chat apps like Claude and ChatGPT.
Endpoints
Authentication
API key
Send a Henry API key from the Henry Dashboard (your app’s Developer settings) in either header:sk_test_) key; switch to a production
(sk_live_) key at go-live.
Sign in
Connect without a key and the server asks your client to sign in with OAuth 2.1:- Your client opens a browser window. Sign in to the Henry Dashboard if you aren’t already.
- Approve the connection. To use a specific API key instead of your account, choose Use an API key instead and paste the key.
- You’re sent back to your client, which is now connected.
Either way, tool calls run as the team that owns the API key or account and
count toward that team’s usage.
Setup Instructions
The examples read your key fromHENRY_SDK_API_KEY:
Claude Code
.mcp.json into the repo root. Claude Code expands the
variable from each developer’s environment, and falls back to sign-in when
it’s unset:
/mcp inside a Claude Code session to check the connection, or to sign
in if you didn’t set a key.
Claude (web and desktop)
- Open Settings > Connectors and choose Add custom connector.
- Name it
Henryand enterhttps://mcp.henrylabs.ai/mcpas the URL. - Choose Connect and complete the sign-in.
ChatGPT
- Enable developer mode under Settings > Apps & Connectors > Advanced.
- Create a connector with the URL
https://mcp.henrylabs.ai/mcp/appsand OAuth authentication. - Complete the sign-in when prompted.
Cursor
Open Cursor Settings > Tools & MCP > New MCP Server and add:Visual Studio Code
Run MCP: Open User Configuration from the Command Palette and add the server. VS Code prompts for the key once and stores it securely:Codex
Add the server to~/.codex/config.toml. Codex sends the key as a bearer
token:
Windsurf
Under Cascade > MCP Servers, choose Add custom server and add:Others
Any client that supports remote MCP servers over Streamable HTTP can connect tohttps://mcp.henrylabs.ai/mcp, sending the key as x-api-key or
Authorization: Bearer. Clients that support OAuth can connect without a key
and sign in instead.
Headless agents
API keys make the server usable from agents that run unattended.Claude Agent SDK
Claude API (MCP connector)
The Messages API can call the server directly.authorization_token is sent
as Authorization: Bearer:
Available Tools
The
/mcp/apps endpoint omits cartPurchase, cartPurchaseStatus,
merchantsRetrieve, and merchantsSearch. Card tokenization is never
exposed over MCP — agents buy with a cardToken your backend creates, or
hand off to hosted checkout via checkoutUrl.
Every tool declares readOnlyHint, destructiveHint, and openWorldHint
annotations, so clients can auto-approve read-only calls and confirm the rest.
Async tools
Product search, product details, checkout details, and purchase run as background jobs. The first call returns arefId and a processing status;
the agent then calls the matching *Status tool with that refId until the
status is complete. See Polling for how the
underlying jobs behave.