Appearance
Connect Claude Code
Add Key Product Options to Claude Code with one command, then manage your product options from your terminal.
Overview
Claude Code connects to the app's MCP server under the name kpo. You add it once, and it's available in every project.
Use a recent version
Use Claude Code 2.1.296 or later, with tool search on, so it reads the app's tool instructions in full.
How to Connect
Navigate to App Settings > AI assistants and open the Claude Code tab
Click Copy command and run it in a terminal. It already has your server address in it and looks like this:
bashclaude mcp add --transport http --scope user kpo YOUR_SERVER_ADDRESSStart Claude Code, type
/mcp, choose kpo and sign in. You can also run:bashclaude mcp login kpoShopify opens in your browser. Sign in, then click Allow. The page shows An app on this computer as where access goes
Already added it on claude.ai?
If you added Key Product Options on claude.ai and signed in to Claude Code with that Claude account, it already shows up on its own as claude.ai Key Product Options. Don't add both. The one you add with the command hides it.
Reconnect
When Claude Code says changes need a fresh sign-in, use Renew sign-in on the AI assistants page (see Stay Connected), or run:
bash
claude mcp logout kpo && claude mcp login kpoDisconnect
Run:
bash
claude mcp remove kpoTroubleshooting
| Problem | What to do |
|---|---|
| Sign-in ends on a page that says invalid_client or Client authentication failed | Run claude mcp remove kpo, then add it again |
| Claude Code seems to skip instructions | Update Claude Code to 2.1.296 or later and keep tool search on |
| You see Key Product Options twice | You added it with the command and also have it from claude.ai. Remove one: run claude mcp remove kpo, or keep the command version and remove the connector on claude.ai |
For other problems, see Troubleshooting.
Related
- AI Assistants (MCP) — sign-in, safety and limits for every app
- Connect Claude
- Connect ChatGPT