# Run Your Shopify SEO from Kimi Code

> Add StoreSEO to Kimi Code CLI, sign in with /mcp-config login, then audit products, fix meta and alt text and publish llms.txt from your terminal.

Kimi Code is Moonshot AI's terminal coding agent, which runs the Kimi model and can call external tools through the Model Context Protocol. Connected to StoreSEO, it reads your store's SEO scores, previews optimized meta and images, and applies the changes you approve without opening the Shopify admin.

- Add the server in JSON or with /mcp-config
- OAuth through your Shopify admin, or a token header
- User or project scope for the connection

## How do I connect Kimi Code to StoreSEO?

### 1. Add StoreSEO to Kimi Code

Create or edit ~/.kimi-code/mcp.json so every project on your machine can use StoreSEO. For one repository only, use .kimi-code/mcp.json inside it. You can also run /mcp-config in Kimi Code and have it add the server for you.

```json
{
  "mcpServers": {
    "storeseo": {
      "url": "https://mcp.storeseo.com/mcp"
    }
  }
}
```

### 2. Sign in to your store

Start a new Kimi Code session (a server added mid-session registers in the next one), run this command, then follow the browser window: pick your Shopify store and approve access.

```text
/mcp-config login storeseo
```

### 3. Or connect with an access token (optional)

If you cannot use a browser sign-in, generate a token in StoreSEO under Settings, AI Toolkit and add it as a header in the same server entry.

```json
{
  "mcpServers": {
    "storeseo": {
      "url": "https://mcp.storeseo.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_TOKEN"
      }
    }
  }
}
```

**Sign-in:** Kimi Code signs you in with OAuth: add the server, run /mcp-config login storeseo, pick your Shopify store in the browser and approve. If you prefer a token, generate one in StoreSEO under Settings, AI Toolkit and put it in the server's headers.

Verify with: "Run /mcp to confirm storeseo is connected, then ask: Use StoreSEO to show me my store's SEO score breakdown."

Full setup guide: https://storeseo.com/docs/connect-storeseo-to-kimi

### Example session (illustrative)

**You:** Find my five lowest-scoring products and preview better meta for each.
→ `storeseo_start` (read-only)
→ `storeseo_list_resources` (read-only)
→ `storeseo_preview_resource_optimization` (preview)
**Agent:** StoreSEO drafted new meta for all five. The biggest jump is Linen Shirt, projected 41 to 78. Previews used AI credit; applying is free. Apply all five?
**You:** Yes, apply them.
→ `storeseo_apply_resource_optimization` (needs approval)
**Agent:** Applied. All five re-scored; the next fix is alt text on 14 images. Want me to do those?

## What is Kimi Code?

Kimi Code is Moonshot AI's terminal coding agent. You start it with the kimi command in a project folder, and it reads and edits files, runs commands, searches the code and fetches web pages while you watch. It runs the Kimi model, and you sign in with /login using either a Kimi Code OAuth account or a Moonshot platform API key.

It is an MCP client. Servers are listed in ~/.kimi-code/mcp.json for every project, or in .kimi-code/mcp.json for one repository, where the project entry overrides the user entry. The /mcp-config command can add, edit and delete servers without hand-editing JSON, and /mcp-config login runs the browser sign-in for servers that use OAuth.

That makes it a fit for developers and agencies who already work on a Shopify theme in the terminal. The same session that edits Liquid can audit the store's SEO, apply StoreSEO's optimized content and report the new scores.

## Why use Kimi Code with StoreSEO?

- **One session for code and SEO.** When a fix needs a theme change, such as where FAQs render or how a schema block is placed, the same session can open the Liquid file next to the StoreSEO results.
- **Work through the whole catalog.** Ask for every product under a score and Kimi Code pages through the listing, previews several at once and gives you one summary to approve, instead of you opening products one by one.
- **Approvals you can see.** Kimi Code shows an approval panel for tool calls and offers Approve for this session, so you decide how much of a StoreSEO run goes ahead on its own.

