base64-codec
Base64 Codec API
将文本编码为 base64,或将 base64 解码为文本。支持标准与 URL 安全变体,并附带元数据。通过 x402 按调用付费(USDC on Base L2)——无需 API 密钥、无需注册,也无速率限制。
属于 klymax402 市场的一部分——为 AI 智能体提供 100 个 x402 微支付 API:一个钱包,USDC on Base。
快速入门 -- MCP
将以下内容添加到 MCP 客户端配置中(Claude Desktop、Cursor、ElizaOS 等):
{
"mcpServers": {
"base64-codec": {
"url": "https://base64-codec.api.klymax402.com/mcp"
}
}
}Related MCP server: x402tools MCP Server
快速入门 -- HTTP (x402)
curl -X POST "https://base64-codec.api.klymax402.com/api/encode" \
-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 | 编码或解码 base64 数据 |
utility_encode_base64
当需要将文本编码为 base64,或将 base64 解码回文本时,请使用此工具。返回结果字符串及编码元数据。
参数
名称 | 类型 | 必填 | 说明 |
| string | 是 | 要编码或解码的数据 |
| string | 否 | 操作:'encode' 或 'decode'(默认:encode) |
示例响应:
{"result":"SGVsbG8gV29ybGQ=","action":"encode","inputLength":11,"outputLength":16,"urlSafe":false}适用时机:在 JSON 中嵌套二进制数据、准备电子邮件附件(MIME),或解码来自 API base64 令牌时。在通过仅支持 ASCII 的渠道发送数据之前,请使用此工具。
不适用于:哈希(使用 crypto_generate_hash)、JWT 解码(使用 security_decode_jwt)、URL 别名生成(使用 text_generate_slug)。
示例智能体提示词
"将文本编码为 base64,或将 base64 解码回纯文本"
支付
协议:x402 -- 原生 HTTP 按调用计费,无需注册,无需 API 密钥
网络:Base L2 (eip155:8453)
资产:USDC
服务商:Coinbase CDP(主要)、PayAI(备用)
也可通过 ATXP 访问(OAuth 包装的 x402,RFC 9728 受保护资源元数据)
属于 klymax402
为 AI 智能体提供 100 个 x402 微支付 API -- 一个钱包,USDC on Base,零注册门槛。
完整 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
FlicenseNot gradedqualityFmaintenanceProvides 20+ AI agent capabilities like web scraping, PDF parsing, OCR, and more, with pay-per-use micropayments via x402.1- AlicenseAqualityCmaintenanceProvides AI agents with 10 pay-per-call utility tools (QR generation, DNS lookup, OCR, etc.) using USDC on Base via the x402 protocol, with agent's private key never leaving the agent.11107MIT

token4u-mcpofficial
AlicenseAqualityBmaintenanceEnables AI agents to call LLM APIs via x402 micropayments in USDC on Base network, manage a local wallet, and query consumption records.311MIT- FlicenseNot gradedqualityBmaintenanceProvides coding agents with 19 pay-per-call developer utilities, npm supply-chain security checks, and Base blockchain lookups, paid via USDC on Base using x402. No API key needed—payment acts as authentication.
Related MCP Connectors
63 pay-per-call tools for agents: vision, text, data, web, blockchain. USDC on Base via x402.
Pay-per-call web scraping for AI agents via x402 on Base USDC. Six tools, no signup.
Pay for HTTP APIs and charge for your own: x402 micropayments in USDC on Base.
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/base64-codec-x402'
If you have feedback or need assistance with the MCP directory API, please join our Discord server