blinkcodes-agent-interfaces
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) |
| Streamable HTTP, protocol |
A2A |
| JSON-RPC, protocol |
x402 (pay per call) |
| x402 v2 (v1 on request), USDC on Base |
OpenAPI |
| includes |
Plain-language docs for agents |
|
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 gift cards, top-ups and eSIM plans. Returns price, availability and product URL. |
| One product by id: denominations with prices, required order inputs, countries where the code cannot be redeemed. |
| 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-mcpPrefer the direct URL above wherever your client speaks remote MCP — the bridge adds a hop and buys nothing.
Related MCP server: the402-mcp-server
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.
This server cannot be installed
Maintenance
Related MCP Servers
- AlicenseAqualityDmaintenanceThis MCP wraps Bitrefill public API to allow agents to search for products and shop using cryptocurrencies like Bitcoin, Ethereum, Solana, and many more.362MIT
- AlicenseAqualityFmaintenanceMCP server for the402.ai — an open marketplace where AI agents discover and purchase services from third-party providers via x402 micropayments (USDC on Base). Browse the catalog, purchase services, manage conversation threads, and list services as a provider.30782MIT
- AlicenseNot gradedqualityFmaintenanceLocal stdio MCP server for x402-powered paid crypto intelligence, decision verification, and agent automation search over USDC micropayments on Base.275MIT
- FlicenseAqualityBmaintenanceMCP server for a live x402 payment gateway on Base (USDC). Lets AI agents discover, preview for free, then pay per call — with prepaid gasless payments, signed receipts, and delta delivery.7
Related MCP Connectors
Agent-commerce MCP server for x402/USDC payments and affiliate splits on Base.
Monetize any MCP server: x402 paywall, pay-per-call billing in USDC on Base, agent marketplace.
A paid remote MCP for Skybridge, built to return verdicts, receipts, usage logs, and audit-ready JSO
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/delneg/blinkcodes-agent-interfaces'
If you have feedback or need assistance with the MCP directory API, please join our Discord server