blinkcodes-agent-interfaces
Remote MCP server for the BlinkCodes store: search a catalog of ~1000 gift cards, service top-ups and travel eSIMs, read a product's denominations and order requirements, and buy using USDC on Base over x402, no account and no browser. Hosted at https://blinkcodes.com/mcp this repository holds the schemas, docs and a stdio bridge image for clients that cannot open a remote connection.
README
BlinkCodes agent interfaces
Machine-readable interfaces for blinkcodes.com — a store selling gift card codes, service top-ups and travel eSIMs, with delivery by email in seconds.
Everything here is a remote, hosted service. There is nothing to install and no server to run: point your client at the URLs below. This repository exists to document those endpoints, pin their schemas, and give working examples.
| Interface | Endpoint | Spec |
|---|---|---|
| MCP (catalog + buy) | https://blinkcodes.com/mcp |
Streamable HTTP, protocol 2025-06-18 |
| A2A | https://blinkcodes.com/a2a |
JSON-RPC, protocol 0.3 |
| x402 (pay per call) | https://blinkcodes.com/api/v1/buy |
x402 v2 (v1 on request), USDC on Base |
| OpenAPI | https://blinkcodes.com/openapi.json |
includes x-payment-info (MPP) |
| Plain-language docs for agents | https://blinkcodes.com/llms.txt |
Discovery documents: /.well-known/agent-card.json,
/.well-known/mcp/server-card.json,
/.well-known/api-catalog,
/.well-known/agent-skills/index.json,
/.well-known/acp.json,
/.well-known/ucp.
MCP server
Published to the Official MCP Registry
as com.blinkcodes/catalog (server.json).
Three tools. The two catalog tools are read-only and free — no key, no account, no payment. The third takes money, and only over x402:
| Tool | Purpose |
|---|---|
search_catalog |
Search gift cards, top-ups and eSIM plans. Returns price, availability and product URL. |
get_product |
One product by id: denominations with prices, required order inputs, countries where the code cannot be redeemed. |
buy_product |
Buy and receive the delivery. Two calls: arguments in → x402 payment requirements out; signed payload in → the code out. |
buy_product runs the same rail as POST /api/v1/buy below — verify, reserve,
settle, fulfil, in that order — so an agent that found the store through MCP
never has to change protocol to complete the purchase. Nothing is charged by the
first call, and no wallet is needed to use the other two tools.
Add it to a client that speaks remote MCP:
{
"mcpServers": {
"blinkcodes": {
"type": "http",
"url": "https://blinkcodes.com/mcp"
}
}
}
Full tool schemas and a curl transcript: docs/mcp.md.
A stdio-only client can use the bridge in Dockerfile, which
proxies to the same hosted endpoint:
docker build -t blinkcodes-mcp . && docker run -i --rm blinkcodes-mcp
Prefer the direct URL above wherever your client speaks remote MCP — the bridge adds a hop and buys nothing.
Buying, for agents
Payment is USDC on Base over x402. One endpoint, two passes:
POST /api/v1/buywith the order body → 402 carrying payment requirements priced for that exact item, plus anorderblock (id, access token, status URL).- The identical request with a
PAYMENT-SIGNATUREheader → 200 with the code, or 202 +status_urlif fulfilment outlives the sync window.
// the body, in both passes
{
"email": "buyer@example.com",
"product_type": "giftcard", // giftcard | topup | esim | phone_rental
"product_id": 187,
"item_id": 1195,
"quantity": 1
}
- Network
eip155:8453, asset0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913(USDC). - x402 v2 by default; v1 clients send
X-PAYMENT, or ask for a v1 quote withX-PAYMENT-VERSION: 1. GET /api/v1describes the rail for free.- Calling
/api/v1/buywith nothing named answers 402 quoting the rail's floor and creates no order — that is the probe form, safe for crawlers.
Worked example: examples/x402-buy.mjs. Rails, floors and
payable coin pairs: GET /api/public/payment-methods.
A2A
Agent card at /.well-known/agent-card.json,
JSON-RPC message/send at https://blinkcodes.com/a2a. Skills are the two catalog
tools plus buy_product, which over this transport carries the
a2a-x402 payments extension
(https://github.com/google-a2a/a2a-x402/v0.1, declared required: false because
the catalog skills are free).
Quote → Task in input-required with x402.payment.required; pay → same
taskId with x402.payment.payload → Task completed plus the delivery as an
artifact. See examples/a2a.sh.
Human docs
Store, prices and terms: https://blinkcodes.com. Support: support@blinkcodes.com.
License
MIT — applies to the documentation and examples in this repository. The service itself is governed by the terms published on the site.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。