MCP IPFS Server
by alexbakers
A Node.js server implementing the Model Context Protocol (MCP) for interacting with the storacha.network platform. It empowers language models and other MCP clients to manage storacha.network spaces and perform various tasks by wrapping `w3` commands.
Last updated: N/A
What is MCP IPFS Server?
This server is a Node.js application that acts as a bridge between MCP clients and the storacha.network platform. It leverages the @web3-storage/w3cli
command-line interface to provide a set of MCP tools for managing storage spaces, uploading/downloading data, and handling delegations on storacha.network.
How to use MCP IPFS Server?
To use this server, you need to install Node.js (version 22.0.0 or higher) and the @web3-storage/w3cli
globally. Configure the w3
CLI with your storacha.network account using w3 login
. Then, configure your MCP client to connect to the server, providing the necessary environment variables (e.g., W3_LOGIN_EMAIL
). You can run the server directly using node dist/index.js
or deploy it using Docker.
Key features of MCP IPFS Server
Wraps the
w3
CLI for native integration with storacha.networkProvides MCP tools for authentication, space management, and data management
Supports delegations and proofs for secure data sharing
Offers advanced storage management capabilities (Blob, CAR, Upload, Index, Access Claim, Filecoin Info)
Includes tools for account and billing management
Use cases of MCP IPFS Server
Integrating language models with decentralized storage on storacha.network
Building applications that require secure and verifiable data storage
Automating storage management tasks on storacha.network
Creating decentralized workflows that leverage IPFS and Filecoin
FAQ from MCP IPFS Server
What is MCP?
What is MCP?
MCP stands for Model Context Protocol. It's a protocol for interacting with various services, in this case, storacha.network.
What is storacha.network?
What is storacha.network?
storacha.network is a decentralized storage platform built on IPFS and Filecoin.
Do I need a storacha.network account to use this server?
Do I need a storacha.network account to use this server?
Yes, you need a storacha.network account and the w3
CLI configured with your account.
What is the purpose of the W3_LOGIN_EMAIL
environment variable?
What is the purpose of the W3_LOGIN_EMAIL
environment variable?
The W3_LOGIN_EMAIL
environment variable is required by the w3_login
tool to authenticate with storacha.network. It should be set to the same email used for w3 login
.
Can I use this server with Docker?
Can I use this server with Docker?
Yes, you can use this server with Docker. The README provides instructions on how to build and run the server in a Docker container.