metalevel/snapix-mcp-server
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@metalevel/snapix-mcp-servershow me my last 10 images"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@metalevel/snapix-mcp-server
MCP server for SnapiX - image optimization, conversion, AI generation, and gallery management via the Model Context Protocol. Get a free API key and start using it with your AI clients today, no credits required!
Built on @metalevel/snapix-sdk-core - the official typed TypeScript SDK for the SnapiX REST API.
Quick Start - Local (stdio)
Add to your AI client configuration:
VS Code (Copilot)
Add to .vscode/mcp.json:
{
"inputs": [
{
"id": "SNAPIX_API_KEY",
"type": "promptString",
"description": "SnapiX API key",
"password": true
},
{
"id": "SNAPIX_BUCKET_KEY",
"type": "promptString",
"description": "Custom bucket key, if you've setup one (optional)",
"password": false
}
],
"servers": {
"metalevel/snapix-mcp": {
"command": "npx",
"args": ["-y", "@metalevel/snapix-mcp-server"],
"env": {
"SNAPIX_API_KEY": "${input:SNAPIX_API_KEY}",
"SNAPIX_BUCKET_KEY": "${input:SNAPIX_BUCKET_KEY}" // optional
}
}
}
}Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"metalevel/snapix-mcp": {
"command": "npx",
"args": ["-y", "@metalevel/snapix-mcp-server"],
"env": {
"SNAPIX_API_KEY": "your-api-key-here",
"SNAPIX_BUCKET_KEY": "your-optional-custom-bucket-key"
}
}
}
}Related MCP server: media-mcp
Quick Start - Remote (HTTP)
For clients that support Streamable HTTP transport, point to the hosted endpoint:
https://www.snapix.space/api/mcpPass your API key via the Authorization header:
Authorization: Bearer <your-api-key>The remote endpoint is stateless - no session persistence between requests. It does not support imageFilePath; use imageBase64 for local images (with caution for large files) or imageUrl for publicly accessible URLs. See the full MCP docs for VS Code and Claude Desktop config examples.
Environment Variables
Variable | Required | Default | Description |
| Yes | - | Your SnapiX API key |
| No | primary bucket | Default storage bucket for uploads, generates, and gallery creation |
| No |
| SDK log verbosity: |
Available Tools
Each tool carries MCP tool annotations that well-behaved clients (VS Code Copilot, Claude Desktop, etc.) use to show appropriate confirmation prompts. Because SnapiX retains no history and no soft-delete, every update or delete is irreversible — destructiveHint is set to true on all mutating tools accordingly.
Tool | Description | Credits | Read-only | Destructive | Idempotent | Open-world |
| Fetch SDK, API, MCP, or About documentation | Free | ✓ | n/a | ✓ | – |
| Guidance tool - explains how to convert images using the upload tool | Free | ✓ | n/a | ✓ | – |
| Upload an image from URL or local file, optionally convert format and resize | 1+ | – | – | – | ✓ |
| Generate an image from a text prompt, optionally guided by a template image (Gemini AI)* | 40+ | – | – | – | ✓ |
| List images with pagination and filtering | Free | ✓ | n/a | ✓ | – |
| Get full details for a single image | Free | ✓ | n/a | ✓ | – |
| Update image metadata, gallery assignments, or replace/re-convert the image | Free† | – | ✓ | – | ✓ |
| Permanently delete an image | Free | – | ✓ | ✓ | – |
| Create a new gallery, optionally with existing images | Free | – | – | – | – |
| List all galleries | Free | ✓ | n/a | ✓ | – |
| Get gallery details with all images | Free | ✓ | n/a | ✓ | – |
| Get all images not assigned to any gallery | Free | ✓ | n/a | ✓ | – |
| Update gallery name or visibility | Free | – | ✓ | ✓ | – |
| Delete a gallery, optionally with all its images | Free | – | ✓ | ✓ | – |
snapix_generate_imagerequires a paid subscription. Accepts a text prompt plus an optional template image (URL, local file path, or base64) and generates an image using Gemini AI.
† snapix_update_image is free for metadata-only updates. Costs 1+ App credits when formatOptions, resizeOptions, or a replacement image source is provided.
Resources
MCP Resources provide passive context that AI clients can pre-load without making explicit tool calls.
URI | Description |
| All galleries (name, id, visibility, image count) |
| Gallery details with all images and CDN URLs |
| All images not assigned to any gallery |
| Recent images (first page) with metadata and CDN URLs |
| Full image metadata, variants, dimensions, and CDN URLs |
Prompts
MCP Prompts are interactive workflow templates that AI clients can invoke on demand. Clients that support the MCP prompts capability (VS Code Copilot, Claude, and others) expose them as slash commands or selectable actions in the chat interface.
Prompt | Description |
| Guided setup of |
Rate Limiting
The MCP server respects the same rate limits as the REST API. When a rate limit is hit (HTTP 429), the server returns an MCP error with a retryable flag, signaling to the AI client that it should wait and retry the request.
Credits & Quotas
Free operations: listing, getting, updating metadata, and deleting images/galleries
Credit-consuming operations: uploading images (1+ credits), generating images (40+ credits)
Credit costs follow the same rules as the REST API
When credits are exhausted, the server returns a clear error message
Programmatic Usage
createSnapixMcpServer creates and returns a configured McpServer instance:
import { createSnapixMcpServer } from "@metalevel/snapix-mcp-server";
const server = createSnapixMcpServer({
apiKey: process.env.SNAPIX_API_KEY!,
baseUrl: "https://www.snapix.space", // optional
bucketKey: process.env.SNAPIX_BUCKET_KEY, // optional
logLevel: "warn", // optional: debug | info | warn | error | silent
transport: "stdio", // optional: "stdio" (default) | "http"
});handleStatelessRequest powers the hosted /api/mcp HTTP endpoint - it is designed for internal server-side usage and is not intended as a general-purpose public API:
import { handleStatelessRequest } from "@metalevel/snapix-mcp-server";
export async function POST(request: Request): Promise<Response> {
return handleStatelessRequest(request, {
apiKey: request.headers.get("Authorization")?.replace("Bearer ", "") ?? "",
bucketKey: request.headers.get("X-Snapix-Bucket-Key") ?? undefined,
});
}Documentation
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/metalevel-tech/snapix-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server