Pinata IPFS▌
by pinatacloud
Pinata IPFS enables secure storage, upload, and retrieval of files on decentralized networks with Pinata's IPFS API inte
Integrates with Pinata's IPFS storage services for uploading, searching, organizing, and retrieving files on both public and private decentralized networks using secure API authentication.
Both formats append explainx.ai attribution and the canonical URL for this MCP server listing.
best for
- / Web3 developers building decentralized applications
- / Content creators storing files on IPFS
- / Projects requiring censorship-resistant file storage
- / Applications needing private decentralized storage
capabilities
- / Upload files to IPFS via Pinata
- / Search files by name, CID, or MIME type
- / Create gateway links for file access
- / Update file metadata and key-values
- / Delete files from Pinata storage
- / Manage both public and private IPFS content
what it does
Connects to Pinata's IPFS storage services to upload, manage, and retrieve files on decentralized networks. Supports both public and private IPFS networks with secure API authentication.
about
Pinata IPFS is an official MCP server published by pinatacloud that provides AI assistants with tools and capabilities via the Model Context Protocol. Pinata IPFS enables secure storage, upload, and retrieval of files on decentralized networks with Pinata's IPFS API inte It is categorized under file systems.
how to install
You can install Pinata IPFS in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
license
MIT
Pinata IPFS is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
readme
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)
- 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
| Tool | Description |
|---|---|
testAuthentication | Verify that your Pinata JWT is valid and working |
File Operations
| Tool | Description |
|---|---|
uploadFile | Upload a file to Pinata (public or private IPFS) |
searchFiles | Search files by name, CID, or MIME type |
getFileById | Get detailed file information by ID |
updateFile | Update file metadata (name, key-values) |
deleteFile | Delete a file from Pinata |
Content Access
| Tool | Description |
|---|---|
createLink | Create a gateway link for public or private files |
createPrivateDownloadLink | Generate a temporary download link for private files |
fetchFromGateway | Fetch content from IPFS via Pinata gateway |
Group Operations
| Tool | Description |
|---|---|
listGroups | List groups with optional filtering |
createGroup | Create a new group for organizing files |
getGroup | Get group details by ID |
updateGroup | Update group information |
deleteGroup | Delete a group |
addFileToGroup | Add a file to a group |
removeFileFromGroup | Remove a file from a group |
x402 Payment Instructions
Tools for content monetization using the x402 protocol:
| Tool | Description |
|---|---|
createPaymentInstruction | Create payment requirements for gated content |
listPaymentInstructions | List/filter existing payment instructions |
getPaymentInstruction | Get details of a specific payment instruction |
updatePaymentInstruction | Modify payment instruction settings |
deletePaymentInstruction | Remove a payment instruction |
listPaymentInstructionCids | List CIDs associated with a payment instruction |
addCidToPaymentInstruction | Associate a CID with a payment instruction |
removeCidFromPaymentInstruction | Remove a CID association |
CID Signatures
Tools for cryptographic content verification using EIP-712 signatures:
| Tool | Description |
|---|---|
addSignature | Add a cryptographic signature to a CID |
getSignature | Get signature details by CID |
deleteSignature | Remove a signature |
Signed Upload URLs
| Tool | Description |
|---|---|
createSignedUploadUrl | Create a presigned URL for client-side uploads |
Pin by CID
| Tool | Description |
|---|---|
pinByCid | Pin an existing CID from the IPFS network |
queryPinRequests | Query the status of pin requests |
cancelPinRequest | Cancel a pending pin request |
Vectorize (AI/Semantic Search)
| Tool | Description |
|---|---|
vectorizeFile | Vectorize a file for semantic search |
deleteFileVectors | Delete vectors for a file |
queryVectors | Query vectorized files using semantic search |
Utilities
| Tool | Description |
|---|---|
listAllowedDirectories | List 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
Create a .env file in the project root (optional, you can also pass these in the MCP config):
PINATA_JWT=your_pinata_jwt_here
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:
- Rebuild:
npm run build - 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
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'"
FAQ
- What is the Pinata IPFS MCP server?
- Pinata IPFS is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
- How do MCP servers relate to agent skills?
- Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
- How are reviews shown for Pinata IPFS?
- This profile displays 33 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.8 out of 5—verify behavior in your own environment before production use.
Use Cases▌
Code & Document Analysis
Read, analyze, and understand files in your project
Example
Summarize README, analyze code structure, find TODO comments across codebase
Navigate large codebases 5x faster, understand projects quickly
Automated File Operations
Create, move, rename, and organize files based on natural language instructions
Example
Organize downloads by file type, rename files following convention, batch process images
Save hours on manual file organization
Content Search & Extraction
Search files for patterns, extract data, find information across directories
Example
Find all config files with API keys, extract emails from documents, search logs for errors
Find information instantly instead of manual grep/find
File Generation & Templates
Generate boilerplate files, apply templates, create project structures
Example
Create React component with tests and styles, generate OpenAPI spec, scaffold new project
Eliminate repetitive file creation work
Implementation Guide▌
Prerequisites
- ›Claude Desktop or Cursor with MCP support
- ›File system permissions for directories you want to access
- ›Understanding of file paths and directory structure
- ›Backup of important files before bulk operations
Time Estimate
10-20 minutes including configuration
Installation Steps
- 1.Install filesystem MCP server (often built-in with Claude Desktop)
- 2.Configure allowed directories in MCP config for security
- 3.Test read: 'Show me contents of ~/Documents/test.txt'
- 4.Test write: 'Create a new file notes.md in current directory'
- 5.Test search: 'Find all .js files containing TODO'
- 6.Test batch operations: 'Rename all .jpeg files to .jpg'
- 7.Verify file permissions and access controls
Troubleshooting
- ⚠Permission denied: Check file/directory permissions, run with appropriate user
- ⚠Path not found: Verify path is absolute or relative to working directory
- ⚠MCP server can't access directory: Add to allowed directories in config
- ⚠File already exists: Use overwrite flag or check before writing
- ⚠Operation failed: Check disk space, file locks, antivirus interference
Best Practices▌
✓ Do
- +Configure allowed directories explicitly—don't grant full filesystem access
- +Back up important files before bulk operations
- +Use dry-run mode for risky operations when available
- +Validate file paths before operations
- +Set appropriate file permissions on created files
- +Log file operations for audit trail
- +Test operations on sample files first
✗ Don't
- −Don't grant MCP access to system directories (/etc, /System)
- −Don't allow write access to production config files
- −Don't skip backup before bulk delete/move operations
- −Don't use for sensitive files (passwords, keys) without encryption
- −Don't ignore file permission errors—investigate root cause
- −Don't expose personal documents without considering privacy
💡 Pro Tips
- ★Use .gitignore patterns to exclude sensitive files from AI access
- ★Create sandboxed working directory for file experiments
- ★Combine with version control (git) for easy rollback
- ★Use file watching for real-time monitoring and reactions
- ★Create templates for common file generation tasks
- ★Leverage file metadata (timestamps, size) for smart organization
Technical Details▌
Architecture
MCP server provides file I/O operations (read, write, search, metadata) as tools Claude can invoke with natural language instructions.
Protocols
- Local file system API
- Glob patterns for search
- File streams for large files
Compatibility
- macOS
- Linux
- Windows
- Local files only (no remote filesystems by default)
When to Use This▌
✓ Use When
Use for code analysis, file organization, content search, template generation, and automating repetitive file operations. Best for local development workflows.
✗ Avoid When
Avoid for system-critical files, sensitive credentials, production environments, or when file integrity is paramount. Don't use on files you can't afford to lose.
Integration▌
- →Combine with git for version-controlled file operations
- →Integrate with code editors for seamless workflow
- →Use with backup tools for safety net
- →Pair with file watchers for automated reactions
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
List & Promote Your MCP Server
Share your MCP server with the developer community
Ratings
4.8★★★★★33 reviews- ★★★★★Shikha Mishra· Dec 28, 2024
Useful MCP listing: Pinata IPFS is the kind of server we cite when onboarding engineers to host + tool permissions.
- ★★★★★Ganesh Mohane· Dec 24, 2024
Pinata IPFS has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
- ★★★★★Omar Sethi· Dec 24, 2024
Pinata IPFS is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
- ★★★★★Lucas Bansal· Dec 12, 2024
Pinata IPFS reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
- ★★★★★Yash Thakker· Nov 19, 2024
Pinata IPFS reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
- ★★★★★Omar Yang· Nov 15, 2024
According to our notes, Pinata IPFS benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
- ★★★★★Emma Iyer· Nov 3, 2024
Useful MCP listing: Pinata IPFS is the kind of server we cite when onboarding engineers to host + tool permissions.
- ★★★★★William Srinivasan· Oct 22, 2024
We evaluated Pinata IPFS against two servers with overlapping tools; this profile had the clearer scope statement.
- ★★★★★Dhruvi Jain· Oct 10, 2024
I recommend Pinata IPFS for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
- ★★★★★Chinedu White· Oct 6, 2024
We wired Pinata IPFS into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
showing 1-10 of 33