topic_photos
Pack: unsplash · Endpoint: https://gateway.pipeworx.io/unsplash/mcp
List photos belonging to a specific Unsplash topic by id or slug; returns paginated photo objects with image URLs, EXIF, and photographer info.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id_or_slug | string | yes |
Example call
Arguments
{
"id_or_slug": "nature"
}
curl
curl -X POST https://gateway.pipeworx.io/unsplash/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"topic_photos","arguments":{"id_or_slug":"nature"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('topic_photos', {
"id_or_slug": "nature"
});
More examples
{
"id_or_slug": "nature",
"per_page": 30
}
Response shape
Always returns: items, count
| Field | Type | Description |
|---|---|---|
items | array | Array of photos in the topic |
count | integer | Number of items returned. |
Full JSON Schema
{
"type": "object",
"properties": {
"items": {
"type": "array",
"description": "Array of photos in the topic",
"items": {
"type": "object",
"additionalProperties": true
}
},
"count": {
"type": "integer",
"description": "Number of items returned."
}
},
"required": [
"items",
"count"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"unsplash": {
"url": "https://gateway.pipeworx.io/unsplash/mcp"
}
}
}
See Getting Started for client-specific install steps.