Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
IMG_SRC_API_KEYYesYour img-src.io API key (starts with imgsrc_)
IMG_SRC_API_URLNoAPI base URL (default: https://api.img-src.io)https://api.img-src.io

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
upload_imageA

Upload an image to img-src.io. IMPORTANT: Always prefer 'file_path' (absolute path like /Users/name/image.png) over base64 'data' to avoid context length limits. Use 'url' for web images. Only use 'data' as last resort for small images. Supports JPEG, PNG, WebP, GIF, AVIF, HEIC, and more. Max 5MB. Returns CDN URLs for the uploaded image.

list_imagesA

List images in your img-src.io account. Supports pagination and folder browsing. Returns images and subfolders in the specified path.

search_imagesB

Search for images by filename or path. Performs a fuzzy search across all your images. Returns matching images with their metadata and CDN URLs.

get_imageA

Get detailed metadata for a specific image by its ID. Returns full image information including dimensions, format, all associated paths, and CDN URLs.

delete_imageA

Delete an image by its ID. This permanently removes the image and all its paths from your account. The image will no longer be accessible via CDN URLs.

get_usageA

Get current usage statistics for your img-src.io account. Shows uploads, storage, bandwidth, and API request usage against your plan limits.

get_settingsB

Get your img-src.io account settings. Returns username, plan, default image settings, and account statistics.

get_cdn_urlB

Generate a CDN URL for an image with optional transformations. Supports resizing, format conversion, and quality adjustment.

Prompts

Interactive templates invoked by user choice

NameDescription
upload-and-shareUpload an image and get shareable CDN URLs
check-usageCheck account usage and storage status
find-imagesSearch for images by keyword

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/img-src-io/mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server