Skip to main content
Glama

Pinata MCP

Official
by PinataCloud

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 18+ installed
  • A Pinata account with an API key (JWT)

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/directories /another/path/to/allowed/directories 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" ], "env": { "PINATA_JWT": "<YOUR_JWT>", "GATEWAY_URL": "example.mypinata.cloud" } } } }

Usage

To start using the MCP start up Claude Code with the command claude or start Claude Desktop. Below are the available operations:

File Operations

  • Upload files to Pinata (public or private IPFS)
  • Search files by name, CID, or mime type
  • Get file details by ID
  • Update file metadata including name and key-values
  • Delete files from Pinata

Group Operations

  • List groups with optional filtering
  • Create groups for organizing files
  • Get group details by ID
  • Update group information
  • Delete groups
  • Add/remove files to/from groups

Content Access

  • Create private download links for accessing private files
  • Fetch content from IPFS gateway and optionally save locally

Example Prompts for Claude

Here are some examples of how to instruct Claude to use 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"

Questions

Send us an email with any issues you may encounter!

-
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.

Provides Claude with access to Pinata's API, allowing it to interact with both Public and Private IPFS for file uploading, searching, organization, and content retrieval.

  1. Setup
    1. Prerequisites
    2. Installation
  2. Usage
    1. File Operations
    2. Group Operations
    3. Content Access
  3. Example Prompts for Claude
    1. Questions

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        Enables Claude to interact with FTP servers through natural language commands, allowing users to list directories, download/upload files, create directories, and delete files/directories on FTP servers.
        Last updated -
        6
        8
        JavaScript
        MIT License
        • Linux
        • Apple
      • A
        security
        F
        license
        A
        quality
        Connects Claude with Spotify, allowing users to control playback, search for content, get music information, and manage the Spotify queue.
        Last updated -
        8
        1
        Python
        • Apple
      • -
        security
        F
        license
        -
        quality
        Connects Claude with Spotify, enabling playback control, search functionality, and queue management through Spotify's API.
        Last updated -
        Python
        • Apple
      • -
        security
        A
        license
        -
        quality
        Enables Claude to interact with Webflow's APIs, allowing access to site information, collections, and other Webflow resources.
        Last updated -
        865
        TypeScript
        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