barcode-generator
Barcode Generator API
生成条形码 —— EAN-13、UPC-A、Code128、Code39。Base64 SVG 输出,可自定义宽度和高度。通过 x402 按次付费(Base L2 上的 USDC)—— 无需 API 密钥、无需注册、无速率限制。
隶属于 klymax402 市场 —— 面向 AI 智能体的 100 个 x402 微支付 API,一个钱包,USDC on Base。
快速入门 —— MCP
在你的 MCP 客户端配置中添加以下内容(Claude Desktop、Cursor、ElizaOS 等):
{
"mcpServers": {
"barcode-generator": {
"url": "https://barcode-generator.api.klymax402.com/mcp"
}
}
}Related MCP server: QR Code Generator
快速入门 —— HTTP(x402)
curl -X POST "https://barcode-generator.api.klymax402.com/api/barcode" \
-H "Content-Type: application/json" \
-d '{"data":"..."}'
# -> 402 Payment Required, with an x402 payment challenge in the response body任何兼容 x402 的客户端(@x402/fetch、x402-agent-tools、ATXP)都会自动处理“402 -> 签名 -> 重试”的完整循环。
工具
工具 | 方法 | 路径 | 价格 | 说明 |
| POST |
| $0.003 | 从文本或数字生成条形码 |
utility_generate_barcode
当你需要从文本或数字生成条形码时,请使用此工具。它返回 JSON 中 Base64 编码的 SVG 图像。
参数
名称 | 类型 | 必填 | 描述 |
| string | 是 | 要在条形码中编码的数据 |
| string | 否 | 条形码格式:code128、code39、ean13、upca(默认:code128) |
| number | 否 | 条宽(单位:像素)(默认:2) |
| number | 否 | 条形码高度(单位:像素)(默认:100) |
示例响应:
{"data":"5901234123457","format":"ean13","image":"PHN2ZyB4bWxu...","width":264,"height":142}** 适用场景**:产品标签、库存管理、发货标签、零售 POS 系统,以及资产跟踪条形码。
** 不适用场景**:二维码(使用 utility_generate_qr_code)、图像缩放(使用 media_resize_image)、PDF 生成(使用 document_generate_pdf)。
示例智能体提示词
“从文本或数字生成一个条形码”
支付
协议:x402 —— HTTP 原生按次付费,无需注册、无需 API 密钥
网络:Base L2(
eip155:8453)资产:USDC
服务商:Coinbase CDP(主要)、PayAI(备用)
也可通过 ATXP 访问(OAuth 封装的 x402,RFC 9728 受保护资源元数据)
属于 klymax402
面向 AI 智能体的 100 个 x402 微支付 API —— 一个钱包、Base 上的 USDC、零注册。
完整 API 参考:https://klymax402.com/llms-full.txt
许可证
MIT
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.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to generate QR codes for URLs, WiFi, contacts, and more with structured parameters.3,1594MIT
- AlicenseNot gradedqualityBmaintenanceMCP server to generate QR codes from text or URLs, returning base64 PNG images, with pay-per-call via x402 micropayments (USDC on Base L2).MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to query the largest CC0 database for provenance, license verification, and market data, and generate CC0 images, all via pay-per-call x402 micropayments.
- AlicenseNot gradedqualityCmaintenanceEnables coding agents to generate AI images directly through MCP tools, handling payment via the x402 protocol with USDC on Base and no API keys.MIT
Related MCP Connectors
63 pay-per-call tools for agents: vision, text, data, web, blockchain. USDC on Base via x402.
x402-paid agent tools: 18 over HTTP, 14 over stdio. USDC per call, no API key.
30 pay-per-call APIs for AI agents: compliance, trade, safety, web, data. USDC on Base via x402.
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/Br0ski777/barcode-generator-x402'
If you have feedback or need assistance with the MCP directory API, please join our Discord server