Connector guide7-minute read14 MCP tools7 languages

Connect BASE to Microsoft Copilot via MCP

BASE API v2 for shops on BASE (thebase.com, Japan): order search with status filters, dispatch with carrier and tracking number, shop memos, items with variations, stock and price, categories and carriers. Personal Access Token.

HCBy HelpCode teamUpdated 7 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

BASE

BASE

BASE API v2 for shops on BASE (thebase.com, Japan): order search with status filters, dispatch with carrier and tracking number, shop memos, items with variations, stock and price, categories and carriers. Personal Access Token.

tools

14

Region

JP

Category

E-commerce

Authentication

Bearer Token

Required env vars

BASE_ACCESS_TOKEN
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

BASE API v2 for shops on BASE (thebase.com, Japan): order search with status filters, dispatch with carrier and tracking number, shop memos, items with variations, stock and price, categories and carriers. Personal Access Token.

Guided setup

Connect BASE to Microsoft Copilot in 2 minutes

Start a free trial on AnythingMCP Cloud, connect BASE in the guided setup, then add your MCP URL to Microsoft Copilot. No code and no server to run.

No credit card · 7-day trial · Self-host alternative available

Try asking

Example prompts for BASE

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

BASE · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → BASE, paste your credentials, mint an MCP API key and you're done. No Docker, no git clone, no local server.

BASE + Microsoft Copilot

BASE API v2 for shops on BASE (thebase.com, Japan): order search with status filters, dispatch with carrier and tracking number, shop memos, items with variations, stock and price, categories and carriers. Personal Access Token.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

BASE_ACCESS_TOKEN

Step 1 — Get credentials

Setting up takes about 3 minutes. You need the no review by BASE.

  1. Log in to BASE and open BASE Developers at https://developers.thebase.com/apiv2.
  2. Issue a Personal Access Token for your shop with the scopes user.read, items.read, items.update, orders.read, orders.update and orders.dispatch. Add items.publish or orders.cancel only if you will turn on the switched-off tools below. Pick the expiry date: it cannot be changed later.
  3. Paste the token into BASE_ACCESS_TOKEN.

The token is sent as a bearer token. When it expires every call answers 401: issue a new one and replace it before the date. BASE meant Personal Access Tokens for a shop managing its own store and will add OAuth to v2 before the general release; this connector then may switch to sign-in.

Where to start: base_jp_search_orders with statuses ordered (orders to ship), then base_jp_get_order for the lines, the address and the delivery wishes.

Orders: base_jp_search_orders (keyword, order dates in Japan time, statuses, payment methods, order types; last 3 months by default, at most one year), base_jp_get_order, base_jp_dispatch_order (all or some lines, with carrier id from base_jp_list_delivery_companies, tracking number and a message; BASE emails the buyer), base_jp_update_shop_memo. base_jp_cancel_order is installed switched off: it cannot be undone and refunds the buyer. The order key is unique_key (16 characters); dispatch and cancel take the line ids from lines[].id.

Items: base_jp_list_items (public and hidden; no total count, fewer rows than limit means the last page), base_jp_get_item, base_jp_list_item_variations, base_jp_list_item_categories, base_jp_update_item (name, price, item code, description, tax type, purchase limit; a new price ends a running sale), base_jp_set_stock (absolute stock, per variation when the item has variations). base_jp_set_item_visibility is switched off, because false hides the item from buyers. Creating and deleting items, images and categories are not included. New or changed items can take a while to appear in lists.

Shop: base_jp_get_user shows the shop, its public URL and whether it is open.

Formats and errors: prices in yen including tax; times in answers are UTC (RFC 3339). Errors are application/problem+json with type (for example /errors/items/not-found), title, status, detail and errors naming the field; 401 means the token is missing or expired, 403 a missing scope. BASE has announced a rate limit for later in the beta; none applies yet. The older BASE API v1 (api.thebase.in, OAuth with an app reviewed by BASE) is not used here.

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Microsoft Copilot

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Microsoft Copilot uses MCP servers through agents built in Copilot Studio: you add AnythingMCP to an agent as a tool, then publish the agent to Microsoft 365 Copilot and Teams. Copilot Studio connects from Microsoft's cloud over Streamable HTTP, which AnythingMCP supports.

  1. In Copilot Studio, open your agent (or create one), go to Tools and choose Add a tool → New tool → Model Context Protocol.
  2. Enter a Server name (for example AnythingMCP), a Server description that says what the connector does, and the Server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID. Copilot Studio uses the description to decide when to call the server.
  3. Under authentication, choose API key, set Type to Header and the header name to X-API-Key, then select Create.
  4. In Add tool, choose Create a new connection, paste an MCP API key from AnythingMCP (MCP Servers → your server → API keys) and select Add to agent.
  5. Try it in the agent's Test pane: ask for something that needs the BASE tools.
  6. Select Publish, then Channels → Microsoft 365 and Microsoft Teams, keep Make agent available in Microsoft Copilot selected and choose Add channel. See agent in Teams installs it for you; in Microsoft 365 Copilot, type @ and pick the agent.

Prefer per-user sign-in? Choose OAuth 2.0 → Dynamic discovery instead of an API key: each user then signs in to AnythingMCP the first time the agent calls it.

Self-hosting? Use your instance's public HTTPS address instead of https://cloud.anythingmcp.com. Copilot Studio connects from Microsoft's cloud, so localhost does not work.

