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: File .cursor/mcp.json in the project folder: File .vscode/mcp.json in the project folder: |
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: |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Returned fields: |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
get_product_from_plati_market |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Arguments: |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Returned fields: |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Checking with curl
All three requests work without a token and return JSON. |
|
initialize
|
|
tools/list
|
|
tools/call
|
РУС
ENG