pexels-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | Host to bind. Default: 127.0.0.1. | 127.0.0.1 |
| PORT | No | Port to bind. Default: 8000. | 8000 |
| LOG_LEVEL | No | Python log level. Default: INFO. | INFO |
| REDIS_URL | No | Redis URL for persistent OAuth state. Supports rediss://. | |
| TRANSPORT | No | The transport protocol: streamable-http or stdio (default). | stdio |
| LOG_FORMAT | No | Log format: json or text. Default: json in HTTP, text in stdio. | |
| MCP_SERVER_URL | No | Public HTTPS URL of this service. Required for HTTP transport. | |
| PEXELS_API_KEY | No | Pexels API key. Required for stdio mode. | |
| MCP_ALLOWED_HOSTS | No | Comma-separated Host allowlist. Defaults to MCP_SERVER_URL's hostname if unset. | |
| MCP_ENCRYPTION_KEY | No | 32-byte url-safe base64 Fernet key. Required if REDIS_URL is set. | |
| MCP_TRUSTED_PROXY_HOPS | No | Number of proxies in front. Default: 1. | 1 |
| MCP_RATE_LIMIT_PER_MINUTE | No | Per-IP rate limit. Default: 60. | 60 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| pexels_search_photosA | Search Pexels for free, commercially-usable stock photos. |
| pexels_get_photoA | Fetch one Pexels photo by id. |
| pexels_search_videosA | Search Pexels for free, commercially-usable stock videos. |
| pexels_get_videoA | Fetch one Pexels video by id. |
| pexels_get_collection_mediaA | Read the photos + videos inside a Pexels collection. |
| pexels_get_curated_photosA | Fetch Pexels' editor-curated daily photo feed. |
| pexels_get_popular_videosA | Fetch Pexels' trending video feed. |
| pexels_get_featured_collectionsA | Discover Pexels' editor-curated collections. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| find_hero_image | Marketing hero image with brand color + aspect ratio. |
| find_broll | Stock video clip for B-roll / hero loop / ad motion. |
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/VictorNain26/pexels-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server