Skip to main content
Glama
Serbyte-Development

Image Search MCP

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PEXELS_API_KEYNoYour Pexels API key. At least one provider key is required.
PIXABAY_API_KEYNoYour Pixabay API key. At least one provider key is required.
UNSPLASH_ACCESS_KEYNoYour Unsplash access key. At least one provider key is required.
IMAGE_SEARCH_MCP_ALLOWED_HOSTSNoComma-separated list of allowed hosts for optional transport security.
IMAGE_SEARCH_MCP_ALLOWED_ORIGINSNoComma-separated list of allowed origins for optional transport security.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_stock_imagesA

Search for royalty-free stock images across multiple providers.

Args: query: Search query string providers: Providers to search. Valid values are pexels, unsplash, and pixabay. Names are case-insensitive. If a provider is requested but invalid or unavailable, the search returns an error instead of silently substituting. per_page: Number of results per page page: Page number for pagination sort_by: Sort order ('relevant', 'newest') include_attribution: Whether to include attribution links (defaults to value from ENABLE_ATTRIBUTION_LINKS env var)

Returns: Search results with metadata

get_image_detailsA

Get detailed information about a specific image.

Args: image_id: Provider-prefixed image ID (e.g., 'pexels_12345') include_attribution: Whether to include attribution links (defaults to value from ENABLE_ATTRIBUTION_LINKS env var)

Returns: Detailed image information or None if not found

download_imageA

Download an image to local storage or return base64 encoded data.

Args: image_id: Image ID in format provider_id (e.g., pexels_123456) size: Image size variant to download Options: thumbnail, small, medium, large, original output_path: Optional path to save the image locally. NOTE: If a relative path is provided, it will be resolved from the Image Search MCP server's current working directory, which may not be the project directory. To ensure the file is saved in a specific location, use an absolute path (e.g., /home/user/image-search-mcp/downloads/image.jpg).

Returns: Path to downloaded file or base64 data

Example: download_image("pexels_123456", size="medium", output_path="/absolute/path/to/save.jpg")

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
help_resourceProvide help documentation for the Image Search MCP server.

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/Serbyte-Development/image-search-mcp'

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