Skip to content
VS Code

TikTok Agent Publisher for VS Code

io.github.davidmosiah/tiktok-agent-publisher

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

client:VS Code transport:stdio runtime:npm

Install TikTok Agent Publisher in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "tiktok-dry-run",
      "description": "TIKTOK_DRY_RUN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tiktok-client-key",
      "description": "TIKTOK_CLIENT_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "tiktok-client-secret",
      "description": "TIKTOK_CLIENT_SECRET",
      "password": true
    }
  ],
  "servers": {
    "tiktok-agent-publisher": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tiktok-agent-publisher"
      ],
      "env": {
        "TIKTOK_DRY_RUN": "${input:tiktok-dry-run}",
        "TIKTOK_CLIENT_KEY": "${input:tiktok-client-key}",
        "TIKTOK_CLIENT_SECRET": "${input:tiktok-client-secret}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

TikTok Agent Publisher in other clients