Skip to main content
Glama
Br0ski777

base64-codec

by Br0ski777

Base64 Codec API

![MCP Server](https://img.shields.io/badge/MCP-sserver-blue x402 ![License: MIT](https://img.shields.io/badge/license-MIT-green

テキストをbase64にエンコードするか、base64をテキストにデコードします。標準的なURL-safeなバリアントを、メタデータ付きでサポートしています。x402 による従量課金(Base L2上のUSDC)で、APIキー不要、サインアップ不要、レート制限なし。

klymax402 マーケットプレースの一部 -- AIエージェント向けの100のx402ペイメントAPI、1つのウォレット、Base上のUSDC。

クイックスタート -- 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/fetchx402-agent-tools、ATXP)は、402を自動的に処理します。

ツール

ツール

メソッド

パス

価格

説明

utility_encode_base64

POST

/api/encode

$0.003

エンコードまたはデコード

utility_encode_base64

テキストをbase64にエンコードするか、base64を平文にデコードするときに使用します。エンコード特性をメタデータとして返します。

パラメータ

名前

必須

説明

データ

string

yes

エンコード対象データ

アクション

string

no

アクション: エンコード

レスポンズ例:

{"result":"SGVsbG8gV29ybGQ=","action":"encode","inputLength":11,"outputLength":16,"urlSafe":false}

使うべき場面: JSONにバイ減されて、ファイルアッ画像のエンコード、またはAPIのベース64トーンのデコードに使用してください。

使うべきでない場面: ハッシュ化(crypto_...)、JWTデンコード(securit_y_...)、URLのスラッグ生成(text_generate_slug)には使用しないでください。

エージェント用プロンプト例

  • エンエンコードとデンコードを実行する。

支払い

  • プロトコル: x402

  • ネットワーク: Base L2

  • アセット: USDC

  • エス:なし

  • URL: https://x402.org

klymax402の一部

AIエージェント向けのマイクロペイメントAPIをまとめています。

ライセンス

MIT

A
license - permissive license
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

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.

View all MCP Connectors

Latest Blog Posts

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