Connector guide5-minute read7 MCP tools7 languages

Connect Faire to Gemini CLI via MCP: Orders, Stock

Let your AI read your Faire brand account: wholesale orders with their items, shipments and payout, your product catalog with variants and prices, and inventory by SKU or variant. Read-only, through the Faire External API v2.

HCBy HelpCode teamUpdated 5 min read Open-source on GitHub

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

Faire

Faire

Let your AI read your Faire brand account: wholesale orders with their items, shipments and payout, your product catalog with variants and prices, and inventory by SKU or variant. Read-only, through the Faire External API v2.

tools

7

Region

INTL

Category

E-commerce

Authentication

API Key

Required env vars

FAIRE_OAUTH_ACCESS_TOKENFAIRE_APP_CREDENTIALS
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

Let your AI read your Faire brand account: wholesale orders with their items, shipments and payout, your product catalog with variants and prices, and inventory by SKU or variant. Read-only, through the Faire External API v2.

Guided setup

Connect Faire to Gemini in 2 minutes

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

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

Try asking

Example prompts for Faire

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

Faire · 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 → Faire, paste your credentials, mint an MCP API key and you're done. No Docker, no git clone, no local server.

Faire + Gemini

Let your AI read your Faire brand account: wholesale orders with their items, shipments and payout, your product catalog with variants and prices, and inventory by SKU or variant. Read-only, through the Faire External API v2.

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:

FAIRE_OAUTH_ACCESS_TOKEN, FAIRE_APP_CREDENTIALS

Step 1 — Get credentials

Setting up takes about 10 minutes. You need a Faire brand account and an app registered in the Faire Developer Portal that the brand has authorized. The connector needs two values: an OAuth access token and your app credentials.

  1. Register an app in the Faire Developer Portal. You get an application ID and an application secret.
  2. Let the brand authorize the app with the scopes READ_BRAND, READ_ORDERS, READ_PRODUCTS and READ_INVENTORIES, then exchange the authorization code for an access token, as described in the Faire External API v2 docs.
  3. Paste the access token into FAIRE_OAUTH_ACCESS_TOKEN. It is sent as the X-FAIRE-OAUTH-ACCESS-TOKEN header.
  4. Encode applicationId:applicationSecret in Base64, for example with printf 'APP_ID:APP_SECRET' | base64, and paste the result into FAIRE_APP_CREDENTIALS. It is sent as the X-FAIRE-APP-CREDENTIALS header. Paste the Base64 value, not the raw ID and secret.
  5. Install the connector. Run faire_get_brand_profile to check the connection: it returns the brand the token belongs to, with its currency.

Cloud and self-hosted work the same way: you get the token from Faire once and paste it in. There is no redirect URL to set in AnythingMCP.

Read-only: all 7 tools read. The connector never accepts, ships or cancels an order, and never edits products, prices or inventory. Nothing is switched off at install, because there is nothing to write.

Where to start: faire_list_orders lists orders, oldest update first. Use excluded_states (for example DELIVERED,CANCELED) to skip finished orders, and updated_at_min to get only what changed since a date. faire_get_order then returns one order with its shipping address, shipments and tracking, and the payout with commission and fees. For stock, list products with faire_list_products and check their SKUs with faire_get_inventory_by_skus.

Identifiers: orders start with bo_. The Faire website shows the same order as #BXDMJBWXID: use bo_ plus the lower-case ID, here bo_bxdmjbwxid. Products start with p_, variants with po_ and brands with b_. Inventory is looked up by your own SKUs or by Faire variant IDs.

What it reads: the brand profile; orders with state, retailer, ship dates, items, shipments and payout; products with sale and lifecycle state, variants, options, wholesale and retail prices, images, measurements and lead times; on-hand, committed and available stock per variant.

Money and paging: amounts are whole minor units with a currency: {"amount_minor": 1250, "currency": "USD"} is 12.50 USD. Lists return up to 50 items per page (limit) and a cursor; pass it back to get the next page, and stop when it is empty.

