Pinata MCP server for Claude

Pinata MCP server for Claude

pinata-ipfs•bypinatacloud

An MCP server that lets Claude interact with public and private IPFS through Pinata's API.

License: Not specified•Runtime: Awaiting documentation review•Category: file systems-docs

WHAT IT DOES

  • •Uploads files to Pinata on public or private IPFS, using resumable uploads for files over 90 MiB.
  • •Searches files by name, CID, or MIME type, and retrieves, updates, or deletes file records and metadata.
  • •Creates gateway and private download links and fetches content from IPFS through a Pinata gateway.
  • •Pins existing CIDs, supports signed upload URLs, and provides EIP-712 CID signature verification tools.

BEST FOR

  • •Managing Pinata IPFS files and groups conversationally from Claude.
  • •Gating content with x402 payment instructions and creating temporary private download links.
  • •Vectorizing files for AI semantic search over stored content.

ABOUT PINATA-IPFS

Pinata MCP server for Claude is cataloged as an MCP server attributed to pinatacloud. An MCP server that lets Claude interact with public and private IPFS through Pinata's API. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Pinata MCP server for Claude are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What are the directory arguments for?

They define which directories the server may access for file operations; if omitted, only the current working directory is allowed, and multiple directories can be specified.

How does the server read its Pinata credentials?

It reads PINATA_JWT and GATEWAY_URL from the environment and does not load a .env file.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 009b922da52b · 采集于 2026-11-13 08:48:08 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

pinata-mcp

A Model Context Protocol (MCP) server that provides Claude with access to Pinata. This integration allows Claude to interact with Public and Private IPFS through Pinata's API.

Setup

Prerequisites

  • Node.js 20+ installed
  • A Pinata account with an API key (JWT)
  • A Pinata Gateway URL

Installation

Installation will depend on whether you are using Claude Code or Claude Desktop.

Claude Code

Run claude mcp add and follow the prompts with the following information:

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

Claude Desktop

Add the following config to claude_desktop_config.json:

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

Note: The directory arguments are optional. If not provided, the server will only allow access to the current working directory. You can specify multiple directories to allow file access from multiple locations.

Available Tools

Authentication

ToolDescription
testAuthenticationVerify that your Pinata JWT is valid and working

File Operations

ToolDescription
uploadFileUpload a file to Pinata (public or private IPFS). Files over 90 MiB use resumable uploads; waitForCid: false returns once the bytes are stored, before Pinata registers the file
searchFilesSearch files by name, CID, or MIME type
getFileByIdGet detailed file information by ID
updateFileUpdate file metadata (name, key-values)
deleteFileDelete a file from Pinata

Content Access

ToolDescription
createLinkCreate a gateway link for public or private files
createPrivateDownloadLinkGenerate a temporary download link for private files
fetchFromGatewayFetch content from IPFS via Pinata gateway

Group Operations

ToolDescription
listGroupsList groups with optional filtering
createGroupCreate a new group for organizing files
getGroupGet group details by ID
updateGroupUpdate group information
deleteGroupDelete a group
addFileToGroupAdd a file to a group
removeFileFromGroupRemove a file from a group

x402 Payment Instructions

Tools for content monetization using the x402 protocol:

ToolDescription
createPaymentInstructionCreate payment requirements for gated content
listPaymentInstructionsList/filter existing payment instructions
getPaymentInstructionGet details of a specific payment instruction
updatePaymentInstructionModify payment instruction settings
deletePaymentInstructionRemove a payment instruction
listPaymentInstructionCidsList CIDs associated with a payment instruction
addCidToPaymentInstructionAssociate a CID with a payment instruction
removeCidFromPaymentInstructionRemove a CID association

CID Signatures

Tools for cryptographic content verification using EIP-712 signatures:

ToolDescription
addSignatureAdd a cryptographic signature to a CID
getSignatureGet signature details by CID
deleteSignatureRemove a signature

Signed Upload URLs

ToolDescription
createSignedUploadUrlCreate a presigned URL for client-side uploads

Pin by CID

ToolDescription
pinByCidPin an existing CID from the IPFS network
queryPinRequestsQuery the status of pin requests
cancelPinRequestCancel a pending pin request
ToolDescription
vectorizeFileVectorize a file for semantic search
deleteFileVectorsDelete vectors for a file
queryVectorsQuery vectorized files using semantic search

