# Coze 扣子 (https://sellersheetai.com/docs/start/clients/coze)

> Add SellerSheet to a Coze bot as an MCP tool, with an API key in the Authorization header.



Coze calls MCP servers from its own cloud, so it uses an [API key](/docs/mcp-api/keys), not a browser sign-in.

## Prerequisites [#prerequisites]

* A SellerSheet account with a connected store — [Connect your store](/docs/start/connect).
* A SellerSheet API key — [API keys](/docs/mcp-api/keys).

## Step 1: Copy the SellerSheet MCP URL [#step-1-copy-the-sellersheet-mcp-url]

```text
https://sellersheetai.com/mcp
```

## Step 2: Add SellerSheet in Coze [#step-2-add-sellersheet-in-coze]

1. In your bot, open **Skills → MCP Tool → Add**.
2. Choose **Connect via URL** and enter `https://sellersheetai.com/mcp`.
3. Add the header `Authorization: Bearer <your key>`.
4. Save and publish the bot.

The same key-in-a-header pattern works for other hosted agent platforms.

## Step 3: Sign in and test [#step-3-sign-in-and-test]

1. There is no browser step: the key in the header is the sign-in.
2. In the bot, ask: "Which stores can you see?" Your agent calls `get_user_context` and lists your store refs, such as <StoreRef />, with your plan and each store's status. Every session should start there.

## Troubleshooting [#troubleshooting]

### "Unauthorized" (401) [#unauthorized-401]

Your sign-in or key expired or was deleted. Sign in again, or create a new key.

### "No stores" [#no-stores]

Connect a store first: [Connect your store](/docs/start/connect).

### Tools time out [#tools-time-out]

Some Amazon reports take a minute or two. Raise your client's MCP tool timeout.

More in [Troubleshooting](/help/troubleshooting/ai). Next: [Install the skills](/docs/start/skills), or [try the prompt library](/docs/start/prompts).
