You will have: Google’s Gemini CLI connected to your store, able to do what you allowed on the Permissions tab.
Time: About 10 minutes
You need: Gemini CLI installed on your computer, your role turned on under Access & Roles (click Save Changes), and at least one permission turned on for your role on the Permissions tab. Not set up yet? Follow How to Turn On Your Role and Choose What the AI Can See.
Gemini CLI is Google’s Gemini app for your computer’s terminal (the window where you type commands). It connects to your store with the same web address as Claude and ChatGPT.
Step 1: Copy your store’s MCP Server URL #
Go to 1TeamSoftware → AI Gateway → Connection. Under Connect an AI client, find the MCP Server URL (1) and click Copy URL (2).

Please note: Gemini is not in the list of app guides on this tab. You only need the address.
Step 2: Add your store to Gemini CLI #
In your terminal, type this command. Replace the address with the one you copied, then press Enter:
gemini mcp add --scope user --transport http ai-gateway https://your-store.com/wp-json/ai-gateway/mcp
Step 3: Start Gemini CLI #
Type gemini and press Enter.
Step 4: Start the sign-in #
Type /mcp auth ai-gateway and press Enter.
A page from your store opens in your web browser.
Step 5: Approve Gemini on your store #
Sign in with the WordPress user whose role you turned on under Access & Roles, then click Authorize.
You should now see Gemini list the ai-gateway tools. To check it works, ask something simple, like “How many products do I have?”
If it did not work #
- Gemini connects but shows no tools: your role has nothing turned on yet. Go to AI Gateway → Permissions, turn on at least Read for something, click Save access policy, then type
/mcp auth ai-gatewayagain. How to Fix Common Problems - “MCP access not granted” when you click Authorize: go to AI Gateway → Access & Roles, turn on your role, click Save Changes, and try again.
- No browser page opens: Gemini CLI needs a web browser on the same computer. It does not work over SSH or inside a container.
- Gemini cannot reach your store: check the address is exactly the one from the Connection tab, starting with https://.
Questions people ask #
Does this work with the Gemini app on the web? #
Yes, you can add your store as a custom app under Settings → Connected Apps, but your store must be public and use https://. The steps above are for Gemini CLI. We have not tested the web app connection end to end yet.
Can I add my store to Gemini CLI without the command? #
Yes. Add your store by hand to the file ~/.gemini/settings.json, with your own MCP Server URL:
{"mcpServers":{"ai-gateway":{"httpUrl":"https://your-store.com/wp-json/ai-gateway/mcp"}}}
Can Gemini change my store? #
No more than your role allows on the Permissions tab. Nothing is switched on until you do it.
Next step #
How to See What the AI Changed in Your Store
Get AI Gateway: the free version is on the AI Gateway product page. Choose Free Version under License Type.
