Kimi Code + Xholic

Post to X from Kimi Code

Add Xholic to Kimi Code and it can turn your work into posts in your voice, schedule them and tell you how they did, from the terminal.

  • Add the server with /mcp-config or mcp.json
  • Sign in with /mcp-config login
  • Global or per project

No card needed · Nothing to cancel

How to add the Xholic MCP server to Kimi Code

Connect your X account to Xholic first (one click with X's official sign-in, during the free trial). Then:

  1. Step 1: Add Xholic

    Run /mcp-config in Kimi Code, or add this to ~/.kimi-code/mcp.json (.kimi-code/mcp.json for one project).

    ~/.kimi-code/mcp.json
    {
      "mcpServers": {
        "xholic": {
          "url": "https://api.xholic.ai/mcp"
        }
      }
    }
  2. Step 2: Sign in

    Run /mcp-config login xholic and approve in your browser.

  3. Step 3: Ask Kimi

    Ask: "Use Xholic: what should I post today?"

Kimi Code · with Xholic

Use Xholic: what did my audience respond to most last month, and what should I write next?

  • → whats_worked_for_me
  • → get_writing_kit

Short code walkthroughs got 2.6× your usual replies; opinion posts did worse. Here's a walkthrough draft on today's refactor, ready to schedule.

Server address: https://api.xholic.ai/mcp. Steps checked against Kimi Code MCP docs on November 2, 2026.

Which way should I connect Kimi Code?

Ways to connect Kimi Code to Xholic
WayHowSign-inBest for
/mcp-config or mcp.jsonRecommendedAdd xholic with its url, then /mcp-config login xholicOAuth in your browserEveryone using Kimi Code
Setup promptPaste one prompt; the agent runs the setup itselfOAuth in your browserNot typing commands yourself
Agent skill + CLInpx -y skills@1.7.1 add sjcodebook/xholic-agent -gxholic login (browser), or XHOLIC_API_KEY in CIScripts, CI and agents that prefer commands

What can Kimi Code do with Xholic?

Xholic gives Kimi Code your X account, your audience and the actions to grow it. Kimi Code does the thinking; Xholic does the posting, scheduling and tracking.

What is Kimi Code?

Kimi Code is Moonshot AI's coding agent for the terminal, running on its Kimi models. It connects to remote MCP servers by URL and signs in with OAuth.

  • Moonshot's agent

    Kimi Code brings Moonshot's Kimi models to your terminal.

  • MCP by URL

    A server with a url and no transport is treated as HTTP.

  • OAuth

    /mcp-config login opens your browser to approve, with no key to paste.

What can you ask Kimi Code to do in Xholic?

You decide what Kimi Code can do

  • Choose read, write and publish access when you approve Kimi Code. Untick publish and it asks you first.
  • In apps that can ask, every post and DM waits for your yes, showing exactly what goes out.
  • Kimi Code only sees the X accounts you tick.
  • Everything it does is logged on its connection, with undo where X allows.
  • Billing, X account connections and security settings stay inside the Xholic app.
  • Disconnect it in one click from Settings → API / MCP / CLI.

FAQs

Kimi Code and Xholic: questions

Setup, safety and pricing for using Xholic in Kimi Code.

Is Kimi Code the same as the Kimi chat app?

No. Kimi Code is Moonshot's terminal coding agent, which supports MCP servers like Xholic. The Kimi chat app is a separate product.

I used the older kimi CLI. Does that work?

The older kimi-cli used kimi mcp add --transport http --auth oauth xholic <url> and kimi mcp auth xholic. Kimi Code now uses /mcp-config; both reach the same Xholic server.

Is Xholic free to use with Kimi Code?

Xholic has a 7-day free trial with no card needed. After that, the MCP server, API and CLI are included in every plan, from $19 a month. Kimi Code does the writing on its own plan, so Xholic doesn't charge for its AI.

Does Kimi Code need my X password?

No. You connect your X account to Xholic once through X's official sign-in. Kimi Code then signs in to Xholic through your browser, so it never sees your X password or a key.

Can Kimi Code post to X without asking me?

Only if you allow it. When you approve Kimi Code you choose what it can do: read, write drafts and lists, and publish. Untick Publish and it asks you first with a one-click link. In apps that can show a confirmation, every post and DM waits for your yes and shows exactly what goes out. Authentication and permissions

Which X accounts can Kimi Code use?

Only the ones you tick when you approve it, with one of them as the default. You can change that or disconnect Kimi Code anytime in Xholic under Settings → API / MCP / CLI, and everything it does is logged there.

Use Xholic in every agent you use

One Xholic account works in all of them at once, with the same voice, memory and queue. People who use Kimi Code often also connect Claude Code, Gemini CLI and Codex.

Desktop and chat apps

Building your own? See the API, MCP server and CLI, or read the MCP docs.

Grow on X from Kimi Code

Start the free trial, connect your X account, then connect your AI. It takes about two minutes.

No card needed · Nothing to cancel

Compare plans

Live demo: no sign-up or login needed · takes about 2 minutes