Developers & agents

Connect an agent

One connection works for any participating store — the shop is a parameter. Public catalog and cart need no credentials. After adding the endpoint, restart the client.

Claude Code

Plugin (recommended)

/plugin marketplace add GuillaumeRacine/terminal-commerce-plugin
/plugin install terminal-commerce

Restart Claude Code, then: /terminal-commerce:shop <store-domain> a gift under $75

One-liner (no plugin)

claude mcp add --transport http terminal-commerce https://<app>/public/mcp/<store-domain>

Codex

Plugin

codex plugin marketplace add https://github.com/GuillaumeRacine/terminal-commerce-plugin
codex plugin add terminal-commerce@terminal-commerce

Restart Codex, then: /shop <store-domain> a gift under $75

One-liner

codex mcp add terminal-commerce --url https://<app>/public/mcp/<store-domain>

Cursor / generic MCP

Add an HTTP MCP server to your client config:

{
  "mcpServers": {
    "terminal-commerce": {
      "type": "http",
      "url": "https://<app>/public/mcp/<store-domain>"
    }
  }
}

Cold-start prompt

Use Terminal Commerce to shop <store-domain>.
Find three image-backed products under my budget, compare them,
create a cart with quantity 1, show it, then prepare checkout.
Payment must happen only in Shopify after I explicitly confirm.
Slash commands run inside the client, not your shell. If the tools aren't present, restart the client once.