loading…
Search for a command to run...
loading…
Provides AI agents with seamless access to Filecoin's decentralized storage network for persistent file storage and dataset management. It features automatic pa
Provides AI agents with seamless access to Filecoin's decentralized storage network for persistent file storage and dataset management. It features automatic payment handling, CDN support, and cost estimation tools for efficient storage operations.
MCP server for decentralized file storage on Filecoin Onchain Cloud
NPM Version License: MIT Node Version
@fil-b/foc-storage-mcp provides AI agents with seamless access to Filecoin's decentralized storage network through the Model Context Protocol (MCP). Store files persistently with automatic payment handling, CDN support, and comprehensive dataset management.
Requirements:
node --version)PRIVATE_KEY - Your Filecoin wallet private key (0x...)Optional:
FILECOIN_NETWORK - mainnet (production) or calibration (testing, default)TOTAL_STORAGE_NEEDED_GiB - Default storage capacity for calculations (default: 150 GiB)PERSISTENCE_PERIOD_DAYS - Data retention duration (default: 365 days)RUNOUT_NOTIFICATION_THRESHOLD_DAYS - Balance warning threshold (default: 45 days, recommended >30)Note: Filecoin warm storage requires 30 days paid upfront. Keep balance above 30 days to maintain service.
Jump to: Cursor | Claude Code | Claude Desktop | VS Code | Windsurf | Codex | Other
After installation, update PRIVATE_KEY in your config. Learn more
Add to .mcp.json:
{
"mcpServers": {
"foc-storage": {
"command": "npx",
"args": ["-y", "@fil-b/foc-storage-mcp"],
"env": {
"PRIVATE_KEY": "your_private_key_here",
"FILECOIN_NETWORK": "calibration"
}
}
}
}
Add to claude_desktop_config.json:
{
"mcpServers": {
"foc-storage": {
"command": "npx",
"args": ["-y", "@fil-b/foc-storage-mcp"],
"env": {
"PRIVATE_KEY": "your_private_key_here",
"FILECOIN_NETWORK": "calibration"
}
}
}
}
Create .vscode/mcp.json:
{
"servers": {
"foc-storage": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@fil-b/foc-storage-mcp"],
"env": {
"PRIVATE_KEY": "your_private_key_here",
"FILECOIN_NETWORK": "calibration"
}
}
}
}
Enable: Settings → Chat → MCP. Click "start" in mcp.json (Agent mode only). Learn more
Edit ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"foc-storage": {
"command": "npx",
"args": ["-y", "@fil-b/foc-storage-mcp"],
"env": {
"PRIVATE_KEY": "your_private_key_here",
"FILECOIN_NETWORK": "calibration"
}
}
}
}
Restart Windsurf. Learn more
codex mcp add foc-storage -- npx -y @fil-b/foc-storage-mcp
Edit config to add environment variables. Verify: codex mcp list. Learn more
Most MCP tools support this format:
{
"mcpServers": {
"foc-storage": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@fil-b/foc-storage-mcp"],
"env": {
"PRIVATE_KEY": "your_private_key_here",
"FILECOIN_NETWORK": "calibration"
}
}
}
}
Storage: $2.50/TiB/month (pay-per-epoch: 30 seconds) • Min: $0.06/month
Example: 150 GiB for 1 year ≈ 0.44 USDFC ($0.44)
💡 Ask your agent: "How much to store 500 GiB for 6 months?"
Ask naturally in Claude, Cursor, or any MCP client:
File Operations
uploadFile - Upload files with auto-paymentgetDatasets - List all stored datasetsgetDataset - Get dataset detailscreateDataset - Create new dataset containerBalance & Payments
getBalances - Check wallet and storage metricsprocessPayment - Deposit USDFC tokensProviders & Pricing
getProviders - List storage providersestimateStoragePricing - Calculate costsgetStoragePricingInfo - Explain pricing modelsconvertStorageSize - Convert units"Check my storage balance"
"Upload presentation.pdf with CDN enabled"
"How much to store 2 TB for 1 year?"
"Create a dataset for Q4 reports"
"Show all my datasets"
Server not found: Verify npx --version, check JSON syntax, restart IDE
"PRIVATE_KEY is required": Add to env section, must start with 0x
Transaction fails: Check FIL for gas, verify network setting, confirm USDFC balance
"Invalid Version" or npm dependency errors:
npm cache clean --forcenpx clear-npx-cachenpm install -g npm@latestnpm install -g npm@10.env filesgetBalancesContributions welcome! Open an issue for major changes.
MIT © @nijoe1
Built with ❤️ by @FILBuilders for the Filecoin ecosystem
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"filecoin-onchain-cloud-mcp": {
"command": "npx",
"args": []
}
}
}Payments, customers, subscriptions
110+ tools for AI agents spanning social media, finance, gaming, music, AU-specific services, and utilities. Zero-config local tools plus platform connectors. n
Unified API hub for AI agents with 56+ tools across travel (Amadeus, Sabre), prediction markets (Polymarket), crypto, and weather. Pay-per-call via x402 micropa
Deploy live HTTPS websites in seconds. Instant subdomains ($1 USDC) or custom .xyz domains ($10 USDC) on Base chain. Templates for crypto tokens and AI agent pr