mcp-server-pexels
Provides tools for searching photos and videos, retrieving curated and popular content, and accessing featured collections and their media via the Pexels API.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-server-pexels
An MCP (Model Context Protocol) server for the Pexels API. Built in Rust, exposes photo search, video search, and curated/featured content as MCP tools.
Communicates via stdio using JSON-RPC 2.0.
Tools
Tool | Description |
| Search photos by query with optional orientation/size/color/locale filters |
| Get a paginated list of curated, hand-picked photos |
| Retrieve a single photo by ID |
| Search videos by query with optional orientation/size/locale filters |
| Get popular videos with optional dimension and duration filters |
| Retrieve a single video by ID |
| List featured collections (themed sets of media) |
| List media in a specific collection (filterable by photos/videos) |
Related MCP server: pexels-mcp-server
Prerequisites
Rust (edition 2024)
A Pexels API key from pexels.com/api
Setup
mkdir -p ~/.config/mcp-server-pexelsCreate ~/.config/mcp-server-pexels/config.toml:
api_key = "your-pexels-api-key"Build
cargo build --releaseProduces target/release/mcp-server-pexels.
MCP configuration
{
"mcpServers": {
"pexels": {
"command": "/path/to/mcp-server-pexels"
}
}
}Project structure
src/
main.rs - entry point, config loading, stdio transport
server.rs - MCP tool definitions
api.rs - Pexels HTTP client and response types
params.rs - tool parameter types
config.rs - TOML config loadingLicense
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for Pixapi: check live credit pricing and balance, then generate images and video.
MCP server exposing the YourImageShare upload API (upload/list/delete) as tools for AI agents.
Hosted MCP server for live public-data APIs and Skills for AI agents.
MCP server for Google Veo AI video generation
Related MCP Servers
- FlicenseBqualityDmaintenanceA Model Context Protocol server that provides access to the Pexels API for searching and retrieving photos, videos, and collections.8148 PyPI31-
- AlicenseAqualityAmaintenanceAn MCP server that enables AI agents to search, retrieve, and curate free stock photos and videos from Pexels, with tools, resources, and prompts for easy integration.8MIT
- FlicenseAqualityDmaintenanceAn MCP server to search for photos and videos on Pexels.3-
- AlicenseAqualityDmaintenanceAn MCP server for the Pexels API that provides inline visual previews, video storyboards, and batch operations for efficient stock media selection in Claude and other MCP clients.13MIT