MCP Catalogs
Homemcp-ipfs screenshot

mcp-ipfs

by alexbakers·16·Score 35

An MCP server that wraps the w3 CLI to enable language models to interact with IPFS via storacha.network.

cloud-storagedeveloper-toolsfile-system
12
Forks
3
Open issues
13 mo ago
Last commit
2d ago
Indexed

Overview

This MCP server implements the Model Context Protocol to provide access to IPFS functionality through the storacha.network platform. It wraps the w3 CLI, exposing various tools for space management, data operations, delegations, and account management. The server is written in TypeScript with a well-organized codebase that includes proper schemas for tool arguments and implementations for each MCP tool.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Enable AI assistants to manage IPFS spaces and upload files
you:Allow language models to generate and share w3s links
you:Provide AI with capabilities to manage Web3 storage delegations and proofs
you:Why do I need to provide absolute paths for some commands?
you:Can I use this server with Docker?

When to choose this

Choose this MCP server when working with IPFS through storacha.network and need AI integration for decentralized content management, especially if you're already using the w3 CLI.

When NOT to choose this

Avoid this if you need direct IPFS access without the storacha.network abstraction, or if you require filesystem path handling in containerized environments which can be complex.

Tools this server exposes

12 tools extracted from the README
  • w3_login

    Authenticate with storacha.network using the email specified in W3_LOGIN_EMAIL

  • w3_space_ls

    List all available spaces in the current storacha network account

  • w3_space_use

    Set the current active space for subsequent operations

  • w3_space_info

    Retrieve information about a specific space

  • w3_up

    Upload files or directories to the current space

  • w3_ls

    List the contents of the current space

  • w3_open

    Generate a w3s.link URL for accessing content in the current space

  • w3_delegation_create

    Create a delegation to grant access to specific space content

  • w3_key_create

    Create a new key for access to storacha network services

  • w3_plan_get

    Retrieve information about the current account plan

  • w3_usage_report

    Generate a usage report for the current account

  • w3_rm

    Remove files from the current space

Comparable tools

ipfs-http-client-mcpweb3-storage-mcpshell-mcp

Installation

Installation

  1. Install prerequisites:

- Node.js 22.0.0 or higher - w3 CLI: npm install -g @web3-storage/w3cli - Configure w3: w3 login <your-email@example.com>

  1. Set environment variable:

export W3_LOGIN_EMAIL="your-email@example.com"

  1. Configure your MCP client:
{
  "mcpServers": {
    "ipfs": {
      "command": "npx",
      "args": ["-y", "mcp-ipfs"],
      "env": {
        "W3_LOGIN_EMAIL": "your-email@example.com"
      }
    }
  }
}

FAQ

Why do I need to provide absolute paths for some commands?
Several w3 commands require absolute filesystem paths for proper operation, especially when working with files for upload or delegation creation.
Can I use this server with Docker?
Yes, the project provides a Docker image (alexbakers/mcp-ipfs) and includes Docker usage instructions in the README.

Compare mcp-ipfs with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.