Skip to main content
Glama

Pinata MCP

Official
by PinataCloud

ピニャータ-MCP

Claude に Pinata へのアクセスを提供する Model Context Protocol (MCP) サーバー。この統合により、Claude は Pinata の API を介してパブリックおよびプライベート IPFS とやり取りできるようになります。

設定

前提条件

  • Node.js 18以上がインストールされている
  • API キー (JWT) を持つ Pinata アカウント

インストール

インストールは、Claude Code を使用するか、Claude Desktop を使用するかによって異なります。

クロード・コード

claude mcp addを実行し、プロンプトに従って次の情報を入力します。

Server Name: pinata Server Scope: Project or Global Server Command: npx Command Arguments: pinata-mcp /path/to/allowed/directories /another/path/to/allowed/directories Environment Variables: PINATA_JWT=<YOUR_JWT>,GATEWAY_URL=example.mypinata.cloud

クロードデスクトップ

claude_desktop_config.jsonに次の設定を追加します。

{ "mcpServers": { "pinata": { "command": "npx", "args": [ "pinata-mcp", "/path/to/allowed/directory" ], "env": { "PINATA_JWT": "<YOUR_JWT>", "GATEWAY_URL": "example.mypinata.cloud" } } } }

使用法

MCPの使用を開始するには、 claudeコマンドでClaude Codeを起動するか、Claude Desktopを起動します。以下の操作が可能です。

ファイル操作

  • Pinata(パブリックまたはプライベートIPFS)にファイルをアップロードする
  • 名前、CID、またはMIMEタイプでファイルを検索する
  • IDでファイルの詳細を取得する
  • 名前やキー値を含むファイルのメタデータを更新する
  • Pinataからファイルを削除する

グループオペレーション

  • オプションのフィルタリング機能を備えたグループの一覧
  • ファイルを整理するためのグループを作成する
  • IDでグループの詳細を取得する
  • グループ情報を更新する
  • グループを削除する
  • グループへのファイルの追加/削除

コンテンツアクセス

  • プライベートファイルにアクセスするためのプライベートダウンロードリンクを作成する
  • IPFSゲートウェイからコンテンツを取得し、オプションでローカルに保存する

クロードの例題

Claude に pinata-mcp を使用するように指示する方法の例をいくつか示します。

Upload an image to Pinata: "Please upload the file at ~/Pictures/example.jpg to my Pinata account as a private file named 'My Example Image'" Search for files: "Search my Pinata account for all PNG files" Create a group and add files: "Create a new group called 'Project Assets' on Pinata, then find all my JSON files and add them to this group" Download content from IPFS: "Fetch the content with CID QmX... from IPFS and save it to my Downloads folder"

質問

何か問題が発生した場合は、メールでお知らせください。

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Claude に Pinata の API へのアクセスを提供し、ファイルのアップロード、検索、整理、コンテンツの取得のためにパブリック IPFS とプライベート IPFS の両方と対話できるようにします。

  1. 設定
    1. 前提条件
    2. インストール
  2. 使用法
    1. ファイル操作
    2. グループオペレーション
    3. コンテンツアクセス
  3. クロードの例題
    1. 質問

      Related MCP Servers

      • A
        security
        F
        license
        A
        quality
        Integrates local Zotero libraries with Claude's Desktop interface, allowing users to access and manage their library collections via a local API.
        Last updated -
        6
        12
        Python
      • A
        security
        A
        license
        A
        quality
        This server provides tools for uploading images and videos directly to Cloudinary using Claude/Cline, facilitating resource management with customizable options like resource type and public ID.
        Last updated -
        1
        71
        4
        JavaScript
        MIT License
        • Apple
      • A
        security
        A
        license
        A
        quality
        This server facilitates interaction with Keboola's Storage API, enabling users to browse and manage project buckets, tables, and components efficiently through Claude Desktop.
        Last updated -
        7
        65
        Python
        MIT License
        • Apple
      • -
        security
        A
        license
        -
        quality
        Provides tools for managing IP assets and licenses, interacting with the Story Python SDK, and handling operations like minting tokens, registering IP, and uploading metadata to IPFS.
        Last updated -
        11
        Python
        MIT License
        • Apple

      View all related MCP servers

      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/PinataCloud/pinata-mcp'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server