Skip to main content
Glama

Pinata MCP

Official
by PinataCloud

皮纳塔-MCP

一个模型上下文协议 (MCP) 服务器,为 Claude 提供访问 Pinata 的权限。此集成允许 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 进行交互,以进行文件上传、搜索、组织和内容检索。

  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