Skip to main content
Glama
kevinten-ai

Media Toolkit MCP Server

by kevinten-ai

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PEXELS_API_KEYNoPexels API key for stock photo search. Required only for search_stock_media tool. Free at https://www.pexels.com/api/
IMAGE_OUTPUT_DIRNoDirectory to save output images./output

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
remove_backgroundA

Remove the background from an image using AI (rembg). Works locally — no cloud API needed. The model (~170MB) is downloaded automatically on first use.

search_stock_mediaA

Search free stock photos via the Pexels API. Returns image URLs with photographer credits. Requires PEXELS_API_KEY env var (free at pexels.com/api).

resize_imageA

Resize or crop an image to specific dimensions. Supports three modes: fit (preserve aspect ratio, fit within bounds), fill (preserve aspect ratio, cover bounds), crop (center crop to exact size). Works locally with Pillow.

convert_formatC

Convert an image between formats: PNG, JPG, WebP, or SVG to PNG. Works locally with Pillow. Note: SVG input is rasterized to PNG via cairosvg if available, otherwise Pillow.

create_collageB

Arrange multiple images into a grid collage. Images are resized to fit uniformly. Works locally with Pillow.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

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/kevinten-ai/mcp-media-toolkit'

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