StaticSave

The instant free CDN and static file host. Host and serve CSS, JavaScript, JSON, XML, TXT, Markdown, and images worldwide with zero configuration, full CORS headers, and direct raw CDN links.

Hosted MCP Server

npx add-mcp 'https://mcp.staticsave.com'

Installs into Claude Code, Codex, Cursor and more

Documentation

Model Context Protocol • JSON-RPC 2.0

mcp.staticsave.com Online

Model Context Protocol Server Instant Static Hosting & CDN

Equip Claude Desktop, Cursor, Antigravity, and ChatGPT with direct edge file hosting powers. Upload code snippets, store JSON datasets, publish Base64 images, and get instant Anycast CDN URLs directly inside your AI chat.

Remote MCP Endpoint (Streamable HTTP):

https://mcp.staticsave.com

Transport: HTTP / JSON-RPC 2.0 •Auth: OAuth 2.1 PKCE or Bearer Token •Zero-Auth: create_temporary_file

Protocol

JSON-RPC 2.0

MCP Spec 2024-11-05

Delivery Speed

Global Edge CDN

Sub-10ms Anycast TTFB

CORS Policy

Origin: *

Zero embed restrictions

Supported Assets

Code & Media

css, js, json, xml, md, webp, jpg

Interactive Token Autofill

Sign in to automatically reveal and insert your live personal API token into all configuration files.

1-Click Configuration

Connect AI Coding Assistants & IDEs

Add StaticSave to your existing workflow. Supported across Claude Desktop, Cursor, Antigravity, Windsurf, ChatGPT, and standalone scripts.

Paste into claude_desktop_config.json:

{
  "mcpServers": {
    "staticsave": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.staticsave.com"
      ]
    }
  }
}

How OAuth 2.0 Works With Claude Desktop:

There is no token to copy or leak into source control! When Claude Desktop boots, mcp-remote discovers StaticSave’s RFC 8414 OAuth metadata and triggers your default browser to authorize in 1 click via PKCE.

Configuration File Locations:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Linux: ~/.config/Claude/claude_desktop_config.json

Live Execution Console

Execute Live MCP Requests in Real Time

Send real JSON-RPC 2.0 requests directly to https://mcp.staticsave.com. Test anonymous temporary hosting with zero authentication, or provide your personal token to manage persistent module folders.

Zero-Auth Mode • No API Token Required

Anyone can test this tool right now. Files are hosted on temp.staticsave.com (auto-expires in 24 hours).

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_temporary_file",
    "arguments": {
      "file_type": "css",
      "content": ".ai-btn { background: #ea580c; color: white; padding: 8px 16px; border-radius: 8px; font-weight: bold; }"
    }
  }
}
// Click "Execute Live MCP Request" above to send a real HTTP call to https://mcp.staticsave.com
// The live JSON-RPC 2.0 response from the edge server will appear here in real time.

Tools API Reference

All 9 StaticSave MCP Tools & Schemas

Complete specifications including inputs, schemas, validation rules, permissions, and response structures.

create_fileFiles & MediaAuth Required

Upload and host static code files or Base64 images with instant global CDN links.

Hide Specs

Creates a new static file or Base64-encoded image inside a user module folder. Automatically delivers a high-speed Anycast CDN URL with open CORS headers. If the file already exists, it is overwritten with immediate edge cache invalidation.

Arguments & Schema:

NameTypeRequiredDefault / InfoDescription
folderstringYes-Module folder name (4–15 lowercase alphanumeric chars, single hyphens allowed).
file_namestringYes-Target filename without extension (4–15 lowercase alphanumeric chars).
file_typestringYes-Extension: css, js, json, xml, txt, md, jpg, or webp.
contentstringYes-Text code content or raw Base64 image data (up to 30,000 characters).
visibilitystringOptionalpublicFile visibility: public (default) or unlisted (private available for premium accounts).
tokenstringOptional-Bearer token (optional if provided in Authorization header or query parameter).
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_file",
    "arguments": {
      "folder": "my-project",
      "file_name": "styles",
      "file_type": "css",
      "content": "body { background: #faf7f2; color: #1c1917; font-family: sans-serif; }",
      "visibility": "public"
    }
  }
}
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "status": "success",
    "message": "File Created. 🎉",
    "file": "styles.css",
    "cdn_url": "https://cdn.staticsave.com/my-project/styles.css",
    "visibility": "public",
    "limits": {
      "remaining_folders": 8,
      "remaining_files": 94
    }
  }
}

