Search stock photos
search_stock_photosSearch Unsplash or Pexels for royalty-free photos, returning image URLs with required attribution for direct use in your WordPress library.
Instructions
Search Unsplash or Pexels for royalty-free photos and get back candidate image URLs with their required attribution. Pass a chosen result's download_url to create_media (along with its attribution) to bring it into the library. Requires UNSPLASH_ACCESS_KEY or PEXELS_API_KEY to be set on this MCP server.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_stock_photos"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What to search for, e.g. "modern office desk". | |
| per_page | No | How many results per page. | |
| provider | No | Which provider to use. "auto" picks whichever API key is configured. | auto |
| orientation | No | Preferred aspect ratio. |