pexels-mcp-pro
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PEXELS_API_KEY | Yes | Your Pexels API key (required, get one at https://www.pexels.com/api/) | |
| PEXELS_DOWNLOAD_DIR | No | Optional default download directory for the download_media tool |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_photosA | Search Pexels photos. Returns one compact line per photo (#id, dimensions, photographer, alt, avg color) plus inline thumbnails by default so you can visually validate matches immediately without downloading anything. |
| search_videosA | Search Pexels videos. Returns one compact line per video (#id, dimensions, duration, qualities, frame count) plus inline poster thumbnails by default. Use video_storyboard on a candidate to see frames from inside the clip before downloading. |
| batch_searchA | Run up to 6 search queries in parallel in a single call (photos or videos), deduplicated across queries. Ideal for gathering candidates for a multi-scene piece of content in one shot. |
| preview_photosA | Fetch inline thumbnails for specific photo #ids (from earlier searches — costs no API quota for already-seen ids). Use a larger height for a closer look at finalists. |
| video_storyboardA | Return the poster plus evenly-sampled preview frames from inside a video as inline images — validate motion/content/framing of a clip without downloading it. Costs no API quota for videos already seen in a search. |
| curated_photosB | Pexels' hand-curated photo feed (fresh, high quality). Same compact format + inline thumbnails as search_photos. |
| popular_videosB | Pexels' current popular videos, with optional min-resolution/duration constraints. Compact format + inline poster thumbnails. |
| featured_collectionsB | List Pexels featured collections (themed sets of media). Use collection_media with a collection id to browse one. |
| collection_mediaB | List media inside a collection (photos and/or videos), compact format + inline thumbnails. |
| get_mediaA | Full metadata for one photo or video by #id: all source/download URLs, video files with fps and resolutions, Pexels page URL. Use only when you need URLs or exact file variants — search lines + previews are enough for choosing. |
| download_mediaA | Download one or more photos/videos by #id to a local directory (default ./pexels-media, override with |
| get_attributionA | Generate attribution lines for used media (Pexels license: free to use, attribution appreciated but not required). Styles: plain, markdown, html. |
| api_statusA | Pexels quota remaining, reset time, and this session's cache stats. Thumbnails and downloads never consume quota. |
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/fkilter/pexels-mcp-pro'
If you have feedback or need assistance with the MCP directory API, please join our Discord server