Yapay Zeka için Model Context Protocol (MCP)
SmallPict'i Claude Desktop, Cursor, Google Antigravity ve yapay zeka ajanlarına bağlayın.
Model Context Protocol (MCP) Entegrasyonu
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 Cloudflare Enterprise edge delivery.
Client Application
WordPress / SDK / API
Uploads raw image binary with HMAC-SHA256 signature and UUID v4 idempotency key.
Cloudflare Edge CDN
Global Edge PoPs
Checks global edge cache. On cache HIT, delivers AVIF/WebP in <20ms worldwide.
SmallPict Go Gateway
AWS Lambda / API Gateway
Validates HMAC credentials, verifies quota limits, and scopes access to customer_id.
libvips SIMD Worker
High-Speed C-Engine
Multi-threaded quantization transcode to AVIF & WebP with 0 visual loss and ~88% compression.
S3 Pipeline & Storage
Global Object Store
Stores optimized output, invalidates outdated cache tags, and hydrates Cloudflare Edge.
🛠️ Kullanılabilir MCP Araçları
| Araç | Açıklama | Anahtar Parametreler |
|---|---|---|
smallpict_optimize | Yerel veya uzak görselleri AVIF/WebP olarak sıkıştırır. | path, url, format, quality, max_width |
smallpict_get_quota | Kalan kotayı ve anlık tüketimi sorgular. | Yok (yapılandırılan anahtarı kullanır) |
smallpict_purge_cdn | Belirtilen URL'leri Cloudflare CDN önbelleğinden siler. | urls (URL listesi) |
⚙️ Yapay Zeka Editörleri Yapılandırması
1. Claude Desktop
claude_desktop_config.json dosyanıza ekleyin:
{ "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):
{ "command": "npx", "args": [ "-y", "@smallpict/mcp" ], "env": { "SMALLPICT_API_KEY": "sp_sdk_your_key_here" }}