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.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-server-pexelsSearch for high-resolution photos of New York City skyline"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceMCP server to search and download stock images from Pexels, Unsplash, and PixabayLast updated2493MIT
- FlicenseBqualityDmaintenanceA Model Context Protocol server that provides access to the Pexels API for searching and retrieving photos, videos, and collections.Last updated818
- AlicenseAqualityBmaintenanceAn 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.Last updated8MIT
- AlicenseAqualityDmaintenanceAn MCP server to search for photos and videos on Pexels.Last updated322MIT
Related MCP Connectors
MCP server for Google Veo AI video generation
MCP server for Pentest-Tools.com: run scans, manage findings and reports via your preffered LLM.
MCP server for Wan AI video generation
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/codeChap/mcp-server-pexels'
If you have feedback or need assistance with the MCP directory API, please join our Discord server