Model Context Protocol server that brings Filecoin's decentralized storage directly to your AI assistant. Store and manage your files on the Filecoin onchain cloud through natural conversation with any MCP-compatible AI tool.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"foc-storage": {
"env": {
"PRIVATE_KEY": "0x...",
"FILECOIN_NETWORK": "calibration"
},
"args": [
"-y",
"@fil-b/foc-storage-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
⚠️ DEPRECATED — This repository is archived and no longer maintained. > 👉 Use foc-cli instead. > foc-cli is the official successor. It includes everything this MCP server did, plus a full CLI, AI agent skills, and richer tooling for Filecoin Onchain Cloud.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'foc-cli' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked foc-cli against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in cloud
MCP Server for GCP environment for interacting with various Observability APIs.
⚡ A Simple / Speedy / Secure Link Shortener with Analytics, 100% run on Cloudflare.
MCP server for Datto SaaS Protection — M365/GWS backups, restores, seats.
Heroku Platform MCP Server using the Heroku CLI
MCP Security Weekly
Get CVE alerts and security updates for Foc Storage Mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
MCP server for decentralized file storage on Filecoin Onchain Cloud
@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](https://docs.windsurf.com/windsurf/cascade/mc