# postoncehq/tiktok-mcp architecture

> Architecture diagram of the GitHub repository postoncehq/tiktok-mcp, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/postoncehq/tiktok-mcp
- Repository: https://github.com/postoncehq/tiktok-mcp

## Overview

This repository packages TikTok-focused agent skills and client plugin configuration; the MCP server and publishing implementation are hosted by PostOnce, not included here. The documented workflow is an agent using skills to prepare content, then using PostOnce MCP tools to upload media, create or schedule a post, and publish through TikTok’s official API. The README documents these service relationships; no server-side source was provided.

Main entry points: [`.claude-plugin/plugin.json`](https://github.com/postoncehq/tiktok-mcp/blob/main/.claude-plugin/plugin.json) (MCP client setup), [`skills/tiktok-script-generator/SKILL.md`](https://github.com/postoncehq/tiktok-mcp/blob/main/skills/tiktok-script-generator/SKILL.md) (Script generator), [`skills/tiktok-hook-generator/SKILL.md`](https://github.com/postoncehq/tiktok-mcp/blob/main/skills/tiktok-hook-generator/SKILL.md) (Hook generator), [`skills/tiktok-caption-generator/SKILL.md`](https://github.com/postoncehq/tiktok-mcp/blob/main/skills/tiktok-caption-generator/SKILL.md) (Caption generator)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_skills["Agent skills"]
  node_script["Script generator<br/>[SKILL.md]"]
  node_hooks["Hook generator<br/>[SKILL.md]"]
  node_caption["Caption generator<br/>[SKILL.md]"]
  node_hashtags["Hashtag generator<br/>[SKILL.md]"]
  node_slideshow["Slideshow maker<br/>[SKILL.md]"]
  node_bio["Bio generator<br/>[SKILL.md]"]
  node_calendar["Content calendar<br/>[SKILL.md]"]
  node_workflow["Publishing workflow<br/>[SKILL.md]"]
end

subgraph group_clients["Client integration"]
  node_client["MCP client setup<br/>[plugin.json]"]
end

subgraph group_publishing["Publishing services"]
  node_postonce{{"PostOnce MCP"}}
  node_storage[("Media storage")]
  node_tiktok{{"TikTok API"}}
end

node_user(("User"))
node_agent["AI agent"]

node_user -->|"requests content"| node_agent
node_agent -->|"uses skill"| node_script
node_agent -->|"uses skill"| node_hooks
node_agent -->|"uses skill"| node_caption
node_agent -->|"uses skill"| node_hashtags
node_agent -->|"uses skill"| node_slideshow
node_agent -->|"uses skill"| node_bio
node_agent -->|"uses skill"| node_calendar
node_agent -->|"uses skill"| node_workflow
node_client -->|"connects to"| node_postonce
node_agent -->|"calls MCP"| node_postonce
node_postonce -->|"stores media"| node_storage
node_postonce -->|"publishes via API"| node_tiktok

click node_script "https://github.com/postoncehq/tiktok-mcp/blob/main/skills/tiktok-script-generator/SKILL.md"
click node_hooks "https://github.com/postoncehq/tiktok-mcp/blob/main/skills/tiktok-hook-generator/SKILL.md"
click node_caption "https://github.com/postoncehq/tiktok-mcp/blob/main/skills/tiktok-caption-generator/SKILL.md"
click node_hashtags "https://github.com/postoncehq/tiktok-mcp/blob/main/skills/tiktok-hashtag-generator/SKILL.md"
click node_slideshow "https://github.com/postoncehq/tiktok-mcp/blob/main/skills/tiktok-slideshow-maker/SKILL.md"
click node_bio "https://github.com/postoncehq/tiktok-mcp/blob/main/skills/tiktok-bio-generator/SKILL.md"
click node_calendar "https://github.com/postoncehq/tiktok-mcp/blob/main/skills/tiktok-content-calendar/SKILL.md"
click node_workflow "https://github.com/postoncehq/tiktok-mcp/blob/main/skills/postonce/SKILL.md"
click node_client "https://github.com/postoncehq/tiktok-mcp/blob/main/.claude-plugin/plugin.json"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_script,node_hooks,node_caption,node_hashtags,node_slideshow,node_bio,node_calendar,node_workflow,node_user toneBlue
class node_client toneAmber
class node_postonce,node_storage,node_tiktok toneMint
class node_agent toneIndigo
```

## Components

### Agent skills

- [Script generator](https://github.com/postoncehq/tiktok-mcp/blob/main/skills/tiktok-script-generator/SKILL.md): `skills/tiktok-script-generator/SKILL.md`
- [Hook generator](https://github.com/postoncehq/tiktok-mcp/blob/main/skills/tiktok-hook-generator/SKILL.md): `skills/tiktok-hook-generator/SKILL.md`
- [Caption generator](https://github.com/postoncehq/tiktok-mcp/blob/main/skills/tiktok-caption-generator/SKILL.md): `skills/tiktok-caption-generator/SKILL.md`
- [Hashtag generator](https://github.com/postoncehq/tiktok-mcp/blob/main/skills/tiktok-hashtag-generator/SKILL.md): `skills/tiktok-hashtag-generator/SKILL.md`
- [Slideshow maker](https://github.com/postoncehq/tiktok-mcp/blob/main/skills/tiktok-slideshow-maker/SKILL.md): `skills/tiktok-slideshow-maker/SKILL.md`
- [Bio generator](https://github.com/postoncehq/tiktok-mcp/blob/main/skills/tiktok-bio-generator/SKILL.md): `skills/tiktok-bio-generator/SKILL.md`
- [Content calendar](https://github.com/postoncehq/tiktok-mcp/blob/main/skills/tiktok-content-calendar/SKILL.md): `skills/tiktok-content-calendar/SKILL.md`
- [Publishing workflow](https://github.com/postoncehq/tiktok-mcp/blob/main/skills/postonce/SKILL.md): `skills/postonce/SKILL.md`

### Client integration

- [MCP client setup](https://github.com/postoncehq/tiktok-mcp/blob/main/.claude-plugin/plugin.json): `.claude-plugin/plugin.json`

### Publishing services

- **PostOnce MCP**
- **Media storage**
- **TikTok API**

### Other components

- **User**
- **AI agent**

## Connections

- User → AI agent: requests content (evidence: `README.md`)
- AI agent → Script generator: uses skill (evidence: `README.md`)
- AI agent → Hook generator: uses skill (evidence: `README.md`)
- AI agent → Caption generator: uses skill (evidence: `README.md`)
- AI agent → Hashtag generator: uses skill (evidence: `README.md`)
- AI agent → Slideshow maker: uses skill (evidence: `README.md`)
- AI agent → Bio generator: uses skill (evidence: `README.md`)
- AI agent → Content calendar: uses skill (evidence: `README.md`)
- AI agent → Publishing workflow: uses skill (evidence: `README.md`)
- MCP client setup → PostOnce MCP: connects to (evidence: `README.md`)
- AI agent → PostOnce MCP: calls MCP (evidence: `README.md`)
- PostOnce MCP → Media storage: stores media (evidence: `README.md`)
- PostOnce MCP → TikTok API: publishes via API (evidence: `README.md`)
