GhostfeedGhostfeed MCPv13.2.0
MCP docs

Library

Image collections and registered products, the workspace's own reusable assets. Discover ids here to mention collections or weave products into slideshows, and build collections from Pinterest searches, pins and boards the same way the dashboard's Add images does.

list_collections

READ

REST: GET /api/v2/collections

List the user's saved workspace image collections, paginated, with IDs, names, counts, dashboardUrl, and visual summaries. Before building with their images, choose by summary, browse list_collection_images, and save the ones you use with save_slide_asset type collection on an HTML slide; on a classic slide place one with set_slide_background. To SHOW these results in an MCP Apps host, ALWAYS call render_library; never hand-build the presentation in chat (no markdown galleries, embedded thumbnails, numbered image lists, or artifacts), even after a widget error. Outside an Apps host, describe items in text and share the dashboard link.

Input schema
{
  "type": "object",
  "properties": {
    "page": {
      "description": "Page number (default 1).",
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    },
    "limit": {
      "description": "Per page (max 100). Each tool documents its own default.",
      "type": "integer",
      "minimum": 1,
      "maximum": 100
    },
    "includeEmpty": {
      "description": "Also list collections with no images yet, such as one just made with create_collection (default false).",
      "type": "boolean"
    },
    "workspace": {
      "description": "Target workspace: a slug, id, or exact name from list_workspaces. Omit to use this connection's default workspace. Must be inside the credential's grant and your current access; overrides the connection-level X-Workspace-Id header.",
      "type": "string"
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
Example response
{
  "success": true,
  "data": {
    "workspace": {
      "id": "6a18c36ee586c7e44e4ece67",
      "name": "Client A",
      "slug": "client-a"
    },
    "collections": [
      {
        "id": "64f1c2a1b2c3d4e5f6073000",
        "name": "Skincare UGC",
        "imageCount": 24,
        "summary": "24 close-up product shots of skincare bottles and droppers on clean neutral backgrounds.",
        "dashboardUrl": "https://ghostfeed.ai/w/client-a/collections/64f1c2a1b2c3d4e5f6073000?ref=agent"
      }
    ],
    "total": 1,
    "page": 1,
    "pages": 1,
    "nextSteps": "To feature a collection's images in a deck, browse it with list_collection_images and save the ones you want with save_slide_asset (type collection)."
  }
}

create_collection

WRITE

REST: POST /api/v2/collections

Create an empty workspace image collection by name, like New collection in the dashboard. Free. Fill it with add_collection_images. To SHOW these results in an MCP Apps host, ALWAYS call render_library; never hand-build the presentation in chat (no markdown galleries, embedded thumbnails, numbered image lists, or artifacts), even after a widget error. Outside an Apps host, describe items in text and share the dashboard link.

Input schema
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "Collection name, as the user would see it in Collections."
    },
    "workspace": {
      "type": "string",
      "minLength": 1,
      "description": "Required write target: a workspace slug or id from list_workspaces. Writes never inherit the connection default."
    }
  },
  "required": [
    "name",
    "workspace"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
Example response
{
  "success": true,
  "data": {
    "workspace": {
      "id": "6a18c36ee586c7e44e4ece67",
      "name": "Client A",
      "slug": "client-a"
    },
    "collection": {
      "id": "64f1c2a1b2c3d4e5f6073001",
      "name": "Cozy cafe mornings",
      "imageCount": 0,
      "dashboardUrl": "https://ghostfeed.ai/w/client-a/collections/64f1c2a1b2c3d4e5f6073001?ref=agent"
    },
    "nextSteps": "Fill it with add_collection_images using Pinterest image URLs from search_pinterest or a finished get_pinterest_import, or mediaIds of uploaded images from complete_media_upload."
  }
}

add_collection_images

WRITE

REST: POST /api/v2/collections/:collectionId/images

Save up to 50 images into a collection: Pinterest image URLs (from search_pinterest or get_pinterest_import) in imageUrls, and the mediaIds of completed image uploads (from complete_media_upload, such as the user’s own photos) in mediaIds. Each is copied into Ghostfeed storage. Free. Images already in the collection are skipped. One bad image fails the batch and adds nothing. To SHOW these results in an MCP Apps host, ALWAYS call render_library; never hand-build the presentation in chat (no markdown galleries, embedded thumbnails, numbered image lists, or artifacts), even after a widget error. Outside an Apps host, describe items in text and share the dashboard link.

Input schema
{
  "type": "object",
  "properties": {
    "collectionId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "A collection id from create_collection or list_collections."
    },
    "imageUrls": {
      "description": "Pinterest image URLs (*.pinimg.com) from search_pinterest results or a finished get_pinterest_import.",
      "minItems": 1,
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 2000
      }
    },
    "mediaIds": {
      "description": "mediaIds of completed image uploads from complete_media_upload, such as the user's own photos or a chat attachment. At most 128 MB of uploads per call.",
      "minItems": 1,
      "maxItems": 50,
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[A-Za-z0-9_-]{8,64}$"
      }
    },
    "workspace": {
      "type": "string",
      "minLength": 1,
      "description": "Required write target: a workspace slug or id from list_workspaces. Writes never inherit the connection default."
    }
  },
  "required": [
    "collectionId",
    "workspace"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
Example response
{
  "success": true,
  "data": {
    "workspace": {
      "id": "6a18c36ee586c7e44e4ece67",
      "name": "Client A",
      "slug": "client-a"
    },
    "collection": {
      "id": "64f1c2a1b2c3d4e5f6073001",
      "name": "Cozy cafe mornings",
      "imageCount": 12,
      "dashboardUrl": "https://ghostfeed.ai/w/client-a/collections/64f1c2a1b2c3d4e5f6073001?ref=agent"
    },
    "added": 12,
    "skipped": 0,
    "nextSteps": "The images are saved to the collection. Browse them with list_collection_images; save one for a slide with save_slide_asset type collection."
  }
}

import_pinterest_url

WRITE

REST: POST /api/v2/pinterest/imports

Start importing a Pinterest pin or board URL's images in the background, like pasting the link into Add images. Free. Returns a jobId; read the images with get_pinterest_import.

Input schema
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000,
      "description": "A Pinterest pin or board URL, as the user pasted it."
    },
    "workspace": {
      "description": "Target workspace: a slug, id, or exact name from list_workspaces. Omit to use this connection's default workspace. Must be inside the credential's grant and your current access; overrides the connection-level X-Workspace-Id header.",
      "type": "string"
    }
  },
  "required": [
    "url"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
Example response
{
  "success": true,
  "data": {
    "workspace": {
      "id": "6a18c36ee586c7e44e4ece67",
      "name": "Client A",
      "slug": "client-a"
    },
    "import": {
      "jobId": "9b1f3c2e-7a4d-4e1b-9c8a-2f6d5e4c3b2a",
      "sourceUrl": "https://www.pinterest.com/creator/cozy-cafe-mornings/",
      "status": "queued",
      "imageUrls": [],
      "count": 0
    },
    "nextSteps": "Still importing. Call get_pinterest_import with this jobId and waitMs 25000; never start the same import again."
  }
}

get_pinterest_import

READ

REST: GET /api/v2/pinterest/imports/:jobId

Read a Pinterest import's status and, once it succeeds, its image URLs and the board's suggested name. Pass waitMs to wait for it to finish in one call. To SHOW these results in an MCP Apps host, ALWAYS call render_library; never hand-build the presentation in chat (no markdown galleries, embedded thumbnails, numbered image lists, or artifacts), even after a widget error. Outside an Apps host, describe items in text and share the dashboard link.

Input schema
{
  "type": "object",
  "properties": {
    "jobId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 100,
      "description": "The jobId returned by import_pinterest_url."
    },
    "waitMs": {
      "description": "Wait server-side up to this many milliseconds (max 25000) and return as soon as the import succeeds or fails. Omit to read the current state immediately.",
      "type": "integer",
      "minimum": 0,
      "maximum": 25000
    },
    "workspace": {
      "description": "Target workspace: a slug, id, or exact name from list_workspaces. Omit to use this connection's default workspace. Must be inside the credential's grant and your current access; overrides the connection-level X-Workspace-Id header.",
      "type": "string"
    }
  },
  "required": [
    "jobId"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}
Example response
{
  "success": true,
  "data": {
    "workspace": {
      "id": "6a18c36ee586c7e44e4ece67",
      "name": "Client A",
      "slug": "client-a"
    },
    "import": {
      "jobId": "9b1f3c2e-7a4d-4e1b-9c8a-2f6d5e4c3b2a",
      "sourceUrl": "https://www.pinterest.com/creator/cozy-cafe-mornings/",
      "status": "succeeded",
      "kind": "board",
      "imageUrls": [
        "https://i.pinimg.com/736x/a1/b2/c3/a1b2c3cafe1.jpg",
        "https://i.pinimg.com/736x/d4/e5/f6/d4e5f6cafe2.jpg"
      ],
      "count": 2,
      "suggestedName": "Cozy cafe mornings"
    },
    "nextSteps": "Pick the images to keep, then add_collection_images (at most 50 per call) into an existing collection or one made with create_collection; suggestedName is the board's own name."
  }
}