# MCP (/growseller/docs/developers/mcp)

Connect Claude, ChatGPT, Cursor and other AI agents to GrowSeller with the MCP server.

**What it's for:** letting an AI app (Claude, ChatGPT, Cursor…) work GrowSeller for you. How it should work, task by task: the [AI / MCP playbook](/growseller/docs/developers/ai-playbook).

GrowSeller's MCP server lets an AI agent work your account, for TikTok Shop and Shopee stores: search creators, manage creator lists, run Target Collaboration and Messenger Broadcast, read samples and jobs, menu by menu as in the dashboard. It works with the same routes and the same [limits](/growseller/docs/developers/rate-limits) as the REST API.

```txt
https://seller.growpaces.com/api/mcp
```

## Signing in [#signing-in]

- **OAuth** (Claude, ChatGPT and other apps with OAuth): give the app the server URL. The app opens GrowSeller, you sign in and allow it. You see and disconnect the apps you allowed in **Developer** → **Connected apps**.
- **API key** (Cursor, Codex, Gemini CLI, n8n, scripts): send `Authorization: Bearer gsk_…` with a key from **Developer** → **API Key**.

## Set up an app [#set-up-an-app]

| App | How |
| --- | --- |
| Claude | Settings → Connectors → Add custom connector, name it GrowSeller, paste the server URL, Connect, sign in and allow. |
| Claude Code | `claude mcp add --transport http growseller https://seller.growpaces.com/api/mcp`, then `/mcp` to sign in. |
| ChatGPT | Settings → Apps & Connectors → Advanced settings → Developer mode, Create, paste the server URL, choose OAuth. |
| Cursor | `~/.cursor/mcp.json`: `{"mcpServers":{"growseller":{"url":"https://seller.growpaces.com/api/mcp","headers":{"Authorization":"Bearer gsk_…"}}}}` |
| Codex | `~/.codex/config.toml`: `[mcp_servers.growseller]` with `url` and `bearer_token_env_var = "GROWSELLER_API_KEY"`. |
| Gemini CLI | `~/.gemini/settings.json`: `mcpServers.growseller` with `httpUrl` and the `Authorization` header. |

The dashboard's **Developer** → **MCP** tab has each setup with the config to copy.

## Tools [#tools]

The tools are the dashboard's sidebar menus, so you and the agent name the same things ("Discover Creator › find", "Target Collaboration › add creators"). Each menu has a read tool, `<menu>_read` (lists and details; it changes nothing, so apps run it without asking), and, where the menu changes anything, a write tool, `<menu>_write` (apps ask you before each call). Both take:

| Argument | What it is |
| --- | --- |
| `action` | What to do in that menu, from the tool's list (below). |
| `platform` | `tiktok` (the default) or `shopee`, the store's platform; Messenger Broadcast's channel tab also `email` or `whatsapp`. |
| `params` | The action's query parameters and the ids in its path, e.g. `{"shop_id": "…", "min_gmv": 1000000}` or `{"template_id": "…"}`. |
| `body` | The JSON body of a write. |

Each action is one route of the REST API, run as you through the same checks and [limits](/growseller/docs/developers/rate-limits). Not sure of an action's fields? Every read tool has `help`: `{"action": "help", "params": {"action": "find_creators"}}` answers each field (type, required, allowed values, range, unit), an example body and its docs; `{"action": "help", "params": {"search": "sample review"}}` finds actions in every menu. The OpenAPI document names each operation's tool and action too (`x-mcp-tool`, `x-mcp-action`).

