Kimi Code
Set up Kimi Code to manage your social accounts with dopost.
Set up Kimi Code to manage your social accounts with dopost.
Kimi Code is Moonshot AI's coding agent for the terminal, built on the Kimi models. It reads MCP servers from ~/.kimi-code/mcp.json and manages their sign-in from inside the session.
Check the API access requirements before connecting your workspace.
Add the hosted server and sign in from the session
Sign in to dopost to connect your accounts. No API key is needed.
Where to configure it: ~/.kimi-code/mcp.json
{
"mcpServers": {
"dopost": { "url": "https://mcp.dopost.co/mcp" }
}
}{
"mcpServers": {
"dopost": { "url": "https://mcp.dopost.co/mcp" }
}
}Run the dopost MCP server locally inside Kimi Code
Local file uploads and clients without remote MCP support.
Where to configure it: Kimi Code's local MCP configuration
Create the key in Settings → API keys, in the workspace you want to connect. Select the permissions for the actions you will use; analytics needs analytics:read. Store the key in the environment or the client's credential field.
{
"mcpServers": {
"dopost": {
"command": "npx",
"args": ["-y", "@dopost/mcp-server"],
"env": { "DOPOST_API_KEY": "dpk_live_your_key" }
}
}
}{
"mcpServers": {
"dopost": {
"command": "npx",
"args": ["-y", "@dopost/mcp-server"],
"env": { "DOPOST_API_KEY": "dpk_live_your_key" }
}
}
}Start a new conversation and ask:
Use dopost to list my connected social accounts.
Check that the returned accounts belong to the workspace you authorized.
Write a LinkedIn post explaining who needs to act on this migration and the deadline. Schedule it for Monday at 09:00.
Turn the upgrade instructions in MIGRATION.md into a four-post X thread and schedule it for Tuesday at 10:00.
Use this migration guide to write a Threads post answering the three questions admins are most likely to ask. Include the deadline and docs link, then schedule it for Wednesday at 09:00.
Compare my accounts' performance over the last 30 days and show my best-performing posts. Include when the data was last updated.
You need analytics:read. See the MCP reference or the analytics endpoints, depending on your connection method. Available metrics depend on the platform and collected data.
Run /mcp-config login dopost again and finish the sign-in in the same browser profile you use for dopost.
Check that the workspace has a Creator, Pro or Agency plan and the credential includes the action's permissions. For analytics, check analytics:read. Existing credentials do not receive new permissions automatically.
Reconnect dopost and approve the required workspaces and permissions. Then refresh the client's MCP connection and start a new conversation.
Check that the key is active and belongs to the correct workspace. For the Skill or local server, check that the agent process receives DOPOST_API_KEY. A remote MCP client using a token needs Authorization: Bearer <key>; REST calls use x-api-key.
Check the authorized workspace, connected accounts, and date range. Analytics may be partial or not yet available. Do not treat missing values as zero; inspect the returned freshness and coverage information.