New:Microsoft Teams Notifications Are Now Available in Socket.Learn more →
Get Started

@easybits.cloud/mcp

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@easybits.cloud/mcp

MCP server for EasyBits — the cloud for AI agents: sandboxes, web, files, SQL databases, documents and app hosting

Source
npmnpm
Version
0.3.2
Version published
Weekly downloads
60
-37.5%
Maintainers
1
Weekly downloads
 
Created
Source

EasyBits MCP Server

The cloud for AI agents. Connect your AI to EasyBits — run code in an isolated microVM, search and read the web, store files, query SQL databases, generate documents and deploy apps — all through natural language.

Quick Start

1. Get your API key

Sign up at easybits.cloud and generate an API key from your developer dashboard.

2. Configure your client

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "easybits": {
      "command": "npx",
      "args": ["-y", "@easybits.cloud/mcp"],
      "env": {
        "EASYBITS_API_KEY": "your-api-key"
      }
    }
  }
}

Claude Code

claude mcp add easybits -e EASYBITS_API_KEY=your-api-key -- npx -y @easybits.cloud/mcp

Cursor

Add to your Cursor MCP settings:

{
  "mcpServers": {
    "easybits": {
      "command": "npx",
      "args": ["-y", "@easybits.cloud/mcp"],
      "env": {
        "EASYBITS_API_KEY": "your-api-key"
      }
    }
  }
}

3. Start using it

Ask your AI agent things like:

  • "Upload this PDF and make it public"
  • "Show me my storage usage"
  • "Optimize that PNG to WebP"
  • "Set up a webhook for file uploads"
  • "Bulk delete all my temp files"
  • "Duplicate that config file"

Tools (31)

Files

ToolDescription
list_filesList files with pagination and filtering
get_fileGet file metadata and a signed download URL (1h expiry)
upload_fileCreate a file record and get a presigned upload URL
update_fileUpdate name, access level, or metadata
delete_fileSoft-delete a file (recoverable for 7 days)
restore_fileRestore a soft-deleted file
list_deleted_filesList deleted files with days until permanent purge
search_filesAI-powered natural language file search (requires AI key)
bulk_upload_filesCreate up to 20 file records with presigned upload URLs
bulk_delete_filesSoft-delete up to 100 files at once
duplicate_fileCopy an existing file (creates new storage object)
list_permissionsList sharing permissions for a file

Sharing

ToolDescription
share_fileShare a file with another user by email
generate_share_tokenGenerate a presigned download URL (60s–7 days)
list_share_tokensList all share tokens with expiration status

Images

ToolDescription
optimize_imageConvert images to WebP or AVIF with quality control
transform_imageResize, rotate, flip, convert format, or apply grayscale

Webhooks

ToolDescription
list_webhooksList your configured webhooks
create_webhookCreate a webhook for file/website events (returns secret)
update_webhookUpdate URL, events, or status (ACTIVE/PAUSED)
delete_webhookPermanently delete a webhook

Events: file.created, file.updated, file.deleted, file.restored, website.created, website.deleted

Payloads are signed with HMAC SHA-256 via X-Easybits-Signature header. Webhooks auto-pause after 5 consecutive failures.

Account

ToolDescription
get_usage_statsStorage used/limit, file counts, plan info

AI Configuration

ToolDescription
set_ai_keyStore an AI provider API key (Anthropic/OpenAI) for search
list_ai_keysList configured AI keys (masked)
delete_ai_keyRemove a stored AI key

Storage

ToolDescription
list_providersList configured storage providers

Websites

ToolDescription
list_websitesList all websites with stats
create_websiteCreate a new website with auto-generated slug
get_websiteGet website details and computed stats
update_websiteUpdate website name or status
delete_websiteDelete website and soft-delete associated files

Response & error contract

Every tool follows the same conventions, so an agent always parses the same shapes:

  • Success returns the result as JSON text (and structuredContent when applicable).

  • Errors return isError: true with a JSON body { "error": "message" }, sometimes with extra fields like code, status, or providerStatus.

  • Lists (list_*) all return one envelope:

    { "items": [ ... ], "nextCursor": "abc" , "hasMore": true }
    

    Some lists also include total. When hasMore is true, pass nextCursor back as cursor (or as offset for list_documents / list_websites) to fetch the next page. When there are no more results, nextCursor is null and hasMore is false.

Configuration

VariableDescriptionRequired
EASYBITS_API_KEYYour EasyBits API keyYes
EASYBITS_URLCustom API base URLNo

You can also set these in a ~/.easybitsrc file:

EASYBITS_API_KEY=eb_your_key_here

SDK

For programmatic access, use the typed SDK:

npm install @easybits.cloud/sdk
import { EasybitsClient } from "@easybits.cloud/sdk";
const eb = new EasybitsClient({ apiKey: "eb_sk_live_..." });

Transport

This package is a stdio-to-HTTP proxy. It reads JSON-RPC messages from stdin and forwards them to the EasyBits MCP endpoint (https://www.easybits.cloud/api/mcp). Responses are streamed back via Server-Sent Events (SSE).

Requirements

  • Node.js 18+
  • An EasyBits account with an API key

Agent Workflows

EasyBits works great alongside other AI tools. Here are common patterns for agents that have access to both EasyBits and image generation tools (like fal.ai):

Image generation → upload → share

1. Generate image with your image tool (fal.ai, DALL-E, etc.)
2. upload_file → get presigned URL → PUT the image bytes
3. Share via generate_share_token or set access to "public"
4. Send the URL to the user

Image editing pipeline

1. User sends a photo → agent saves it locally
2. Edit with fal.ai tools (bg-remove, upscale, restyle, remove-object, inpaint)
3. upload_file the result to EasyBits for permanent storage
4. Return the EasyBits URL (persistent, unlike fal.ai temp URLs)

Document with generated images

1. Generate images/graphics with image tools
2. upload_file each image to EasyBits
3. create_document with HTML sections that reference the uploaded image URLs
4. Share the document link

Website with dynamic assets

1. Generate or edit images as needed
2. upload_website_file for each asset
3. set_page_html to build pages referencing those assets
4. Deploy — user gets a live URL

Why use EasyBits for agent-generated files?

  • Persistent URLs — fal.ai and other generation APIs return temporary URLs that expire. EasyBits URLs are permanent.
  • Access control — set files as private, public, or share with specific users via tokens.
  • Organization — search, tag, and manage all generated assets in one place.
  • Webhooks — trigger downstream workflows when files are created or updated.

License

MIT

Keywords

easybits

FAQs

Package last updated on 05 Sep 2026

Related posts