Storacha MCP存储服务器 logo

Storacha MCP存储服务器

Organization
storacha

Storacha MCP storage server - self-sovereign data for your AI applications.

Publisherstoracha
Repositorymcp-storage-server
LanguageTypeScript
Forks
8
Stars
13
Available tools
0
Transport typestdio, streamable-http
Categories
LicenseApache-2.0
Links
  • Connect tools to AI workflows

    Storacha MCP存储服务器 exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    13 stars and 8 forks from the linked repository.

Storacha MCP Storage Server

A Model Context Protocol (MCP) server implementation for Storacha hot storage, allowing AI applications to store and retrieve files through a standardized interface. It enables trustless, decentralized data exchange using IPFS and CIDs, ensuring data sovereignty, verifiability, and seamless integration with agent frameworks & AI systems.

Free Storage Options to Start 🚀

Jump-start your decentralized storage journey today!

  • GitHub Users: Sign up with your GitHub account and instantly receive 100MB of free storage — no credit card required!
  • Email Users: Register with your email and add a credit card to unlock 5GB of free storage space.

Use Cases

  • Document Storage & Analysis: Securely upload and retrieve Blob documents.
  • Long-term Structured Data Storage: Maintain structured data storage optimized for longevity and accessibility.
  • Data Sharing Between Agents and Systems: Easily share data across multiple agents and diverse systems using CIDs (Content Identifiers), enabling decentralized, verifiable, and efficient data exchange.
  • Application Integration: Seamlessly integrate Storacha storage retrieval into applications via the Model Context Protocol.
  • AI Model Development: Support AI models by providing reliable versioning and access to external datasets stored in Storacha.
  • LLM Integration: Enhance large language models (LLMs) by connecting directly with Storacha Storage for seamless data access.
  • Web Application Backups: Reliably store backup copies of web applications for disaster recovery.
  • Machine Learning Datasets: Efficiently manage and access large datasets used in machine learning workflows.

Quick Installation Guide

Get started with the Storacha MCP Storage Server in just a few simple steps.

  1. Clone the Repository

    bash
    git clone https://github.com/storacha/mcp-storage-server.git && cd mcp-storage-server
  2. Install Dependencies

    bash
    pnpm install
  3. Generate Keys & Delegation

    • Install the CLI

      bash
      npm install -g @web3-storage/w3cli
    • Login to Storacha

      bash
      w3 login

      Output:

      ? How do you want to login?
        Via Email
      ❯ Via GitHub

      Select Via GitHub and authenticate with your GitHub account.

    • Create a Space

      bash
      w3 space create <your_space_name>

      Replace <your_space_name> with a name for your new Space. :warning: Make sure you save the recovery key, so you can access your space from another device if needed.

    • Create a Private Key

      bash
      w3 key create

      Output:

      txt
      AgentId: did:key:z6MkhMZRW2aoJ6BQwkpMSJu68Jgqkz1FTpr1p69cpnN43YWG
      PrivateKey: LMgCYLkvOc8Sm0mOL4cWFLxsWP0ZPEYrLxcQqsV93/s5RLje0BKx05muAse1Hkvh+sxUW38OcHtpiN1zxfpTJ4ht4jxV0=
    • Set the Agent ID & Create Delegation

      bash
      w3 delegation create <agent_id> \
       --can 'store/add' \
       --can 'filecoin/offer' \
       --can 'upload/add' \
       --can 'space/blob/add' \
       --can 'space/index/add' --base64

      Replace <agent_id> with the AgentId from the previous step. It grants the Agent the permission to store files into the recently created space.

  4. Configure the MCP Client

    Next, configure your MCP client (such as Cursor) to use this server. Most MCP clients store the configuration as JSON in the following format:

    jsonc
    {
      "mcpServers": {
        "storacha-storage-server": {
          "command": "node",
          "args": ["./dist/index.js"],
          "env": {
            // The server supports `stdio`, `sse`, and `rest` modes, the default is `stdio`.
            "MCP_TRANSPORT_MODE": "stdio",
            // The Storacha Agent private key that is authorized to store data into the Space.
            "PRIVATE_KEY": "<agent_private_key>",
            // The base64 encoded delegation that proves the Agent is allowed to store data. If not set, MUST be provided for each upload request.
            "DELEGATION": "<base64_delegation>",
          },
          "shell": true,
          "cwd": "./",
        },
      },
    }

    Replace <agent_private_key> with the PrivateKey you created in step 3. Then, replace the <base64_delegation> with the delegation you created in step 3.

    REST Mode and Cloud Hosting

    The Storacha MCP Storage Server supports REST transport mode, which is compatible with MCP.so cloud hosting. To use REST mode:

    jsonc
    {
      "mcpServers": {
        "storacha-storage-server-rest": {
          "url": "http://localhost:3001/rest",
        },
      },
    }

    For more information on deploying to MCP.so cloud, see the integrations.md guide.

    :warning: There are several ways to configure MCP clients, please read the integrations.md guide for more information.