## Good to know

- A server added while Kimi Code is open does not register until the next session starts, so restart before you run /mcp-config login.
- Kimi Code reads read-only tool calls without asking, but asks for the rest by default. The /yolo and /auto modes and Approve for this session reduce those prompts; keep apply, write and generate tools on ask so the confirmation StoreSEO asks for is not your only check.
- A project file at .kimi-code/mcp.json overrides a user entry with the same name, so a stale storeseo entry in a repository can shadow the one in your home folder.
- Older Kimi CLI builds keep their settings in a different folder than ~/.kimi-code. These steps are for Kimi Code CLI.

## What can you ask Kimi Code to do in StoreSEO?

- Use StoreSEO to list every product scoring under 50 and preview new meta for the first ten.
- Which product images have no alt text? Write it for my top collection, one image at a time.
- Is my llms.txt up to date? If not, tell me what generating a new one will change before you run it.
- Show me Search Console queries for the last 28 days where we rank between 8 and 20.
- Check the product schema on my store and tell me which products are missing it.

## Kimi Code guides by job

- [Audit your store's SEO with Kimi Code](https://storeseo.com/agent/kimi/seo-audit): Find the products, collections, pages and posts with the lowest SEO scores and see exactly what each one is missing.
- [Optimize meta tags and content with Kimi Code](https://storeseo.com/agent/kimi/optimize-meta): Preview and apply new meta titles, descriptions, URL handles, tags, FAQs and AI snippets, and set what StoreSEO optimizes automatically for newly synced products, collections and articles.
- [Optimize images and alt text with Kimi Code](https://storeseo.com/agent/kimi/image-seo): Compress heavy images, write alt text and give image files descriptive names, one image at a time, with a restore for each change.
- [Get products ready for AI search with Kimi Code](https://storeseo.com/agent/kimi/ai-search-readiness): Raise a product's GEO score so AI shopping agents and answer engines can understand it: FAQs, AI snippet, product schema and an agent-ready description.
- [Publish llms.txt and agents.md with Kimi Code](https://storeseo.com/agent/kimi/llms-txt-agents-md): Generate the llms.txt file answer engines read and the agents.md file AI shopping agents read, check what is live, roll back or delete llms.txt versions, and reset agents.md to Shopify's default.
- [Set up structured data with Kimi Code](https://storeseo.com/agent/kimi/structured-data): Check which JSON-LD schema types are on, configure organization, local business, product and review schema, and switch types on or off.
- [Manage sitemaps and indexing with Kimi Code](https://storeseo.com/agent/kimi/sitemaps): Exclude pages from the sitemap, set noindex or nofollow on a resource, and set up an HTML sitemap page for shoppers and crawlers, including which menu links to it.
- [Track keyword rankings with Kimi Code](https://storeseo.com/agent/kimi/keyword-tracking): Track where your store ranks on Google by country and language, add or remove keywords and up to five competitors, read each keyword's rank history, and build keyword clusters for products.
- [Read Search Console and Analytics with Kimi Code](https://storeseo.com/agent/kimi/google-reports): Ask about clicks, impressions, queries, pages and traffic sources from Google Search Console and GA4 without opening either.
- [Write SEO blog post drafts with Kimi Code](https://storeseo.com/agent/kimi/blog-posts): Have StoreSEO write a complete SEO blog post and save it as a draft in your Shopify blog, ready for you to review and publish.

## Which way should you connect?

StoreSEO exposes the same MCP server to every client. What differs is how the client proves who you are, plus one assistant that lives inside Shopify itself.

| Way in | Best for | Sign-in | What you get |
|---|---|---|---|
| MCP server with OAuth | Claude, ChatGPT and any client that supports remote MCP sign-in | Pick your store in Shopify and approve once | All 44 tools, scoped to the store you approved |
| MCP server with an access token | Terminal agents and editors, or any client without OAuth | Generate a named token in Settings, AI Toolkit and send it as a Bearer header | The same 44 tools; revoke the token in the app to cut access |
| Shopify Sidekick | Merchants who stay inside Shopify admin | Nothing to add: StoreSEO is installed in your store | SEO answers and deep links to the fix page, not the MCP tools |

## Frequently asked questions

### How do I connect Kimi Code to StoreSEO?

Add a server named storeseo with the URL https://mcp.storeseo.com/mcp to ~/.kimi-code/mcp.json, either by editing the file or by running /mcp-config in Kimi Code. Start a new session, run /mcp-config login storeseo, pick your Shopify store in the browser and approve access.

### Do I need a StoreSEO API key for Kimi Code?

No. Kimi Code signs in with OAuth through /mcp-config login. A personal access token from StoreSEO under Settings, AI Toolkit is the alternative, added as an Authorization header in the server entry.

### Where does Kimi Code store the StoreSEO server?

In ~/.kimi-code/mcp.json for every project on your machine, or in .kimi-code/mcp.json inside a repository, where it overrides a user entry of the same name.

### Will Kimi Code change my products without asking?

StoreSEO tells the agent to preview first and wait for your yes before it applies content, optimizes images, publishes a file or deletes anything. Kimi Code also asks before running tools that are not read-only unless you chose a mode or rule that approves them. Reads such as scores and reports run straight away. Keep the write tools on ask if you want both checks.

### Does Kimi Code work with the Kimi chat app?

This page covers Kimi Code CLI, the terminal agent. It connects to StoreSEO through its MCP configuration as described above. We have not checked the Kimi chat apps, so use the terminal agent for StoreSEO.

### Which StoreSEO plan does Kimi Code need?

Any active StoreSEO plan, including the free plan, can use the MCP server. Rank tracking is a Pro feature, Google reports need a paid plan with Google connected, and generated content spends AI credit.

### StoreSEO tools do not show up in Kimi Code. What should I check?

Run /mcp to see whether storeseo is listed and connected. If it is missing, check the JSON in ~/.kimi-code/mcp.json and any .kimi-code/mcp.json in the project, then start a new session. If it is listed but not signed in, run /mcp-config login storeseo.

### How do I disconnect Kimi Code from my store?

Delete the storeseo entry with /mcp-config or remove it from mcp.json. You can also revoke the connection in StoreSEO under Settings, AI Toolkit, where every connected app is listed.

## Also works with

- [Claude](https://storeseo.com/agent/claude): Anthropic's chat assistant on the web and desktop. Add StoreSEO as a custom connector, no terminal needed.
- [ChatGPT](https://storeseo.com/agent/chatgpt): OpenAI's chat assistant. A developer-mode app with the StoreSEO MCP URL and OAuth sign-in.
- [Claude Code](https://storeseo.com/agent/claude-code): Anthropic's terminal agent. One claude mcp add command, then your store's SEO in the same session as your theme code.
- [Claude Cowork](https://storeseo.com/agent/claude-cowork): Anthropic's agent for delegated work. Add the StoreSEO connector, hand off an SEO job and review the results.
- [Cursor](https://storeseo.com/agent/cursor): The AI code editor. One mcp.json entry, and four tools switched off because Cursor stops at about 40.
- [Codex](https://storeseo.com/agent/codex): OpenAI's coding agent. One codex mcp add command, one codex mcp login, and the same setup in the app and the IDE.
- [Gemini CLI](https://storeseo.com/agent/gemini-cli): Google's terminal agent. One gemini mcp add command, and the browser sign-in is found automatically.
- [GitHub Copilot](https://storeseo.com/agent/github-copilot): Copilot agent mode in VS Code. One .vscode/mcp.json entry puts your store's SEO beside your theme code.
- [Windsurf](https://storeseo.com/agent/windsurf): The Cognition AI editor. A serverUrl entry in mcp_config.json, and all 44 tools fit under Cascade's 100-tool cap.
- [Grok](https://storeseo.com/agent/grok): xAI's chat assistant. Add StoreSEO as a custom connector on grok.com and ask about your store's SEO.
- [ChatGPT dots](https://storeseo.com/agent/chatgpt-dots): OpenAI's always-on agents in ChatGPT. They share the StoreSEO plugin you add in developer mode and can run report-only checks on a schedule.
- [Grok Bot](https://storeseo.com/agent/grok-bot): xAI's named Bots on a cloud computer. Add the StoreSEO MCP URL as a plugin and let a Bot run report-only SEO routines.
- [Muse](https://storeseo.com/agent/muse): Meta's personal AI agent. Send one message with the StoreSEO link, approve the sign-in, then run your store's SEO from chat.
- [Manus](https://storeseo.com/agent/manus): A general AI agent that finishes multi-step tasks. Add StoreSEO as a custom MCP server and name it in a task.
- [OpenClaw](https://storeseo.com/agent/openclaw): The self-hosted agent runtime with chat apps and automations. Two commands to connect, then SEO reports on a timer.
- [Hermes Agent](https://storeseo.com/agent/hermes-agent): Nous Research's agent with memory and a built-in scheduler. An mcp_servers entry in config.yaml and one login.
- [Paperclip](https://storeseo.com/agent/paperclip): Self-hosted orchestrator for agent teams. Add StoreSEO to the agent Paperclip runs, then hand it SEO work as tasks and routines.
- [NanoClaw](https://storeseo.com/agent/nanoclaw): A small self-hosted assistant you own. Add StoreSEO to its agent and ask about your store from the chat app you already use.
- [OpenCode](https://storeseo.com/agent/opencode): The open-source terminal coding agent. One remote MCP entry, then opencode mcp auth storeseo.
- [Zed](https://storeseo.com/agent/zed): The Zed editor's Agent Panel. One context_servers entry in settings.json and a browser sign-in.
- [Kiro](https://storeseo.com/agent/kiro): AWS's agentic IDE. One url entry in .kiro/settings/mcp.json, workspace or user level, and a browser sign-in.
- [Antigravity](https://storeseo.com/agent/antigravity): Google's agentic IDE. One serverUrl entry in mcp_config.json, then a browser sign-in with an authorization code.

## Related

- [StoreSEO AI Toolkit setup](https://storeseo.com/docs/ai-toolkit-ai-agent-friendly-solution)
- [Connect StoreSEO MCP to your AI assistant](https://storeseo.com/docs/connect-storeseo-mcp-to-your-ai-assistant)
- [AI agents and MCP playbook](https://storeseo.com/use-cases/ai-agents)
- [StoreSEO with Claude Code](https://storeseo.com/agent/claude-code)

Setup checked against:

- [Kimi Code CLI: MCP configuration](https://moonshotai.github.io/kimi-code/en/customization/mcp.html)
- [Kimi Code CLI: slash commands](https://moonshotai.github.io/kimi-code/en/reference/slash-commands)
- [Kimi Code CLI: interaction and approvals](https://moonshotai.github.io/kimi-code/en/guides/interaction)
- [Kimi Code CLI on GitHub](https://github.com/MoonshotAI/kimi-code)

---

Canonical: https://storeseo.com/agent/kimi
Last updated: October 2026.

Approval: Reads run straight away; StoreSEO tells the agent to preview and wait for your yes before it writes, spends credit or publishes, and your client's tool-approval setting is the hard stop.

Every agent guide: https://storeseo.com/agent · Connect the MCP server: https://storeseo.com/docs/connect-storeseo-mcp-to-your-ai-assistant · Pricing: https://storeseo.com/pricing · Install StoreSEO: https://apps.shopify.com/storeseo
