Media Toolkit MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PEXELS_API_KEY | No | Pexels API key for stock photo search. Required only for search_stock_media tool. Free at https://www.pexels.com/api/ | |
| IMAGE_OUTPUT_DIR | No | Directory to save output images | ./output |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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