RU

Язык

ВойтиНачать бесплатно
Developers: API, webhooks, MCP and integrations · 4/5

Connecting AI agents with the MCP server and SDKs

Connect AI assistants such as Claude to your Reydoc data safely; get started fast with an SDK or REST.

9 мин · Для кого: Все

Содержание урока показано на английском; интерфейс — на вашем языке.
Где

Developer portal (reydoc.com/gelistirici) and Dashboard → Developers

Открыть страницу

После этого урока

You can connect an AI assistant to Reydoc over MCP with a key of limited scope and choose the right SDK for your language.

MCP (Model Context Protocol) is an open standard that lets AI assistants call tools in external systems. Reydoc's MCP server is at https://reydoc.com/api/v1/mcp and accepts only an API key or an OAuth token.

The assistant sees only the tools within its key's scopes. Every module open to the API can be used through MCP, including creating listings, sending and accepting offers, messages, publishing and workflow management; tools that affect real people are marked for the assistant. Payments, consent declarations and operations that carry secrets (channel tokens, webhook secrets) cannot be done through MCP; they always happen in the dashboard.

Шаг за шагом

  1. Create a separate key

    On the Developers page create a separate client for the assistant and a read-only key (for example deals:read, affiliate:read).

  2. Add it to the assistant's settings

    Copy the MCP configuration JSON from the developer portal, set https://reydoc.com/api/v1/mcp as the address and your key as the authorisation header.

  3. Try the tools

    Ask the assistant something like "list my active deals". There are 116 tools in total, but the assistant only sees those matching its key's scopes.

  4. Choose an SDK

    Pick your language from the SDK table on the portal. The "Published" label appears only for SDKs verified in the official package registry; for languages without an SDK, use REST and the OpenAPI document.

Правила и ограничения

  • Each MCP tool call counts as two requests toward the rate limit; the tool timeout is 25 seconds.
  • Payments, consent declarations and operations that carry secrets (channel tokens, webhook secrets) cannot be done over MCP.
  • Offer, acceptance, publishing and message tools affect real people: give the assistant write scopes deliberately.

Советы

  • Try the assistant with read-only scopes for a week before giving it any write scope.

Частые ошибки

  • Giving the assistant a single key with Owner rights and every scope.
Ваш прогресс хранится только в этом браузере.

Связанные уроки

Connecting AI agents with the MCP server and SDKs · Reydoc Academy