{"_id":"@0xdragon888/0g-mcp-server","name":"@0xdragon888/0g-mcp-server","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@0xdragon888/0g-mcp-server","version":"0.1.0","description":"MCP Server for 0G Storage - Use decentralized storage in Claude Desktop","type":"module","main":"dist/index.js","bin":{"0g-mcp":"dist/index.js"},"scripts":{"dev":"tsx watch src/index.ts","build":"tsc","start":"node dist/index.js","test":"vitest","test:coverage":"vitest --coverage","lint":"eslint src --fix","format":"prettier --write 'src/**/*.ts'","clean":"rm -rf dist node_modules","prepublishOnly":"npm run build"},"dependencies":{"@modelcontextprotocol/sdk":"^1.11.4","dotenv":"^16.4.7","pino":"^8.18.0","pino-pretty":"^10.3.0","lru-cache":"^10.0.0"},"devDependencies":{"typescript":"^5.7.3","@types/node":"^22.13.4","tsx":"^4.19.4","vitest":"^1.6.0","@vitest/coverage-v8":"^1.6.0","eslint":"^9.0.0","@typescript-eslint/parser":"^7.0.0","@typescript-eslint/eslint-plugin":"^7.0.0","prettier":"^3.3.0"},"packageManager":"pnpm@9.14.2","engines":{"node":">=18.0.0"},"keywords":["mcp","claude","0g","storage","decentralized","web3","ai","claude-desktop"],"repository":{"type":"git","url":"git+https://github.com/0glabs/0g-mcp-server.git"},"author":{"name":"0G Labs"},"license":"MIT","_id":"@0xdragon888/0g-mcp-server@0.1.0","gitHead":"0ce02415ceb70e433fbbc75065f76a81f595e462","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/0glabs/0g-mcp-server/issues"},"homepage":"https://github.com/0glabs/0g-mcp-server#readme","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-dsQsDYOnvZzma0D/gj2oaB2FJNPdLaCV7zkBNY1k/dBsXz0YtC31j6fUBxCRi8fWBKyNQrOOLOcqLfelSXZNPQ==","shasum":"3a1c5844dac15867c181caa0295f02752c320482","tarball":"https://registry.npmjs.org/@0xdragon888/0g-mcp-server/-/0g-mcp-server-0.1.0.tgz","fileCount":135,"unpackedSize":287287,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBI3jAZ+JIOvsoIX/v2aZS/wEk0voUnbzQvxN+taOqtRAiBewb67jEnxKO8aKYCR7FTFHZPwMQi8SnkaQRSqMfZnCw=="}]},"_npmUser":{"name":"0xdragon888","email":"lvxuan147@gmail.com"},"directories":{},"maintainers":[{"name":"0xdragon888","email":"lvxuan147@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/0g-mcp-server_0.1.0_1769775294093_0.7132972995446356"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-30T12:14:53.974Z","0.1.0":"2026-01-30T12:14:54.263Z","modified":"2026-01-30T12:14:54.500Z"},"maintainers":[{"name":"0xdragon888","email":"lvxuan147@gmail.com"}],"description":"MCP Server for 0G Storage - Use decentralized storage in Claude Desktop","homepage":"https://github.com/0glabs/0g-mcp-server#readme","keywords":["mcp","claude","0g","storage","decentralized","web3","ai","claude-desktop"],"repository":{"type":"git","url":"git+https://github.com/0glabs/0g-mcp-server.git"},"author":{"name":"0G Labs"},"bugs":{"url":"https://github.com/0glabs/0g-mcp-server/issues"},"license":"MIT","readme":"# @0xdragon888/0g-mcp-server\n\nUse **0G decentralized storage** directly in **Claude Desktop**.\n\nStore your notes, code snippets, and data on the blockchain - just by chatting with Claude.\n\n## Quick Start\n\n### 1. Configure Claude Desktop\n\nEdit your Claude Desktop configuration file:\n\n**macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`\n\n**Windows:** `%APPDATA%\\Claude\\claude_desktop_config.json`\n\nAdd the following:\n\n```json\n{\n  \"mcpServers\": {\n    \"0g-storage\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@0xdragon888/0g-mcp-server\"]\n    }\n  }\n}\n```\n\n### 2. Restart Claude Desktop\n\nClose and reopen Claude Desktop to load the new MCP server.\n\n### 3. Start Using\n\nNow you can talk to Claude about storing and retrieving data:\n\n**Upload content:**\n> \"Save this note to 0G storage: Meeting notes for Jan 30...\"\n\n**List your files:**\n> \"Show me what I've stored on 0G\"\n\n**Download content:**\n> \"Get my file with ID 0x...\"\n\nThat's it! No coding required.\n\n---\n\n## What Can You Do?\n\n| Say to Claude | What Happens |\n|---------------|--------------|\n| \"Upload this text to 0G\" | Stores your content on decentralized storage |\n| \"Save this code snippet permanently\" | Stores code with filename |\n| \"What files do I have on 0G?\" | Lists all your uploaded content |\n| \"Download my file from 0G\" | Retrieves previously stored content |\n\n---\n\n## Available Tools\n\n| Tool | Description |\n|------|-------------|\n| `upload_to_0g` | Upload text, code, or any content to 0G Storage |\n| `list_my_files` | View all your stored files with details |\n| `download_from_0g` | Retrieve content using blob ID or link |\n\n---\n\n## Example Conversations\n\n### Upload a Note\n```\nYou: Please save this to 0G storage:\n\n     # Project Ideas\n     - Build a decentralized app\n     - Learn Rust\n\nClaude: I've uploaded your content to 0G Storage!\n\n        Blob ID: 0x8f3e2c1a...\n        Link: https://0g.ai/view/0x8f3e2c1a...\n        Size: 58 bytes\n\n        You can share this link with anyone!\n```\n\n### List Your Files\n```\nYou: Show me what I've stored on 0G\n\nClaude: Here are your files on 0G Storage:\n\n        1. project-ideas.md (58 bytes)\n           Uploaded: 2026-01-30 10:30 AM\n           Link: https://0g.ai/view/0x8f3e2c1a...\n\n        2. meeting-notes.txt (1.2 KB)\n           Uploaded: 2026-01-30 09:15 AM\n           Link: https://0g.ai/view/0x7d2b1f9e...\n```\n\n---\n\n## Why 0G Storage?\n\n- **Decentralized**: Your data is stored on a blockchain network, not a single server\n- **Permanent**: Content is stored permanently and can't be deleted\n- **Verifiable**: Every upload has cryptographic proof\n- **Fast**: Built for high-performance AI workloads\n\n---\n\n## Advanced Configuration\n\nYou can customize the server with environment variables:\n\n```json\n{\n  \"mcpServers\": {\n    \"0g-storage\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@0xdragon888/0g-mcp-server\"],\n      \"env\": {\n        \"ZERO_G_RPC_URL\": \"https://rpc-testnet.0g.ai\",\n        \"LOG_LEVEL\": \"debug\"\n      }\n    }\n  }\n}\n```\n\n| Variable | Description | Default |\n|----------|-------------|---------|\n| `ZERO_G_RPC_URL` | 0G network RPC endpoint | `https://rpc-testnet.0g.ai` |\n| `LOG_LEVEL` | Logging level (debug/info/warn/error) | `info` |\n\n---\n\n## Development\n\n```bash\n# Clone and install\ngit clone https://github.com/0glabs/0g-mcp-server.git\ncd 0g-mcp-server\npnpm install\n\n# Development mode\npnpm dev\n\n# Build\npnpm build\n\n# Test\npnpm test\n```\n\n---\n\n## Troubleshooting\n\n**\"MCP server not found\"**\n- Make sure you restarted Claude Desktop after editing the config\n- Check that the config file path is correct for your OS\n\n**\"Tool not working\"**\n- Check Claude Desktop logs for errors\n- Try running `npx @0xdragon888/0g-mcp-server` directly in terminal to see output\n\n---\n\n## Support\n\n- GitHub Issues: https://github.com/0glabs/0g-mcp-server/issues\n- Twitter: [@0GLabs](https://twitter.com/0GLabs)\n- Discord: [0G Community](https://discord.gg/0glabs)\n\n---\n\n## License\n\nMIT License - 0G Labs\n","readmeFilename":"README.md","_rev":"1-5637a5375121d53acc05f12f1fc2c8df"}