| Menu | Read tool: actions | Write tool: actions |
| --- | --- | --- |
| Stores | `stores_read`: list_stores, store_shares, help | `stores_write`: share_store, unshare_store, remove_store |
| Jobs | `jobs_read`: list_jobs, help | `jobs_write`: start_job, stop_job |
| Discover Creator | `discover_creator_read`: find_creators, creator_ids, creator_cards, creator_profile, creator_contacts, creator_by_contact, categories, locations, find_products, find_stores, find_videos, video_creator_ids, video_file, check_replies, help | `discover_creator_write`: filter_creator_ids, add_contact, delete_contact, pair_contact, refresh_creator |
| My Creator | `my_creator_read`: list_groups, list_tags, groups_and_tags, import_history, help | `my_creator_write`: create_group, update_group, delete_group, assign_group, unassign_group, create_tag, update_tag, delete_tag, assign_tag, unassign_tag, import_creators, import_blocks, delete_import |
| Store Creator | `store_creator_read`: list_groups, list_tags, help | `store_creator_write`: create_group, update_group, delete_group, assign_group, unassign_group, create_tag, update_tag, delete_tag, assign_tag, unassign_tag |
| Blocked Creator | `blocked_creator_read`: list_blocks, block_ids, list_store_blocks, store_block_ids, help | `blocked_creator_write`: block, update_block, unblock, block_in_store, unblock_in_store |
| Target Collaboration | `target_collaboration_read`: list_templates, get_template, template_creators, next_template_code, list_invitations, get_invitation, invitation_creators, invitation_creator, creator_product_videos, move_targets, invitation_orders, invitation_performance, bulk_preview, outreach_quota, invitation_quota, list_products, product_categories, help | `target_collaboration_write`: create_template, update_template, start_templates, add_creators, remove_creators, update_invitation, add_invitation_creators, change_invitations, end_invitation, auto_end_preview, sync_invitations |
| Manage Sample | `manage_sample_read`: list_samples, sample_creator_ids, sample_content, sample_rating, remind_status, remind_list, pickup_slots, shipping_options, help | `manage_sample_write`: review_samples, sync_samples, rate, rate_many, delete_rating, send_remind, spark_videos, cancel, accept_cancellation, ship, ship_many, spx_quote, spx_quote_many, spx_ship, to_arrange |
| Spark Code | `spark_ads_code_read`: list_requests, help | `spark_ads_code_write`: send_requests, stop_request |
| Messenger Broadcast | `messenger_broadcast_read`: list_broadcasts, get_broadcast, broadcast_targets, help | `messenger_broadcast_write`: create_broadcast, update_broadcast, delete_broadcast, start_broadcast, add_targets, remove_targets, upload_image, check_replies |
| TikTok Messenger / Shopee Messenger | `creator_message_read`: list_conversations, conversation_counts, unread_count, creator_profiles, chat_creator, messages, creator_contact, available_invitations, invitation_card, chat_products, product_card, reminder_cards, help | `creator_message_write`: open_conversation, send_message, send_image, upload_image, mark_read, conversation_state |
| Email Messenger | `email_message_read`: list_connectors, shareable_stores, connector_shares, inbox, thread, creator_info, help | `email_message_write`: share_connector, unshare_connector, mark_read, pair_creator, reply |
| WhatsApp Messenger | `whatsapp_message_read`: list_connectors, get_connector, health, insights, business_setting, catalog, list_chats, chat_messages, find_messages, labels, get_media, flows, flow_screens, sync_groups, get_group, list_templates, template_insights, connector_shares, creator_info, unread, help | `whatsapp_message_write`: set_active, update_business_setting, delete_qr_code, update_chat, delete_chat, mark_read, send_message, star_message, upload_media, upload_voice, upload_file, create_group, update_group, delete_group, reset_invite_link, answer_join_requests, remove_participants, create_template, update_template, share_connector, unshare_connector, pair_creator |
| Performance | `analytics_read`: performance, categories, content_products, help | `analytics_write`: ensure_creators |
| Connector | `connector_read`: connect, list_links, link_settings, help | `connector_write`: create_link, update_link_settings |
| Subscription | `billing_read`: current_plan, catalog, pricing, list_invoices, get_invoice, invoice_payment, help | – |

Connecting a store or a connector yourself is done in the dashboard: `connector_read {"action": "connect", "platform": "shopee"}` answers `NOT_IN_API` with the page (`details.dashboard_url`). For a client's store, `connector_write create_link` makes a [connect link](/growseller/docs/developers/connect-links).

The server's instructions are a short operating guide: which tool and action does each common task in one or two calls, efficiency and safety rules, units and budgets. Task by task, with real answers: the [AI / MCP playbook](/growseller/docs/developers/ai-playbook). A plain-text index of these docs for AIs: [`llms.txt`](/growseller/docs/llms.txt).

## Results [#results]

Every tool answers `{"menu", "action", "status", "body", "budget"}`, as text and as `structuredContent`:

- `body` is the route's answer, the same as the REST API's.
- `budget` is what is left of your account's budgets after the call (`requests_left`, `creator_rows_left`, `action_rows_left`, each with its reset in seconds) and, on a `429`, `limit_reached` and `retry_after`: wait that many seconds. The same is in the result's `_meta` (`growseller/budget`). The budgets are your account's, shared by every key, app and AI session ([Rate limits](/growseller/docs/developers/rate-limits)).
- Lists of creators come back compact (the fields to decide by, about 460 bytes a row); `view=full` or `fields=` asks for more. An answer too long for one message keeps the whole rows that fit and says `truncated`, `rows_returned` and `next`.
- An error's `body.details.docs_url` points to its explanation. An action the tool does not have names the tool that has it (`details.tool`) or the platforms it works on (`details.platforms`).

To act on many creators the agent sends a `selection` (the list action and the params it searched with, rows `start` to `end`, at most 10,000 a call) instead of reading ids first: `"selection": {"source": "find_creators", "filters": {…}, "start": 1, "end": 10000}`. See [Creators](/growseller/docs/developers/creators).

A good first request to an agent: *"List my GrowSeller stores, then find creators with more than 10,000 followers in Indonesia and put the first 500 in a new group."* The agent calls `stores_read list_stores`, `my_creator_write create_group`, then one `my_creator_write assign_group` with `"selection": {"source": "find_creators", "filters": {…}, "start": 1, "end": 500}`: three calls.

The server speaks MCP's Streamable HTTP transport (protocol versions 2024-11-05 to 2026-07-28) and answers JSON.