Tools

The Storacha MCP Storage Server provides the following tools for AI systems to interact with a decentralized storage network.

Storage Operations

upload

Upload a file to the Storacha Network. The file must be provided as a base64 encoded string with a filename that includes the extension for MIME type detection.

typescript
interface UploadParams {
  // Base64 encoded file content
  file: string;
  // Filename with extension for MIME type detection
  name: string;
  // Optional: Whether to publish to Filecoin (default: false)
  publishToFilecoin?: boolean;
  // Optional: Custom delegation proof
  delegation?: string;
  // Optional: Custom gateway URL
  gatewayUrl?: string;
}

retrieve

Retrieve a file from the Storacha Network. Supported filepath formats: CID/filename, /ipfs/CID/filename, or ipfs://CID/filename.

typescript
interface RetrieveParams {
  // Path in format: CID/filename, /ipfs/CID/filename, or ipfs://CID/filename
  filepath: string;
  // Optional: Whether to use multiformat base64 encoding
  useMultiformatBase64?: boolean;
}

identity

Returns the DIDKey of the Storacha Agent loaded from the private key storage configuration.

typescript
interface IdentityParams {
  // No parameters required
}

See the integrations.md guide for detailed code examples and different integration patterns (SDK, Docker, etc).

License

MIT or Apache 2 License

Support

For support, please visit Storacha Support or open an issue in this repository.

Certifications

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "storacha-mcp-storage-server": {
      "command": "",
      "args": []
    }
  }
}

Use Storacha MCP存储服务器 MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Storacha MCP存储服务器 is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. You can run MCP locally on your device or connect to a remote MCP server URL.

Option 1: Use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Storacha MCP存储服务器 as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Storacha MCP存储服务器 MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "storacha-mcp-storage-server": {
      "command": "npx",
      "args": [
        "-y",
        "@storacha/mcp-storage-server"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Storacha MCP存储服务器 MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Storacha MCP存储服务器 MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Storacha MCP存储服务器 to help me with this task?
Storacha MCP存储服务器
Sure. I read it.
Here is what I found using Storacha MCP存储服务器.

Option 2: Add an MCP server URL

Use this when Storacha MCP存储服务器 is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter your server URL in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste your server URL into the Server URL field.
  2. Enter a connection name for Storacha MCP存储服务器.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the Storacha MCP存储服务器 connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the Storacha MCP存储服务器 tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the Storacha MCP存储服务器 tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Storacha MCP存储服务器 to help me with this task?
Storacha MCP存储服务器
Sure. I read it.
Here is what I found using Storacha MCP存储服务器.

Frequently asked questions

What is the Storacha MCP存储服务器 MCP server used for?

Storacha MCP存储服务器 is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Storacha MCP存储服务器 MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Storacha MCP存储服务器 with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Storacha MCP存储服务器 MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Storacha MCP存储服务器 connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Storacha MCP存储服务器 MCP to TypingMind?

Storacha MCP存储服务器 can be connected in TypingMind with the local MCP connector or by adding a remote MCP server URL. Use the local connector when the server needs access to files, apps, or private resources on your device, and use a server URL when the MCP server is hosted remotely.

What tools does Storacha MCP存储服务器 MCP provide in TypingMind?

Storacha MCP存储服务器 exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Storacha MCP存储服务器 MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Storacha MCP存储服务器 requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