Labsco
storacha logo

Storacha MCP Storage Server

β˜… 13

from storacha

An MCP server for Storacha hot storage, enabling AI applications to store and retrieve files using IPFS and CIDs.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedPaid serviceAdvanced setup

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.

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.

Copy & paste β€” that's it
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.

Copy & paste β€” that's it
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.

Copy & paste β€” that's it
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