Spronta

io.github.spronta由 GitHub 帳號 spronta 發布v0.1.3更新於 Nov 3, 2026

Upload, transform, and deliver images on a global CDN via AI agents.

發布方自己的服務:Crawlie

概覽

AI 產生的概覽

Spronta 的 MCP 伺服器讓助理在全域圖片 CDN 上上傳圖片、套用轉換、管理預設集與簽章 URL,並查看用量。

可以做什麼
  • 管理專案:列出、建立、檢視含用量統計的詳細資料、更新與刪除圖片專案
  • 上傳與管理圖片:從 URL 或 base64 上傳,列出、修改替代文字與標籤、刪除
  • 建立與維護具名轉換預設集,用於縮放、裁切、格式轉換、智慧裁切與 blurhash
  • 設定 HMAC-SHA256 URL 簽章,並產生可設定到期時間的簽章 CDN 連結
  • 查看每日用量指標,並在不呼叫 API 的情況下建構帶轉換參數的 CDN 連結
適用情境
適合希望助理在對話中直接為網站或應用程式發布與最佳化圖片的場合:上傳素材、產生不同尺寸或 WebP/AVIF 版本、建立可重複使用的預設集,以及為私有圖片簽發具有效期限的連結。
執行需求
以 stdio 在本機執行,通常透過 npx @spronta/mcp 啟動,需要 Node.js。需要 Spronta 帳號與專案;API 金鑰透過 SPRONTA_API_KEY 傳入,另可選用 SPRONTA_PROJECT_ID 與 SPRONTA_API_URL。需要能連線至 Spronta API 與圖片來源的網路。
安裝前請注意
SPRONTA_API_KEY 中的 API 金鑰可存取該專案的圖片與設定,請勿放入共用設定檔。相關工具可建立、修改並永久刪除專案、圖片與預設集,也可啟用或關閉 URL 簽章。上傳會抓取你提供的圖片 URL,並將其送往 Spronta 的儲存與 CDN。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Spronta,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@spronta/mcp

MCP server for uploading, transforming, and serving images on a global CDN — directly from AI assistants.

Connect Claude, GPT, Cursor, Windsurf, or any MCP-compatible client to the Spronta Image CDN. Upload images from URLs or base64, apply real-time transforms (resize, crop, format conversion, smart crop, blurhash), create reusable presets, generate signed URLs, and monitor usage — all through natural language.

Why use this?

  • Upload images from AI — give your LLM an image URL and it uploads, optimizes, and returns a CDN link
  • Real-time transforms — resize, crop, convert to WebP/AVIF/JXL, smart crop with face detection
  • Global CDN delivery — images served from edge locations worldwide
  • Blurhash generation — automatic blur placeholders computed on upload
  • Signed URLs — HMAC-SHA256 signed URLs with expiration for private images
  • Named presets — create reusable transform configurations (e.g. thumbnail, hero, og-image)
  • No vendor lock-in — MIT licensed, open source

Quick start

Install

bash
npm install -g @spronta/mcp# or use directlynpx @spronta/mcp

Claude Code

bash
claude mcp add spronta \  -e SPRONTA_API_KEY=spronta_img_... \  -e SPRONTA_PROJECT_ID=your-project-id \  -- npx @spronta/mcp

Claude Desktop / Cursor / Windsurf

Add to your MCP configuration file:

json
{  "mcpServers": {    "spronta": {      "command": "npx",      "args": ["@spronta/mcp"],      "env": {        "SPRONTA_API_KEY": "spronta_img_...",        "SPRONTA_PROJECT_ID": "your-project-id"      }    }  }}

Get your API key

  1. Sign up at app.spronta.com (free tier: 100 images)
  2. Create a project in the dashboard
  3. Copy your API key from project settings

Environment variables

VariableRequiredDescription
SPRONTA_API_KEYYesYour project API key
SPRONTA_PROJECT_IDNoDefault project ID (can also be passed per-tool)
SPRONTA_API_URLNoAPI base URL (default: https://app.spronta.com/api)

18 tools available

Projects

ToolDescription
list_projectsList all image projects
create_projectCreate a new project
get_projectGet project details with usage stats
update_projectUpdate name or custom domain
delete_projectPermanently delete a project

Upload & Images

ToolDescription
upload_imageUpload from URL or base64 — handles presigned upload, blurhash generation, and CDN URL creation in one call
list_imagesList images with pagination
update_imageUpdate alt text and tags
delete_imageDelete an image from CDN and storage

Transform Presets

ToolDescription
list_presetsList named transform presets
create_presetCreate a preset (use in CDN URLs with ?t=name)
update_presetUpdate a preset's name or transforms
delete_presetDelete a preset

URL Signing

ToolDescription
get_signing_configGet URL signing configuration
update_signingEnable/disable HMAC-SHA256 signing
generate_signed_urlGenerate a signed CDN URL with optional expiration

Analytics & Utility

ToolDescription
get_usageGet daily metrics (requests, bandwidth, transforms)
build_cdn_urlBuild a CDN URL with transform parameters (no API call)

Example prompts

Once connected, just ask your AI:

> Upload this image to my project: https://example.com/photo.jpg
> Create a thumbnail preset: 200x200, cover crop, face detection, webp format
> How many requests did my project handle this week?
> Generate a signed URL for hero.jpg that expires in 1 hour
> List all my images and update the alt text on the product shots
> Build a CDN URL for banner.png at 1200px wide in avif format

Transform options

When creating presets or building URLs, these transforms are available:

ParameterTypeDescription
widthintegerOutput width (1–8192)
heightintegerOutput height (1–8192)
fitstringcover, contain, fill, scale-down, crop, pad
formatstringauto, webp, avif, jpeg, png, jxl
qualityinteger1–100
qualityModestringhigh, medium, low (perceptual targeting)
gravitystringauto, face, center, position keywords
blurintegerGaussian blur (1–250)
sharpennumberUnsharp mask (0–10)
radiusintegerCorner radius (1–9999, or "max" for circle)
grayscalebooleanConvert to grayscale
brightnessinteger-100 to 100
contrastnumber-100 to 100
saturationinteger-100 to 100
sepiabooleanSepia tone filter
rotateinteger90, 180, 270
flipstringh (horizontal), v (vertical)

How upload works

The upload_image tool handles the full upload pipeline in a single call:

  1. You provide an image URL (or base64 data) and a filename
  2. The server fetches the image
  3. Requests a presigned upload URL from Spronta
  4. Uploads the file directly to storage
  5. Confirms the upload — Spronta computes the blurhash and detects dimensions
  6. Returns the confirmed image with CDN URL, blurhash, and metadata

Related packages

Links

License

MIT

來源:README.md,提交 0d70c36

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.3最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Crawlie 整合