Skip to content

v1.1.0

Choose a tag to compare

@thenavidm thenavidm released this 03 Sep 23:04
· 12 commits to main since this release

Renamed to @thenavidm/tiktok-mcp-cli, because the package is now two surfaces rather than one. @thenavidm/tiktok-mcp is deprecated and points here. The binaries are unchanged: tiktok-mcp and tiktok-cli.

A second surface. The same 14 tools run as tiktok-cli shell commands, generated from the one ALL_TOOLS array through the same handlers and the same WriteGuard, so the two surfaces cannot drift. --agent and --select make a long video list affordable to an agent, and exit codes let a script branch without parsing a message.

A Claude Desktop extension. Download tiktok-1.1.0.mcpb below and double-click it. It carries its own dependencies and asks for the client key, secret and refresh token in the install dialog.

Fixed

  • A write refused for want of --confirm exited 5, which tells a script the call failed upstream and is worth retrying. Nothing left the machine, so it exits 2.
  • A missing credential exited 4, the code for a rejected token, because the message mentions a refresh token. It exits 10.
  • --version read a hardcoded string that a release could bump independently of package.json.
  • An array of enums took a JSON literal rather than the word you type.

Docs. The README names both surfaces, shows runnable examples of each, and publishes the context cost measured off a real tools/list handshake: 3,882 tokens of tool definitions plus 339 of instructions, 4,221 a turn, or 2,402 under TIKTOK_READ_ONLY=1. Two claims were corrected against TikTok's own documentation: a refresh token may come back different rather than rotating on every use, and TikTok publishes no price for these APIs, so the FAQ no longer calls them free.

Full notes in CHANGELOG.md.