Secondhand MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MARKETPLACES | No | Comma-separated list of marketplaces to enable (facebook, ebay, depop, poshmark). Defaults to all if not set. | |
| EBAY_CLIENT_ID | No | Your eBay Client ID for the Browse API. Optional; if missing, eBay marketplace is disabled. | |
| EBAY_CLIENT_SECRET | No | Your eBay Client Secret for the Browse API. Optional; if missing, eBay marketplace is disabled. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Secondhand MCP searches live listings on Facebook Marketplace, eBay, Depop and Poshmark.
Locations: Facebook Marketplace searches are local, so pass a US city and state as "City, ST" — for example "Austin, TX" or "Portland, OR". Do not pass a bare city name: there are 20 Springfields and several Portlands, and the wrong one returns listings from the wrong state. Before calling, translate whatever the user said into a city and state:
"near me" or "around here" — use the location they gave you earlier in the conversation; ask if you do not have one.
a neighborhood, borough or landmark ("Capitol Hill", "the Mission") — use its city and state.
a ZIP code — use the city and state it belongs to.
a metro area ("the Bay Area", "DFW") — pick its principal city.
somewhere outside the US — pass the city and country as written; those resolve differently.
Empty results usually mean the search was too narrow, not that nothing exists. Before telling the user there is nothing available, try the obvious widening: drop qualifiers from the query down to the item itself, remove price bounds, or search the nearest larger city. Say which of these you tried.
Filters are not universal — each parameter says which marketplaces apply it. Where one does not apply it is ignored, so do not describe results as filtered by something that marketplace never applied; put those words in the query instead.
Always link every listing you mention, without the user asking. The link is how they open photos, check the seller, and buy — a listing shown without its link is a dead end. Use the listing title as the link text, and keep each link with its item rather than collecting links at the end.
Results are read-only. Nothing here can message a seller, make an offer, or buy anything, so do not tell the user an item has been purchased or reserved.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_marketplaceA | Search live listings on secondhand marketplaces by keyword. Marketplaces: . Returns up to |
| get_listing_detailsA | Get one listing in full using an id from search_marketplace or from a marketplace URL: description, every photo, location, seller and shipping options. An eBay listing sold in several options also lists what they differ by, their price range and a few options with their own price and link. Photos: by default (imageMode:"urls") you get direct full-resolution CDN image URLs to fetch yourself, which is the most reliable option because some CDNs block server-side fetches. Set imageMode:"inline" (or includeImages:true) to have the server fetch the photos and return them as base64 image blocks; if that fetch is blocked the server falls back to URLs. Use imageSize to trade resolution for payload and maxImages to cap the count. Requirements: the same as search_marketplace for that marketplace. Behavior: read-only, one listing per call, no login. Errors: a listing that has been removed, or an id from the wrong marketplace, returns an error message rather than a partial listing. Not for: searching (use search_marketplace) or fetching many listings at once. |
| list_marketplacesA | List the marketplaces this server can search right now, with each one's display name, whether it needs credentials, and whether it is currently reachable. Call it once when a search fails with an unknown-marketplace error or before offering a marketplace the user did not name. Behavior: read-only, no arguments, no network calls beyond a health check. Not for: searching or fetching listings. |
| searchA | Search every available secondhand marketplace at once with a single query string, following the ChatGPT deep research tool contract. Returns results whose ids (marketplace:listingId) can be passed to the fetch tool. Behavior: read-only; Facebook results use the server's default location because this contract carries no location, so prefer search_marketplace when a place matters. Not for: filtered or local searches. |
| fetchA | Fetch one listing in full for an id returned by the search tool, following the ChatGPT deep research tool contract. Id format: marketplace:listingId (for example "facebook:12345" or "ebay:v1|123|456"). Behavior: read-only. Errors: an id without the marketplace prefix, or for a removed listing, returns an error message. Not for: ids from search_marketplace, which take get_listing_details. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
The set contains two intentional pairs of overlapping tools: search_marketplace vs. search, and get_listing_details vs. fetch. Descriptions explain the distinction via different contracts and id formats, which helps, but an agent can still easily choose the wrong search/fetch variant.
Three tools follow a clear verb_noun snake_case pattern (search_marketplace, list_marketplaces, get_listing_details), while two are bare verbs (search, fetch). The mixed convention is still readable, but it is inconsistent across the set.
Five tools is well-scoped for a read-only secondhand marketplace browsing server. Each tool corresponds to a meaningful capability: discovery, marketplace availability, search, and listing detail retrieval.
The surface covers the core read-only workflow: list marketplaces, search listings, and retrieve full listing details with photos and shipping. Buying, messaging, saved searches, and seller-contact operations are explicitly out of scope, so there are no major dead ends for the stated purpose.