mcp server
qrcode-pub-mcp
MCP server for QRCode.Pub tools: free QR code images, paid page→Markdown, page metadata and file hosting via x402 (no API key). Stdio bridge to https://qrcode.pub/mcp
Set up
Runs on your computer. Pick your agent and operating system.
Before you start
- Node.js 20 or newer
{
"mcpServers": {
"qrcode-pub-mcp": {
"command": "npx",
"args": [
"-y",
"qrcode-pub-mcp"
]
}
}
}same format Cursor, GitHub Copilot CLI, Junie, JetBrains AI Assistant, Augment (Auggie CLI), Factory Droid, Kiro, Devin CLI +12
Values in angle brackets are placeholders. Restart Claude Desktop after editing its config.Claude Desktop docs
README
synced Oct 26, 2026qrcode-pub-mcp
🤖 Built by the makers of Agent!, an autonomous macOS agent. 🌐 agentiloop.ai
MCP server for QRCode.Pub tools, runnable with one command and no API key:
| Tool | What it does | Price |
|---|---|---|
qr_code | QR code image (PNG or SVG) for any text or link — returned inline plus a stable image URL | free |
page_to_markdown | Fetch a public web page → title, description, clean Markdown, links (deterministic, no model call) | $0.01 USDC via x402 |
page_metadata | Page metadata: title, description, canonical, language, OpenGraph/Twitter cards, icons, JSON-LD | $0.005 USDC via x402 |
host_file | Upload a file (≤ 5 MB: png, jpeg, webp, gif, pdf, json, txt, md, csv) → public URL https://qrcode.pub/f/<id> for 30 days | $0.01 USDC via x402 |
This package is a dependency-free stdio bridge (Node 18+, ~60 lines) to the hosted Streamable-HTTP server at https://qrcode.pub/mcp. Clients that speak Streamable HTTP natively can skip the bridge and use that URL directly.
Install
npx -y github:AgentiLoop/qrcode-pub-mcp # runs the stdio bridge
Claude Code
claude mcp add qrcode-pub -- npx -y github:AgentiLoop/qrcode-pub-mcp
# or, no bridge:
claude mcp add --transport http qrcode-pub https://qrcode.pub/mcp
Claude Desktop / Cursor / Windsurf / Cline (stdio)
{
"mcpServers": {
"qrcode-pub": {
"command": "npx",
"args": ["-y", "github:AgentiLoop/qrcode-pub-mcp"]
}
}
}
Cursor / VS Code / any Streamable-HTTP client (no bridge)
{
"mcpServers": {
"qrcode-pub": { "type": "http", "url": "https://qrcode.pub/mcp" }
}
}
Verify
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | npx -y github:AgentiLoop/qrcode-pub-mcp
Paid tools and x402
The three paid tools cost cents, paid in USDC with the open x402 protocol (v2, scheme exact) on Base (eip155:8453) or Solana mainnet. No account, no key, no subscription:
- Call the tool without
payment→ the result isisError: truewithstructuredContent.paymentRequired(the full x402acceptslist: network, asset, amount,payTo). - Sign one entry with any x402 client (e.g.
@x402/fetch,x402-axios, or the agent's own wallet) and call the tool again with the base64 payment payload aspayment. - The server verifies and settles through the facilitator and returns the result; a 4xx answer is never charged.
The same endpoints are plain HTTP for agents that prefer fetch + x402 middleware: GET /x402/extract?url=…, GET /x402/meta?url=…, POST /x402/store. Catalog: https://qrcode.pub/x402, OpenAPI: https://qrcode.pub/openapi.json.
Environment
| Variable | Default | Purpose |
|---|---|---|
QRCODE_PUB_MCP_URL | https://qrcode.pub/mcp | remote endpoint |
QRCODE_PUB_MCP_TIMEOUT_MS | 60000 | per-request timeout |
Links
- Docs: https://qrcode.pub/qr-code-api?ref=github-mcp#mcp
- Official MCP registry entry:
pub.qrcode/tools - Free QR image API (no MCP needed):
https://qrcode.pub/api/qr?data=https://example.com&size=300 - Agent skills for the same tools: https://github.com/AgentiLoop/skills
License
MIT — the bridge is open source; the hosted service terms are at https://qrcode.pub/.