OpenMerchant
For sellers and businesses on OpenMerchant: every tool in the API as one MCP server, for Claude, ChatGPT, Grok, Perplexity or the agent you build. Sell to agents, pay vendors, and purchase with cards. Sign in from Claude or ChatGPT, or add it to Grok, Perplexity and other apps with your secret key.
https://api.openmerchant.dev/ mcp/ v1Updated
Add it to your app
Claude
Every Claude plan, on the web and in Claude Desktop. Some plans allow only one custom connector.
- Select Add to Claude, or go to Customize > Connectors and choose Add, then Custom > Web.
- Check that the name is OpenMerchant and the URL is
https://api.openmerchant.dev/, then select Continue.mcp/ v1 - Select Continue again and Add, then sign in with your OpenMerchant account, choose test or live mode, and select Approve full access.
- In a chat, select +, then Connectors, and turn on OpenMerchant.
ChatGPT
ChatGPT on the web. Your plan and workspace settings decide whether you can add a custom MCP server, and which of its tools ChatGPT can use.
- Go to Plugins, select the plus button, then Add custom MCP server.
- Name it OpenMerchant and enter
https://api.openmerchant.dev/under Connection.mcp/ v1 - Set Authentication to OAuth. Under Advanced OAuth settings, choose CIMD as the Registration method. No client ID or secret is needed.
- Review the risk warning, select I understand and want to continue, then Create as a plugin.
- Install it from your personal plugins, then sign in with your OpenMerchant account, choose test or live mode, and select Approve full access.
- In a chat, type
@and choose OpenMerchant.
Claude Code
- Set
OPENMERCHANT_API_KEYto your secret key in your shell. - Run the command below.
- Run
/mcpin Claude Code to check that it is connected. - Or leave out
--headerand run/mcpto sign in with your OpenMerchant account.
Terminal
claude mcp add --transport http --scope user \
openmerchant-custom https://api.openmerchant.dev/mcp/v1 \
--header "Authorization: Bearer $OPENMERCHANT_API_KEY"
Codex
- Set
OPENMERCHANT_API_KEYto your secret key where Codex runs. - Add this to
~/.codex/config.toml, or run the command below. - Run
/mcpin Codex to check that it is connected.
~/.codex/config.toml
[mcp_servers.openmerchant-custom]
url = "https://api.openmerchant.dev/mcp/v1"
bearer_token_env_var = "OPENMERCHANT_API_KEY"
Or in a terminal
codex mcp add openmerchant-custom \
--url https://api.openmerchant.dev/mcp/v1 \
--bearer-token-env-var OPENMERCHANT_API_KEY
The Codex CLI, the Codex IDE extension and the ChatGPT desktop app share this file.
Grok
Every Grok user. On Business and Enterprise, a team admin must first provision the connector in the cloud console.
- Select New Connector, then Custom.
- Enter
https://api.openmerchant.dev/as the MCP server URL.mcp/ v1 - When Grok asks for authentication, enter your OpenMerchant secret key.
- Finish setup. Grok discovers OpenMerchant’s tools and makes them available in conversations.
Perplexity
Perplexity Pro, Max or Enterprise. Organization settings may limit who can add a custom remote connector.
- Open Plugins in the sidebar, or Customize > Connectors, then choose Add custom > Connector > Add MCP connector.
- Choose Remote. Name it OpenMerchant, then enter
https://api.openmerchant.dev/as the MCP Server URL.mcp/ v1 - Set Authentication to API Key and Transport to Streamable HTTP.
- Enter your OpenMerchant secret key when Perplexity asks for the API key.
- Check the acknowledgement, select Add, then open OpenMerchant from Plugins to enable it.
Cursor
- Set
OPENMERCHANT_API_KEYto your secret key in your shell profile, then restart Cursor so it can read it. - Select Add to Cursor, or add this to
~/.cursor/mcp.json. - Check that it is on under Customize > MCPs.
~/.cursor/mcp.json
{
"mcpServers": {
"openmerchant-custom": {
"url": "https://api.openmerchant.dev/mcp/v1",
"headers": {
"Authorization": "Bearer ${env:OPENMERCHANT_API_KEY}"
}
}
}
}
Other apps
VS Code
- Select Add to VS Code and confirm, or add this to
.vscode/mcp.json. - When the server first starts, VS Code asks for your secret key and stores it.
- Confirm that you trust the server, then use it from Chat.
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "openmerchant-secret-key",
"description": "OpenMerchant secret key",
"password": true
}
],
"servers": {
"openmerchant-custom": {
"type": "http",
"url": "https://api.openmerchant.dev/mcp/v1",
"headers": {
"Authorization": "Bearer ${input:openmerchant-secret-key}"
}
}
}
}
Gemini CLI
- Set
OPENMERCHANT_API_KEYto your secret key where Gemini CLI runs. - Run this, then run
/mcpin Gemini CLI to check that it is connected.
Terminal
gemini mcp add --transport http --scope user \
--header 'Authorization: Bearer ${OPENMERCHANT_API_KEY}' \
openmerchant-custom https://api.openmerchant.dev/mcp/v1
Devin Desktop (formerly Windsurf)
- Set
OPENMERCHANT_API_KEYto your secret key where Devin Desktop runs. - Add this to
~/.config/devin/mcp_config.json.
~/.config/devin/mcp_config.json
{
"mcpServers": {
"openmerchant-custom": {
"url": "https://api.openmerchant.dev/mcp/v1",
"headers": {
"Authorization": "Bearer ${env:OPENMERCHANT_API_KEY}"
}
}
}
}
Cline
Open MCP Servers, then Configure and Configure MCP Servers, and add this with your secret key in place of pr_sk_test_….
cline_mcp_settings.json
{
"mcpServers": {
"openmerchant-custom": {
"type": "streamableHttp",
"url": "https://api.openmerchant.dev/mcp/v1",
"headers": {
"Authorization": "Bearer pr_sk_test_…"
}
}
}
}
Zed
Add this to your settings, with your secret key in place of pr_sk_test_….
settings.json
{
"context_servers": {
"openmerchant-custom": {
"url": "https://api.openmerchant.dev/mcp/v1",
"headers": {
"Authorization": "Bearer pr_sk_test_…"
}
}
}
}
Steps follow each app’s own documentation. Checked .
Try it
Keep Test when you sign in, or set a test key, then ask your agent for any of these. Test mode moves no money.
- List the invoices that are waiting for review.
- Create a transfer request for the oldest unpaid invoice and show me its status.
- Create a purchase intent for a $120 keyboard.
What it can do
Every tool in the OpenMerchant API: whatever your secret key can do, an agent holding it can do. Signing in from an app grants full access too.
- Vendor payments
- Submit invoices and transfer requests, follow them to paid, and ask a vendor for payout details. No vendor-payment tool approves, pays, cancels or retries a payment; a person does that in the dashboard.
- Purchasing
- Create purchase intents, and approve, cancel or retry them.
- Cards and limits
- Issue card credentials and Shared Payment Tokens, and read or change budgets and spending policies.
- Selling
- Manage your catalog, promotions, rate cards and markets, and answer quote requests and orders.
Keys have no scopes and signing in grants full access, so build in test mode, which moves no money.
Test or live
When you sign in from an app, you choose test or live mode, and Test is preselected. With a secret key, the key decides: a test key (pr_sk_test_…) runs everything in test mode, and a live key is live. Test mode moves no money.
Get and rotate keys in the dashboard under Developers, and see or revoke the apps you signed in from under Connections → Connected apps.
If a tool call fails
If you signed in from an app and it reports an authentication error, reconnect the connector there and sign in again.
With a secret key, an authentication error usually means the key did not arrive. Check that OPENMERCHANT_API_KEY is set where your app can read it, that the header is Bearer followed by the key, and restart the app after setting it.
Invoices and transfer requests take an idempotency key, so an agent can retry a submission with the same key without creating a second one.
Sources
- Claude Help Center: custom connectors using remote MCP
- Claude Docs: install links for custom connectors
- OpenAI: Add custom MCP server
- Claude Code: MCP
- Codex: Model Context Protocol
- Grok Docs: custom MCP connectors
- Perplexity Help Center: custom remote connectors
- Cursor: Model Context Protocol
- Cursor: MCP install links
- VS Code: Add and manage MCP servers
- Gemini CLI: MCP servers
- Devin Desktop: MCP configuration
- Cline: MCP
- Zed: Model Context Protocol
Claude, Claude Code and the Claude logo are trademarks of Anthropic. ChatGPT, Codex, OpenAI and the OpenAI logo are trademarks of OpenAI. Grok and the Grok logo are trademarks of SpaceXAI. Perplexity and the Perplexity logo are trademarks of Perplexity AI. Cursor and the Cursor logo are trademarks of Anysphere, Inc. Visual Studio Code and the Visual Studio Code icon are trademarks of Microsoft Corporation. Gemini and the Gemini logo are trademarks of Google LLC. They identify the apps these steps are for and imply no endorsement of OpenMerchant.