• Notifications
  • Messages
  • Complaints
  • Offers
  • Chats
  • Logout
  • РУС ENG

API




What is MCP

MCP (Model Context Protocol) is an open protocol that lets LLM clients (Claude Code, Cursor, VS Code and others) connect to external data sources.

The server exposes the public plati.market catalogue and is read-only: product search and a product card together with its seller.

Nothing needs to be installed: just add the server URL in the MCP client settings.




Connection

The URL for sending a request: https://mcp.plati.market/mcp
Transport: MCP Streamable HTTP: POST with JSON-RPC requests and JSON responses; GET with SSE is supported as well.
Request headers: Content-Type: application/json
Accept: application/json, text/event-stream
Session: The server returns the mcp-session-id header; the client sends it back in later requests.Without a preceding initialize (stateless), tools/list and tools/call work as well.
Access: Anonymous, no token required.
CORS: The server does not send CORS headers, so a browser JavaScript client cannot connect: a desktop or server-side client is required.
Health check: GET https://mcp.plati.market/health → {"status":"ok","name":"digimarket-mcp"}
A GET without a session returns 400 Invalid or missing session id.
Client configuration: Claude Code
Command that adds the server to Claude Code: claude mcp add --transport http plati https://mcp.plati.market/mcp Cursor
File .cursor/mcp.json in the project folder: { "mcpServers": { "plati-market": { "url": "https://mcp.plati.market/mcp" } } } VS Code
File .vscode/mcp.json in the project folder: { "servers": { "plati-market": { "type": "http", "url": "https://mcp.plati.market/mcp" } } }



Tools

Tool Product description
get_products_from_plati_market Searches products in the plati.market catalogue.
get_product_from_plati_market Product card and its seller by product id.

get_products_from_plati_market

Arguments:
Name Type Required Comment
query string yes Search phrase, at least 3 characters.
pagesize integer Products per page, 1 to 100. Default 10.
pagenum integer Page number, starting from 1. Default 1.
lang string Response language: en-US or ru-RU. Default en-US.
Returned fields:
Field Type Comment
pagenumber
pageSizenumber
totalPagesnumber
productsarray
products[].idnumber
products[].namestring
products[].descriptionstring
products[].urlstringLink to the product page.
products[].priceobjectPrice in USD, EUR, RUB and UAH.
products[].price.usdnumber
products[].price.eurnumber
products[].price.rurnumber
products[].price.uahnumber
products[].soldnumber
products[].sectionIdnumber
products[].sellerobjectProduct seller.
products[].seller.idnumber

get_product_from_plati_market

Arguments:
Name Type Required Comment
product_id integer | string yes Product id.
lang string Response language: en-US or ru-RU. Default en-US.
currency string Price currency: USD, RUR, EUR or UAH.
Returned fields:
Field Type Comment
productobject
product.idstring
product.namestring
product.pricestringPrice in the selected currency.
product.currencystring
product.isAvailableboolean
product.descriptionstring
product.additionalInfostring
product.sectionIdstring
product.numInStockstring
product.statisticsobject
product.statistics.soldnumber
product.statistics.refundsstring
product.statistics.goodReviewsstring
product.statistics.badReviewsstring
sellerobjectProduct seller.
seller.idstring
seller.namestring



Checking with curl

All three requests work without a token and return JSON.

initialize curl -s https://mcp.plati.market/mcp \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"1.0"}}}' Response {"result":{"protocolVersion":"2025-06-18","capabilities":{"tools":{"listChanged":true}},"serverInfo":{"name":"digimarket-mcp","version":"1.0.0"}},"jsonrpc":"2.0","id":1}
tools/list curl -s https://mcp.plati.market/mcp \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{"jsonrpc":"2.0","id":2,"method":"tools/list"}' Response {"result":{"tools":[ {"name":"get_products_from_plati_market", "title":"Search products on plati.market", "inputSchema":{"type":"object", "properties":{"query":{"type":"string","minLength":3}, "pagesize":{"type":"integer","minimum":1,"maximum":100}, "pagenum":{"type":"integer","minimum":1}, "lang":{"type":"string","enum":["en-US","ru-RU"]}}, "required":["query"]}}, {"name":"get_product_from_plati_market", ...} ]},"jsonrpc":"2.0","id":2}
tools/call curl -s https://mcp.plati.market/mcp \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"get_products_from_plati_market","arguments":{"query":"steam","pagesize":2}}}' Response, content[0].text { "page": 1, "pageSize": 2, "totalPages": 184395, "products": [ { "id": 3615598, "name": "STEAM TURKEY GLOBAL GIFT CARD USA ...", "description": "...", "url": "https://plati.market/itm/3615598", "price": {"usd": 0.27, "eur": 0.24, "rur": 24, "uah": 12.24}, "sold": 222909, "sectionId": 22611, "seller": {"id": 236337} }, ... ] }