Skip to content
smallPict

AI के लिए Model Context Protocol (MCP)

SmallPict को Claude Desktop, Cursor, Google Antigravity और AI एजेंटों के साथ एकीकृत करें।

SmallPict खुले मानक Model Context Protocol (MCP) का समर्थन करता है, जिससे AI कोडिंग सहायक प्राकृतिक भाषा के आदेशों का उपयोग करके आपकी छवि संपत्तियों को सीधे प्रबंधित कर सकते हैं।

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


उपलब्ध MCP टूल्स

टूलकार्यमुख्य पैरामीटर
smallpict_optimizeस्थानीय या रिमोट छवियों को AVIF/WebP में संपीड़ित करता है।path, url, format, quality, max_width
smallpict_get_quotaशेष कोटा और वर्तमान उपयोग की जांच करता है।कोई नहीं (कॉन्फ़िगर की गई कुंजी का उपयोग करता है)
smallpict_purge_cdnवैश्विक SmallPict Edge कैश से फ़ाइलों को अमान्य करता है।urls (URL सूची)

AI एडिटर्स में कॉन्फ़िगरेशन

1. Claude Desktop

अपनी claude_desktop_config.json फ़ाइल में जोड़ें:

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 के अंतर्गत:

  • नाम: SmallPict
  • प्रकार: command
  • आदेश: npx -y @smallpict/mcp
  • पर्यावरण चर: SMALLPICT_API_KEY=sp_sdk_your_key_here

3. Google Antigravity

कॉन्फ़िगरेशन फ़ाइल में (~/.gemini/antigravity/mcp/smallpict.json):

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