Not covered: writes (accepting, shipping or cancelling orders, editing products, setting inventory or prices), retailer profiles, reviews and prepacks.

Common errors: 401 means Faire refused the credentials: check that the token is current for this brand and that FAIRE_APP_CREDENTIALS is the Base64 of the same app's ID and secret. 403 means a scope is missing: have the brand authorize the app again with all four scopes. 429 means the token sent too many requests: wait a minute and try again.

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 Gemini

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.

Gemini CLI reads MCP servers from ~/.gemini/settings.json (on Windows %USERPROFILE%\.gemini\settings.json). Add:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. Create an MCP API key in AnythingMCP under MCP Servers → your server → API keys, and paste it in place of YOUR_MCP_API_KEY.
  2. Save the file and restart gemini.
  3. Run /mcp inside Gemini CLI (or gemini mcp list in your shell) — anythingmcp should show as connected.
  4. Start prompting — Gemini CLI can now call the Faire tools.

Available tools

ToolWhat it does
faire_get_brand_profileGet the Faire brand the credentials belong to: brand ID (b_...), name, currency and locale
faire_list_ordersList the brand's Faire wholesale orders, oldest update first, with state, retailer, ship dates, items (SKU, quantity, price), shipments and…
faire_get_orderGet one Faire order by its ID (bo_...) with everything Faire returns: items with prices and discounts, shipping address, shipments with…
faire_list_productsList the brand's Faire products with their sale and lifecycle state and variants (variant ID, SKU, options, available quantity, wholesale…
faire_get_productGet one Faire product by its ID (p_...) with its full description, images, options, every variant with prices by market, measurements…
faire_get_inventory_by_skusGet inventory for product variants by your SKUs: on-hand, committed (allocated to unfulfilled orders) and available quantity for each SKU
faire_get_inventory_by_variant_idsGet inventory for product variants by Faire variant ID: on-hand, committed and available quantity for each

Example prompts

  • "Which Faire orders are still waiting to ship, and what is their total payout?"
  • "Show me order #BXDMJBWXID with its items, shipping address and tracking."
  • "Which of my products are low on available stock?"
  • "List the orders that changed since Monday."
  • "What are the wholesale and retail prices of every variant of our lavender candle?"

FAQ

Where does Gemini CLI look for MCP servers? In ~/.gemini/settings.json for your user, or in .gemini/settings.json inside a project. gemini mcp list shows each server and whether it connects.

Next steps

Was this guide helpful?

Connect Faire to Gemini in 2 minutes

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

Related guides

Connectors

Connect Faire to ChatGPT via MCP: Wholesale Orders

Let your AI read your Faire brand account: wholesale orders with their items, shipments and payout, your product catalog with variants and prices, and inventory by SKU or variant. Read-only, through the Faire External API v2.

Connectors

Connect Faire to Claude via MCP: Orders and Stock

Let your AI read your Faire brand account: wholesale orders with their items, shipments and payout, your product catalog with variants and prices, and inventory by SKU or variant. Read-only, through the Faire External API v2.

Connectors

Connect Faire to Microsoft Copilot via MCP

Let your AI read your Faire brand account: wholesale orders with their items, shipments and payout, your product catalog with variants and prices, and inventory by SKU or variant. Read-only, through the Faire External API v2.

Connectors

Connect Faire to Cursor via MCP: Orders and SKUs

Let your AI read your Faire brand account: wholesale orders with their items, shipments and payout, your product catalog with variants and prices, and inventory by SKU or variant. Read-only, through the Faire External API v2.

Connectors

Connect Faire to Meta Muse via MCP: Orders, Stock

Let your AI read your Faire brand account: wholesale orders with their items, shipments and payout, your product catalog with variants and prices, and inventory by SKU or variant. Read-only, through the Faire External API v2.

Connectors

Faire MCP Server: Orders, Products and Inventory

Let your AI read your Faire brand account: wholesale orders with their items, shipments and payout, your product catalog with variants and prices, and inventory by SKU or variant. Read-only, through the Faire External API v2.