Model Context Protocol

dresez MCP server

Let Claude, Cursor, or any MCP-capable agent post items and search listings on dresez — the second-hand fashion marketplace.

Connect

Point your MCP client at the streamable-HTTP endpoint:

https://mcp.dresez.com/mcp

Claude Desktop / Cursor (via mcp-remote)

{
  "mcpServers": {
    "dresez": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.dresez.com/mcp"]
    }
  }
}

Add the server, restart the client, and you'll see the create_post, search_posts, and add_image_from_url tools.

Two ways to post

Guest — no account

Connect with no credentials and post right away. Each guest listing is created under a throwaway anonymous identity. Perfect for one-off posts.

As yourself — personal token

Sign in at dresez.comSettings → Connect to AI, generate a token, and your posts are tied to your account.

Using a personal token

Pass it as a bearer header:

{
  "mcpServers": {
    "dresez": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote", "https://mcp.dresez.com/mcp",
        "--header", "Authorization: Bearer dsz_mcp_YOUR_TOKEN"
      ]
    }
  }
}

Tokens are shown once at creation. Revoke them any time from Settings.

Tools

create_post

Create a listing. It enters moderation (status PENDING) and appears once approved.

FieldTypeNotes
title requiredstringShort item title.
country requiredstringISO 3166-1 alpha-2 (e.g. PK, US).
descriptionstringModel, size, condition notes, accessories.
pricenumberAsking price in currencyCode.
currencyCodestringISO 4217 (USD, PKR, INR, EUR…).
genderenummen | women | unisex | kids.
conditionenumpre-loved | new.
city, regionstringFree-text location.
hashTagsstring[]Tags without #.
imageUrlsstring[]URLs from add_image_from_url (must be dresez-hosted).
search_posts

Search approved listings. Returns up to 8 compact hits with shareable URLs.

FieldTypeNotes
qstringFree-text (brand, item, colour). Typo-tolerant.
countrystringISO country code filter.
genderenumAs above.
priceMin, priceMaxnumberInclusive price bounds.
limitnumber1–8 (default 8).
add_image_from_url

Fetch a public image by URL and store it on dresez, returning an assets.dresez.com URL to pass into create_post.imageUrls. Only http(s) URLs pointing to a jpeg/png/webp/gif are accepted.

FieldTypeNotes
url requiredstringPublic image URL.

Example flow

  1. (Optional) add_image_from_url for each photo → collect the returned dresez URLs.
  2. create_post with title, country, price, and the image URLs.
  3. The tool returns a postId and a shareable listing url; the post goes live once moderation approves it.

Good to know