loading…
Search for a command to run...
loading…
Store and retrieve data objects for free. Temporary cloud storage for agents. Two hour expiry. Works with any format and flow. Example use cases include: * Mana
Store and retrieve data objects for free. Temporary cloud storage for agents. Two hour expiry. Works with any format and flow. Example use cases include: * Manage large datasets across different sessions * Generate shareable links for intermediate results * Streamline complex workflows by bridging information between multiple contexts
Dropbox for AI Agents - Ephemeral shared workspace for caching contexts and bridging multi-agent workflows
A Model Context Protocol (MCP) server that enables AI agents to cache contexts, bridge workflows, and share ephemeral data via the 0pi free and open API. Think of it like a pastebin or Dropbox for Agents.
🧠 Context Caching - Offload large contexts when approaching token limits
🤝 Multi-Agent Bridge - Share data between different AI agents seamlessly
📦 Temporary Storage - 2-hour auto-expiring storage for agent content
🔄 Workflow Continuity - Pass intermediate results between sessions
🌐 Web Automation - Store DOM snapshots for multi-step workflows
💾 Code Sharing - Temporary storage for generated code
cd mcp-server
npm install
cp .env.example .env
# Edit .env to set 0PI_API_URL if needed
npm start
npm install -g @0pi/mcp-server
# or use npx
npx @0pi/mcp-server
Add to your claude_desktop_config.json:
{
"mcpServers": {
"0pi": {
"command": "npx",
"args": ["@0pi/mcp-server"],
"env": {
"0PI_API_URL": "https://0pi.dev"
}
}
}
}
Add to your Cline MCP settings:
{
"mcpServers": {
"0pi": {
"command": "npx",
"args": ["@0pi/mcp-server"],
"env": {
"0PI_API_URL": "https://0pi.dev"
}
}
}
}
create_shared_workspaceSave data to an ephemeral cloud workspace.
Parameters:
agent_id (required): Your agent identifier (e.g., "claude-coder")data (required): The payload to save (object, array, or string)intent (optional): Brief description of why you're saving thisttl_seconds (optional): Time-to-live in seconds (max 7200, default 7200)Example:
{
"agent_id": "claude-researcher",
"data": {
"research_findings": [...],
"next_steps": [...]
},
"intent": "Saving research results for coding agent",
"ttl_seconds": 3600
}
Returns:
{
"workspace_id": "a8f92k3d",
"url": "https://0pi.dev/w/a8f92k3d",
"expires_in": 3600
}
get_shared_workspaceRetrieve data from a workspace.
Parameters:
workspace_id (required): The 8-character workspace IDExample:
{
"workspace_id": "a8f92k3d"
}
Returns:
{
"agent_id": "claude-researcher",
"payload_type": "json",
"data": { ... },
"intent": "Saving research results for coding agent",
"created_at": "2026-05-03T13:57:56Z"
}
All MCP interactions are logged to logs/mcp-conversations.jsonl in JSON Lines format (one JSON object per line).
Log Entry Format:
{
"timestamp": "2026-05-03T13:57:56.123Z",
"event_type": "workspace_created",
"tool_name": "create_shared_workspace",
"agent_id": "claude-coder",
"workspace_id": "a8f92k3d",
"workspace_url": "https://0pi.dev/w/a8f92k3d",
"payload_size": 15420,
"intent": "saving DOM structure for handoff",
"error": null,
"metadata": null
}
Event Types:
server_started: MCP server initializedtools_listed: Agent queried available toolstool_called: Agent invoked a toolworkspace_created: Workspace successfully createdworkspace_creation_failed: Error creating workspaceworkspace_retrieved: Workspace data retrievedworkspace_retrieval_failed: Error retrieving workspacetool_execution_failed: General tool execution errorAnalyzing Logs:
# View recent events (last 10 lines)
tail -10 mcp-server/logs/mcp-conversations.jsonl
# View all workspace creations
cat mcp-server/logs/mcp-conversations.jsonl | grep "workspace_created"
# Count events by type using jq
cat mcp-server/logs/mcp-conversations.jsonl | jq -s 'group_by(.event_type) | map({event: .[0].event_type, count: length})'
# View errors only
cat mcp-server/logs/mcp-conversations.jsonl | jq 'select(.error != null)'
# Count workspaces by agent
cat mcp-server/logs/mcp-conversations.jsonl | jq -s 'map(select(.event_type == "workspace_created")) | group_by(.agent_id) | map({agent: .[0].agent_id, count: length})'
<<<<<<< HEAD
0PI_API_URL: API endpoint URL (default: https://0pi.dev)AGENTBOX_API_URL still supported0PI_LOG_DIR: Directory for log files (default: ./logs)AGENTBOX_LOG_DIR still supported# Run in development
npm start
# Test the server manually
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' | node index.js
┌─────────────────┐
│ AI Agent │
│ (Claude/GPT) │
└────────┬────────┘
│ MCP Protocol
│
┌────────▼────────┐
│ MCP Server │
│ (this package) │
│ │
│ ┌───────────┐ │
│ │ JSONL │ │ (Local logging)
│ │ Logs │ │
│ └───────────┘ │
└────────┬────────┘
│ HTTPS
│
┌────────▼────────┐
│ 0pi API │
│ (0pi.dev) │
│ │
│ ┌───────────┐ │
│ │ Redis │ │ (Ephemeral storage)
│ └───────────┘ │
└─────────────────┘
MIT
Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"0pi-mcp-server": {
"command": "npx",
"args": []
}
}
}PRs, issues, code search, CI status
Database, auth and storage
Reference / test server with prompts, resources, and tools.
Secure file operations with configurable access controls.