merchant-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@merchant-mcpshow me the catalog for demoshop"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
merchant-mcp
Universal Merchant MCP Server — integrate once, speak every AI agent protocol.
The Problem
Every AI agent protocol (MCP, OpenAI tool-calling, Visa TAP, UCP) needs its own integration. A merchant who wants their catalog and checkout accessible to AI agents today must build and maintain separate connectors for each one. When a new protocol ships, the work starts over.
merchant-mcp solves this by sitting between agents and merchants. Merchants implement one interface. New protocols are added as adapters on the server side — the merchant does nothing.
Related MCP server: Armor Crypto MCP
How It Works
AI Agent (Claude, GPT, etc.)
│
│ MCP / OpenAI SDK / Visa TAP / ...
▼
┌──────────────────────────────┐
│ merchant-mcp │
│ ┌──────────────────────┐ │
│ │ MCP Tool Layer │ │
│ │ get_catalog │ │
│ │ create_checkout │ │
│ │ get_tx_status │ │
│ └──────────┬───────────┘ │
│ │ MerchantAdapter│
└──────────────┼───────────────┘
│
┌───────┼───────┐
▼ ▼ ▼
Mock Autopay Stripe
(built-in) (coming)The MerchantAdapter interface is the only contract a backend needs to satisfy. See docs/adapter-spec.md.
Quickstart
git clone https://github.com/autopaylab/merchant-mcp
cd merchant-mcp
npm install
npm run devVerify it's running:
curl http://localhost:3000/health
# {"status":"ok","server":"merchant-mcp","version":"0.1.0","adapter":"mock"}Call a tool directly:
curl -X POST http://localhost:3000/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_catalog",
"arguments": { "merchant_id": "demoshop", "limit": 3 }
}
}'Connect to Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"merchant-mcp": {
"url": "https://YOUR-VERCEL-URL/mcp"
}
}
}Restart Claude Desktop. The three tools will appear automatically.
Tools Reference
Tool | Description | Key Inputs |
| Browse products from a merchant |
|
| Start a checkout and get a payment URL |
|
| Poll a checkout for completion |
|
Full input/output schemas: see source files in src/tools/.
Building an Adapter
See docs/adapter-spec.md for:
The full
MerchantAdapterTypeScript interface with JSDocAll input/output types
Error contract (what to throw and when)
A minimal 30-line skeleton you can copy and fill in
Roadmap
OpenAI SDK function-calling adapter (expose tools via
/openai/tools)Per-request authentication (
Authorizationheader → buyer context)Multi-merchant routing (single server, many
merchant_ids, each pointing to a different adapter)Visa TAP adapter
Stripe adapter
License
MIT © Autopay Lab
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/autopaylab/merchant-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server