Available tools

ToolWhat it does
base_jp_get_userThe account and shop behind the token: shop_id, shop_url, shop_name, introduction, category, able_to_business (shop is public)…
base_jp_list_itemsList the shop items, public and hidden: id, type, name, price (yen, tax included), proper_price (price before a sale), stock (sum of the…
base_jp_get_itemRead one item: name, detail, price, proper_price, stock, visible, sales_status, tax type, identifier, quantity limit, images, variations…
base_jp_list_item_variationsVariations (kinds such as colour or size) of one item: id, name, stock, identifier and barcode, in display order. Read-only
base_jp_list_item_categoriesItem categories of the shop: id, number, name and parent (up to three levels). Read-only
base_jp_search_ordersSearch orders: unique_key, status (ordered = waiting for shipment, unpaid, unshippable, dispatched, cancelled, shipping, arrived)…
base_jp_get_orderRead one order in full: status, dates, customer (name, kana, email, address, phone), shipping address, delivery wishes and dispatch history…
base_jp_list_delivery_companiesCarriers that can be given when dispatching: id (delivery_company_id) and name, in display order. Read-only
base_jp_dispatch_orderMark order lines as dispatched (shipped), all or some of them, with an optional carrier, tracking number and message. BASE emails the buyer…
base_jp_update_shop_memoReplace the internal shop memo of an order (not shown to the buyer). An empty string deletes it
base_jp_set_stockSet the stock of one item, or of one variation, to an absolute number (0 to 100000). An item with variations needs variation_id
base_jp_update_itemChange the name, price (yen, tax included, 50 or more), item code, description, tax type or purchase limit of one item. Only the fields…
base_jp_set_item_visibilityMake one item public (true) or hidden (false). Hidden items are not shown and cannot be bought. Needs the items.publish scope
base_jp_cancel_orderCancel order lines. Cannot be undone; the buyer is refunded. Partial cancellation works only for some payment methods such as cash on…

Example prompts

  • "Which BASE orders are unshipped?"
  • "Dispatch order 9F1A2B3C4D with Japan Post tracking 1234-5678-9012."
  • "Set the stock of variation Black / M of item 123456789 to 12."
  • "Which items are sold out?"
  • "Add a shop memo to order 9F1A2B3C4D: gift wrapping requested."

FAQ

How does it sign in? With a Personal Access Token issued on BASE Developers for your shop (BASE API v2, currently a beta) with the scopes the tools need.

What does it cover? Order search with status filters, dispatch with carrier and tracking number, shop memos, items with variations, stock and price, categories and carriers.

Which tools install switched off? base_jp_cancel_order and base_jp_set_item_visibility. Switch them on on the connector page only if the AI should use them.

Which Copilot is this for? Microsoft 365 Copilot at work, through agents built in Copilot Studio. The Microsoft Copilot app for personal accounts has no option to add your own MCP server.

What do I need? A work account with access to Copilot Studio (a license or a trial) to build the agent. People who use it in Microsoft 365 Copilot or Teams need access to the agent: share it with them, or ask an admin to publish it to the organization. If your organization applies data policies to Power Platform connectors, they cover MCP servers too.

The agent doesn't call the tools. Check that the header name is exactly X-API-Key and that the key belongs to the same MCP server as the URL, and make the server description specific: Copilot Studio uses it to decide when to call the server. Publish the agent again after each change; in an open chat, type "start over" to get the new version.

Next steps

Was this guide helpful?

Connect BASE to Microsoft Copilot in 2 minutes

Start a free trial on AnythingMCP Cloud, connect BASE in the guided setup, then add your MCP URL to Microsoft Copilot. No code and no server to run.

Related guides

Connectors

BASE MCP Server: Orders, Stock and Items

BASE API v2 for shops on BASE (thebase.com, Japan): order search with status filters, dispatch with carrier and tracking number, shop memos, items with variations, stock and price, categories and carriers. Personal Access Token.

Connectors

Connect BASE to ChatGPT via MCP: Orders and Stock

BASE API v2 for shops on BASE (thebase.com, Japan): order search with status filters, dispatch with carrier and tracking number, shop memos, items with variations, stock and price, categories and carriers. Personal Access Token.

Connectors

Connect BASE to Claude via MCP: Orders and Stock

BASE API v2 for shops on BASE (thebase.com, Japan): order search with status filters, dispatch with carrier and tracking number, shop memos, items with variations, stock and price, categories and carriers. Personal Access Token.

Connectors

Connect BASE to Cursor via MCP: Orders and Stock

BASE API v2 for shops on BASE (thebase.com, Japan): order search with status filters, dispatch with carrier and tracking number, shop memos, items with variations, stock and price, categories and carriers. Personal Access Token.

Connectors

Connect BASE to Gemini CLI via MCP: Orders and Stock

BASE API v2 for shops on BASE (thebase.com, Japan): order search with status filters, dispatch with carrier and tracking number, shop memos, items with variations, stock and price, categories and carriers. Personal Access Token.

Connectors

Connect BASE to Meta Muse via MCP: Orders and Stock

BASE API v2 for shops on BASE (thebase.com, Japan): order search with status filters, dispatch with carrier and tracking number, shop memos, items with variations, stock and price, categories and carriers. Personal Access Token.