# TikTok Agent Publisher

> TikTok Agent Publisher is an open-source MCP server. Local-first TikTok Content Posting API for AI agents: OAuth checks, dry-run and live uploads. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/davidmosiah/tiktok-agent-publisher
- **MCP Registry name:** io.github.davidmosiah/tiktok-agent-publisher
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
claude mcp add tiktok-agent-publisher --env TIKTOK_CLIENT_SECRET='<TIKTOK_CLIENT_SECRET>' -- npx -y tiktok-agent-publisher
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "tiktok-agent-publisher": {
      "command": "npx",
      "args": [
        "-y",
        "tiktok-agent-publisher"
      ],
      "env": {
        "TIKTOK_CLIENT_SECRET": "<TIKTOK_CLIENT_SECRET>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "tiktok-agent-publisher": {
      "command": "npx",
      "args": [
        "-y",
        "tiktok-agent-publisher"
      ],
      "env": {
        "TIKTOK_CLIENT_SECRET": "<TIKTOK_CLIENT_SECRET>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "tiktok-agent-publisher": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tiktok-agent-publisher"
      ],
      "env": {
        "TIKTOK_CLIENT_SECRET": "<TIKTOK_CLIENT_SECRET>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "tiktok-agent-publisher": {
      "command": "npx",
      "args": [
        "-y",
        "tiktok-agent-publisher"
      ],
      "env": {
        "TIKTOK_CLIENT_SECRET": "<TIKTOK_CLIENT_SECRET>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "tiktok-agent-publisher": {
      "command": "npx",
      "args": [
        "-y",
        "tiktok-agent-publisher"
      ],
      "env": {
        "TIKTOK_CLIENT_SECRET": "<TIKTOK_CLIENT_SECRET>"
      }
    }
  }
}
```

## FAQ

### Is TikTok Agent Publisher free?

Yes. TikTok Agent Publisher is open source, so you can use and self-host it for free.

### How do I add TikTok Agent Publisher to Claude Code?

Run this command in your terminal: claude mcp add tiktok-agent-publisher --env TIKTOK_CLIENT_SECRET='<TIKTOK_CLIENT_SECRET>' -- npx -y tiktok-agent-publisher

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/tiktok-agent-publisher
