# Pexels — MCP server on mcp.ai > Connect your Pexels account and use 9 tools for images and design straight from your AI agent. Connect with your own API key. Pexels offers a free API that provides access to a vast library of high-quality photos and videos, enabling seamless integration into applications and websites. By: mcp.ai · official Page: https://new.mcp.ai/pexels ## Connect (MCP protocol) Remote MCP endpoint (HTTP, streamable): https://api.mcp.ai/p_pexels?ms=1796396520000 Add it as a custom/remote MCP connector, then authenticate when prompted. ## Install in your AI client (step by step) Link to paste in any client: https://api.mcp.ai/p_pexels ### Claude 1. Copy the Pexels link above (Copy button). 2. In Claude, Plugins → Add → Add custom connector: name Pexels, paste the link and click Continue. Under Authentication, choose Sign in now and click Add. 3. The first time, Claude opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Pexels needs your account, the AI sends you a link: click Connect Pexels and authorize. 5. Done: just ask in the chat. Open: https://claude.ai/plugins ### ChatGPT 1. Copy the Pexels link above (Copy button). 2. In ChatGPT (web), Plugins → Add → Add custom MCP server: name Pexels, paste the link, under Authentication choose OAuth or no authentication, check I understand, click Create as a plugin, then Sign in with Pexels. 3. The first time, ChatGPT opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Pexels needs your account, the AI sends you a link: click Connect Pexels and authorize. 5. Done: just ask in the chat. Open: https://chatgpt.com/plugins ### Cursor 1. Copy the Pexels link above (Copy button). 2. In Cursor, Settings → MCP → "Add new MCP server", paste the link and save. 3. The first time, Cursor opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Pexels needs your account, the AI sends you a link: click Connect Pexels and authorize. 5. Done: just ask in the chat. ### Claude Desktop 1. Copy the Pexels link above (Copy button). 2. Added it in Claude? The connector lives in your account and shows up on Desktop. If not, Plugins → Add → Add custom connector, paste the link and choose Sign in now. 3. The first time, Claude opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Pexels needs your account, the AI sends you a link: click Connect Pexels and authorize. 5. Done: just ask in the chat. ### Manus 1. Copy the Pexels link above (Copy button). 2. Paste the link into a Manus chat and ask it to connect the MCP server. 3. The first time, Manus opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Pexels needs your account, the AI sends you a link: click Connect Pexels and authorize. 5. Done: just ask in the chat. ### Agents 1. Copy the Pexels link above (Copy button). 2. Paste the link into your MCP-compatible agent (remote HTTP server). 3. The first time, agent opens the mcp.ai sign-in: sign in with Google or email and click Allow. 4. When Pexels needs your account, the AI sends you a link: click Connect Pexels and authorize. 5. Done: just ask in the chat. ## REST API (no MCP client required) Every tool is also a REST endpoint, authed with a workspace API key. Discover: GET https://api.mcp.ai/api/pexels/_endpoints # public; lists every endpoint Call: POST https://api.mcp.ai/api/pexels/ Authorization: Bearer sk_live_… # create one at https://new.mcp.ai/settings/api-keys Content-Type: application/json Body: { …args } → { "ok": true, "tool": "", "result": { … } } ## Developer docs Install guide (prompt + clients + REST), markdown: https://new.mcp.ai/pexels/index.md How to use (MCP or REST), markdown: https://new.mcp.ai/pexels/skill.md Postman collection (v2.1): https://new.mcp.ai/pexels/postman.json ## Tools - pexels_collection_media(id: string, page?: integer, per_page?: integer) — Tool to get all media within a collection by its ID. Use when you need to fetch paginated media from a specific collection. - pexels_curated_photos(page?: integer, per_page?: integer) — Tool to get real-time curated photos. Use when you need to fetch curated photos with pagination support. - pexels_featured_collections(page?: integer, per_page?: integer) — Tool to get featured collections. Use when you need curated collections of photos and videos with pagination support. - pexels_get_photo(id: integer) — Tool to retrieve detailed information about a specific photo. Use when you have a valid photo ID to fetch metadata including dimensions, photographer details, and image URLs. Use after confirming the - pexels_get_video_by_id(id: integer) — Tool to retrieve detailed information about a specific video from Pexels. Use when you have a valid video ID to fetch metadata including dimensions, duration, videographer details, and available video - pexels_my_collections(page?: integer, per_page?: integer) — Tool to get all of the user's collections on Pexels. Use when you need to list a user's collections with pagination support. - pexels_popular_videos(page?: integer, per_page?: integer) — Tool to retrieve current popular Pexels videos. Use when you want to fetch trending videos from Pexels. - pexels_search_photos(page?: integer, size?: string, color?: string, query: string, locale?: string, per_page?: integer, orientation?: string) — Tool to search for photos on Pexels. Use when you need to retrieve photos by a search term and optional filters. Call after confirming you have a valid Pexels API key. Response image URLs are nested u - pexels_search_videos(page?: integer, size?: string, query: string, per_page?: integer, orientation?: string) — Tool to search for videos on Pexels by query and optional filters. Use when you need to find relevant video assets. Combining multiple filters with a narrow query may return few or no results; only ap ## Example prompts - "What can I do in Pexels?" - "Show me a summary of my Pexels account" ## Links Docs: https://mcp.ai/docs/mcps/pexels Website: https://mcp.ai/mcps/pexels