create_temporary_fileZero-Auth EphemeralZero-Auth Anonymous

Host temporary anonymous files with zero authentication (auto-expires in 24 hours).

View Specs

get_account_infoAccount & QuotasAuth RequiredRead-Only

Check account limits, remaining folders, total files, and premium plan status.

View Specs

list_foldersFolder ManagementAuth RequiredRead-Only

Retrieve all active module folders, file counts, and update timestamps.

View Specs

create_folderFolder ManagementAuth Required

Create a new module namespace folder (4–15 lowercase alphanumeric characters).

View Specs

delete_folderFolder ManagementAuth RequiredDestructive

Permanently delete a folder and cascade deletion to all files inside it.

View Specs

list_filesFiles & MediaAuth RequiredRead-Only

List hosted static files with optional folder filtering and pagination.

View Specs

update_fileFiles & MediaAuth Required

Update content or visibility of an existing file with automatic CDN cache busting.

View Specs

delete_fileFiles & MediaAuth RequiredDestructive

Permanently delete an individual hosted file from a module folder.

View Specs

Edge Architecture

Engineered for High-Reliability AI Workflows

StaticSave MCP combines a low-latency edge runtime with enterprise RFC discovery protocols and global content delivery.

Global Anycast CDN

Every asset saved through MCP is instantly replicated across 300+ edge locations worldwide for sub-10ms response times.

Open CORS & Strict MIME

Automatic Access-Control-Allow-Origin: * headers with proper nosniff text/css, application/javascript, and JSON dispatch.

RFC 8414 PKCE Discovery

Standardized OAuth 2.1 metadata discovery means AI tools authenticate in 1 click without requiring secret keys in local configs.

Base64 Image Decoding

Multimodal vision models and image generators can output raw Base64 data and have StaticSave immediately serve clean WebP or JPG links.

Instant Cache Purging

Executing update_file purges CDN caches in real time so existing URLs stay current with zero link breakage.

Zero-Auth Scratchpads

Anonymous 24-hour disposable file hosting via create_temporary_file provides friction-free sandboxing for agents.

Machine-Readable Discovery Endpoints

MCP Server Manifest:

/.well-known/mcp.json

MCP Server Card:

/.well-known/mcp/server-card.json

OAuth Authorization Server:

https://mcp.staticsave.com/.well-known/oauth-authorization-server

OAuth Protected Resource:

https://mcp.staticsave.com/.well-known/oauth-protected-resource

OpenAPI 3.1 Spec:

/openapi.json

agents.md Guide:

/agents.md

Agent Capabilities

How Modern AI Agents Utilize StaticSave MCP

From autonomous web component prototyping to instant mock datasets and multimodal image publishing.

Use Case 01

Instant Frontend Component Preview

When you ask Claude or Cursor to design a custom UI widget, the AI uses create_file to host the stylesheet and script immediately on the CDN. You receive an active live URL ready to embed inside your application.

Use Case 02

Serverless Mock API & JSON Endpoints

Generate mock e-commerce datasets or configuration payloads with zero backend code. The AI publishes a JSON file with open CORS headers that your frontend React or Vue app can fetch directly.

Use Case 03

Multimodal AI Image & Diagram Publishing

Vision models and AI canvas generators export Base64 representations of images or diagrams. The MCP server automatically parses the Base64 binary and returns an ultra-fast raw WebP/JPG link.

Use Case 04

Multi-Agent State Sharing & Scratchpads

In autonomous agent loops (LangChain, AutoGen, CrewAI), Agent A writes intermediate test results using create_temporary_file. Agent B reads and evaluates the asset directly via CDN URL without shared filesystem dependencies.

Got Questions?

Frequently Asked Questions

Everything you need to know about integrating and using the StaticSave Model Context Protocol server.

Free Instant Deployment

Give Your AI Coding Assistants Global Edge CDN Powers

Start in seconds. Use create_temporary_file with zero authentication, or grab a free personal API token to manage permanent module folders.