Utilities

ToolDescription
listAllowedDirectoriesList directories the server can access for file operations

Local Development

To test the MCP server locally during development:

1. Clone and install dependencies

git clone https://github.com/PinataCloud/pinata-mcp.git
cd pinata-mcp
npm install

2. Build the project

npm run build

3. Set up environment variables

The server reads PINATA_JWT and GATEWAY_URL from its environment; it does not load a .env file. Pass them in the MCP config (step 4), with -e for the MCP Inspector, or export them in your shell:

export PINATA_JWT=your_pinata_jwt_here
export GATEWAY_URL=your-gateway.mypinata.cloud

4. Configure Claude to use the local build

Claude Code

Run claude mcp add with the local path:

Server Name: pinata-dev
Server Scope: Project
Server Command: node
Command Arguments: /path/to/pinata-mcp/dist/index.js /path/to/allowed/directory
Environment Variables: PINATA_JWT=<YOUR_JWT>,GATEWAY_URL=example.mypinata.cloud

Claude Desktop

Update claude_desktop_config.json to point to your local build:

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

5. Testing changes

After making code changes:

  1. Rebuild: npm run build
  2. Restart Claude Code or Claude Desktop to pick up the changes

Testing with MCP Inspector

Use the MCP Inspector to test the server:

Web UI (interactive debugging)

npx @modelcontextprotocol/inspector \
  -e PINATA_JWT=your_jwt \
  -e GATEWAY_URL=your-gateway.mypinata.cloud \
  -- node dist/index.js

This opens a browser UI where you can interactively list tools, call them with parameters, and inspect responses.

CLI mode (for scripting/CI)

# List all available tools
npx @modelcontextprotocol/inspector --cli --method tools/list \
  -e PINATA_JWT=your_jwt \
  -e GATEWAY_URL=your-gateway.mypinata.cloud \
  -- node dist/index.js

# Call a specific tool
npx @modelcontextprotocol/inspector --cli --method tools/call \
  --tool-name testAuthentication \
  -e PINATA_JWT=your_jwt \
  -e GATEWAY_URL=your-gateway.mypinata.cloud \
  -- node dist/index.js

Releasing

Publishing a GitHub Release publishes the package to npm through the Release workflow (.github/workflows/release.yml).

  1. Bump the version in package.json (and package-lock.json) and push it to main: npm version patch|minor|major --no-git-tag-version.
  2. Create a GitHub Release with the tag v<version> (e.g. v0.3.1) on that commit. The workflow:
    • checks that the tag matches package.json and that the version isn't on npm yet
    • waits for approval of the npm-publish environment, which only main and v* tags can deploy to
    • builds and publishes with trusted publishing and provenance (no npm token). Releases marked as pre-release go to the next dist-tag, everything else to latest.
npm version patch --no-git-tag-version
git commit -am "chore: release 0.3.1" && git push
gh release create v0.3.1 --generate-notes          # add --prerelease for a "next" release

Example Prompts for Claude

Test my Pinata connection:
"Test my Pinata authentication to make sure everything is working"

Upload an image to Pinata:
"Upload this image 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"

Fetch content from IPFS:
"Fetch the content with CID QmX... from IPFS"

Create a payment instruction for content monetization:
"Create a payment instruction called 'Premium Content' that requires 0.01 USDC on Base to access"

Pin an existing CID:
"Pin the CID bafkreih5aznjvttude6c3wbvqeebb6rlx5wkbzyppv7garjiubll2ceym4 to my account"

Vectorize files for AI search:
"Vectorize the file with ID abc123 so I can search it semantically"

Query vectorized content:
"Search my vectorized files in group xyz for 'machine learning concepts'"

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Pinata MCP server for Claude from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/pinata-ipfs)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related file systems-docs MCP Servers

Alternative and complementary servers in the same category

View all in file systems-docs →

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Repository stats unavailable
Files & Documentation
LoreKeeper MCP server
lorekeeper-rpg-lorekeeper-com•lore-keeper

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

Repository stats unavailable
Files & Documentation

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.

Repository stats unavailable
Files & Documentation