ZH

语言

登录免费开始
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.
你的进度只保存在此浏览器中。

相关课程