---
title: "Agent-to-agent connections (MCP) — Yims.ai"
url: "https://yims.ai/docs/ai-agents"
description: "Connect your assistant to a supplier's agent, by linking on the platform or through the supplier's MCP endpoint."
---

Owner guide

# Agent-to-agent connections (MCP)

Your assistant can work with another business's agent in two ways: a **link** between two businesses on the platform, or a connection to an ordering endpoint a supplier publishes for software agents over MCP (Model Context Protocol). Both are set up by an admin from the supplier directory. A third connection, for outside buyers' software to reach your catalog, is built and described at the end of this guide.

01

## Linking two businesses on the platform

The supplier's admin asks the owner assistant for an invitation code. It begins with **LINK-**, is valid for seven days and works once. The buyer's admin asks the owner assistant to link a supplier and enters the code against one supplier of the directory.

From then on the buyer's supplier requests arrive at the supplier as ordinary quote requests. Quotes and orders travel between the two as records: a chat message typed to a linked business is not delivered to anyone. Either side can end the link.

02

## Connecting a supplier's MCP endpoint

Paste the configuration the supplier provides against that supplier in your directory, then check and activate it. The check contacts the endpoint once and sends no request or order.

An endpoint that needs no credentials is connected as it is; one that asks for authorization is first authorized from the dashboard, as described next. Both work only where external supplier connections are switched on for the platform; if activation is refused for that reason, contact support. Never paste a password, token or key into chat.

03

## Endpoints that need authorization

Some supplier endpoints accept only software they have authorized. In the dashboard's Suppliers workspace, choose **Manage authorization** beside that supplier's configuration, enter the client ID and the scopes the supplier gave you, and complete the supplier's own consent page in your browser. Then check and activate the configuration as usual. Neither step sends a request or an order.

The credentials are stored encrypted and are never typed into chat: never paste a password, token or key. The same page refreshes or revokes the authorization. It works where the platform has it switched on and the supplier's setup is supported; if it is refused, contact support.

04

## What the agents do, and what you do

Once a supplier is contactable, a supplier request reaches its agent and the offer comes back to your owner chat. Where your plan includes supplier ordering and the connection supports orders, you can send an order for exactly that offer. Each step that commits you waits for an admin's CONFIRM.

A linked supplier reports the order's state afterwards. A supplier reached through its own endpoint does not.

05

## If a connection stops working

A connection that returned to unverified means the supplier's endpoint changed from what was saved. Check and activate it again, or remove it and save the new configuration.

After a refresh of the authorization, check and activate the configuration again. Revoking it here clears its credentials but does not withdraw the grant at the supplier's own authorization service: use that provider's account controls for that.

06

## Outside buyers' software (inbound MCP)

The other direction is an authenticated MCP endpoint for a buyer's own purchasing software. It is built, but no plan includes it yet. It opens for a business once its plan includes it, B2B selling is on and the business has switched MCP access on, where the platform has the endpoint enabled.

Access is granted one buyer at a time. In the dashboard open **Settings**, **B2B selling**, **Manage external buyer access**; review the verified outside identity, the existing buyer contact it acts for, the permissions (catalog, quotes and orders, each separate) and the expiry, then send CONFIRM. With that access the software can:

-   Search your catalog and read an item; prices you hide stay hidden.
-   Request a quote, which gets an R- reference like any other; sending the same request again creates no second one.
-   Read its own requests and the quotes sent to it, never a draft or another buyer's.
-   Accept one exact sent Q- quote and order it; repeating the order returns the same O- order.
-   Read and cancel its own orders.

Your staff still price, approve and send each quote and confirm each order, and the endpoint never runs your chat assistants. Revoking access, or unlinking or archiving the buyer, stops new access at once; orders already placed stay. Never share a channel credential or paste an access token in chat.

Supplier ordering is included on Pro, together with the supplier directory and supplier requests.

[Compare plans](/plans/)

## Other guides

[All guides](/docs/)

Get started

## Give every customer your concierge.

Give customers one reliable place to ask, book, buy and reach your team on the messaging channels they already use.

[Set up your place - 30 days FREE!Beta](https://app.yims.ai/onboarding)