MCP Server Studio

TikTok Agent Publisher MCP server

Local-first TikTok Content Posting API for AI agents: OAuth checks, dry-run and live uploads.

Registry name: io.github.davidmosiah/tiktok-agent-publisher

Publisher
davidmosiah
Runs
Runs locally
Package
npm
Version
0.1.5
Category
AI & agents
Updated
2026-05-29

Source code on GitHub

Set up TikTok Agent Publisher (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "tiktok-agent-publisher": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TIKTOK_DRY_RUN": "<TIKTOK_DRY_RUN>",
        "TIKTOK_CLIENT_KEY": "<TIKTOK_CLIENT_KEY>",
        "TIKTOK_CLIENT_SECRET": "<TIKTOK_CLIENT_SECRET>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add tiktok-agent-publisher -e TIKTOK_DRY_RUN='<TIKTOK_DRY_RUN>' -e TIKTOK_CLIENT_KEY='<TIKTOK_CLIENT_KEY>' -e TIKTOK_CLIENT_SECRET='<TIKTOK_CLIENT_SECRET>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "tiktok-agent-publisher": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TIKTOK_DRY_RUN": "<TIKTOK_DRY_RUN>",
        "TIKTOK_CLIENT_KEY": "<TIKTOK_CLIENT_KEY>",
        "TIKTOK_CLIENT_SECRET": "<TIKTOK_CLIENT_SECRET>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "tiktok-agent-publisher": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TIKTOK_DRY_RUN": "<TIKTOK_DRY_RUN>",
        "TIKTOK_CLIENT_KEY": "<TIKTOK_CLIENT_KEY>",
        "TIKTOK_CLIENT_SECRET": "<TIKTOK_CLIENT_SECRET>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "tiktok-agent-publisher": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "TIKTOK_DRY_RUN": "<TIKTOK_DRY_RUN>",
        "TIKTOK_CLIENT_KEY": "<TIKTOK_CLIENT_KEY>",
        "TIKTOK_CLIENT_SECRET": "<TIKTOK_CLIENT_SECRET>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
TIKTOK_DRY_RUNNoSet to false only when the agent should perform live TikTok upload operations. Defaults to dry-run behavior.
TIKTOK_CLIENT_KEYNoTikTok developer app client key. Optional until OAuth or live upload flows are used.
TIKTOK_CLIENT_SECRETNoTikTok developer app client secret. Keep local and do not expose it to agents.

More ai & agents MCP servers