Skip to content
smallPict

Yapay Zeka için Model Context Protocol (MCP)

SmallPict'i Claude Desktop, Cursor, Google Antigravity ve yapay zeka ajanlarına bağlayın.

SmallPict, açık standart Model Context Protocol (MCP) desteği sunarak yapay zeka asistanlarının doğal dil komutlarıyla görsel varlıklarınızı doğrudan yönetmesine imkan tanır.

End-to-End Image Processing & Edge CDN Flow

Sub-50ms image optimization lifecycle from client upload to global edge delivery.

  1. 01

    Client Application

    WordPress / SDK / API

    Uploads raw image binary with HMAC-SHA256 signature and UUID v4 idempotency key.

    Origin Request

  2. 02

    smallPict Edge CDN

    Global Edge PoPs

    Checks global edge cache. On cache HIT, delivers AVIF/WebP in <20ms worldwide.

    Cache & Delivery

  3. 03

    SmallPict API Gateway

    Authentication & Quotas

    Validates HMAC credentials, verifies quota limits, and scopes access to customer_id.

    Auth & Scoping

  4. 04

    Optimization Engine

    High-Speed Native Encoder

    Multi-threaded quantization transcode to AVIF & WebP with no visible quality loss and much smaller files.

    Transcoding

  5. 05

    Secure Storage & Sync

    Encrypted Cloud Storage

    Stores optimized output, invalidates outdated cache tags, and warms the edge cache.

    Persistent Sync

Zero Data Interception: End-to-end HMAC validation & SHA256 integrity check

Engine: smallPict


Kullanılabilir MCP Araçları

AraçAçıklamaAnahtar Parametreler
smallpict_optimizeYerel veya uzak görselleri AVIF/WebP olarak sıkıştırır.path, url, format, quality, max_width
smallpict_get_quotaKalan kotayı ve anlık tüketimi sorgular.Yok (yapılandırılan anahtarı kullanır)
smallpict_purge_cdnBelirtilen URL'leri SmallPict CDN önbelleğinden siler.urls (URL listesi)

Yapay Zeka Editörleri Yapılandırması

1. Claude Desktop

claude_desktop_config.json dosyanıza ekleyin:

JSON
{  "mcpServers": {    "smallpict": {      "command": "npx",      "args": [        "-y",        "@smallpict/mcp"      ],      "env": {        "SMALLPICT_API_KEY": "sp_sdk_your_key_here"      }    }  }}

2. Cursor IDE

Cursor Settings > Features > MCP altında:

  • İsim: SmallPict
  • Tür: command
  • Komut: npx -y @smallpict/mcp
  • Çevre Değişkeni: SMALLPICT_API_KEY=sp_sdk_your_key_here

3. Google Antigravity

Yapılandırma dosyasında (~/.gemini/antigravity/mcp/smallpict.json):

JSON
{  "command": "npx",  "args": [    "-y",    "@smallpict/mcp"  ],  "env": {    "SMALLPICT_API_KEY": "sp_sdk_your_key_here"  }}