
TikTok Agent Publisher
io.github.davidmosiah由 GitHub 账号 davidmosiah 发布v0.1.5更新于 Oct 24, 2026
Local-first TikTok Content Posting API for AI agents: OAuth checks, dry-run and live uploads.
发布方自己的服务:Tiktokporn
概览
本地 MCP 服务器,让 AI 助手通过 TikTok 官方 Content Posting API 检查就绪状态、生成 OAuth 链接,并试运行或正式发布视频。
- 可以做什么
- 检查连接就绪状态、OAuth 状态与媒体托管配置,且不暴露令牌值;执行隐私审计,说明本地与正式发布边界;提供面向智能体运行时的安装指引。构建并校验带标题和文案的视频发布任务,并轮询发布状态。列出近期视频用于发布后确认。所有写入流程默认试运行并返回合成 ID,直到显式开启正式模式。
- 适用场景
- 当助手需要通过 TikTok 官方 Content Posting API 而非浏览器自动化来发布或查看 TikTok 视频,并希望在真实上传前先做安全的试运行演练时使用。
- 运行要求
- 以 npm 包形式通过 stdio 在本地运行(需要 Node.js);另有仅限本机回环的可选 HTTP 模式。正式使用需要 TikTok 开发者应用及 TIKTOK_CLIENT_KEY、TIKTOK_CLIENT_SECRET,完成 OAuth 流程,并将 TIKTOK_DRY_RUN 设为 false。图片和从链接拉取流程需要 Supabase Storage 等公共媒体托管。
安装
在 SourceWeft 中
- 打开 控制台中的 TikTok Agent Publisher,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
TikTok Agent Publisher
Agent-first TikTok Content Posting API CLI + MCP.
Dry-run safe, OAuth readiness checks, structured output for any agent runtime.
[npm version] [npm downloads] [License MIT] [Built for MCP]
[GitHub stars] [CI status] [Part of the Delx agent stack] [Category]
⭐ If this agent-first tool helps your workflow, please star the repo. Stars make this tooling easier for other builders to discover and help Delx keep shipping open infrastructure.
🧱 Part of the Delx agent stack — 15 open-source MCP servers across body, reach and coordination.
Local-first TikTok Content Posting API tooling for AI agents. It gives Codex, Claude, Cursor, Hermes, OpenClaw and other MCP clients a safe way to check readiness, build OAuth URLs, dry-run publish flows and upload TikTok videos only when live mode is explicitly enabled.
Use it when an agent needs to publish or inspect TikTok content without browser automation, hidden state or token leakage.
Why It Exists
Most social publishing scripts are built for humans at a terminal. Agents need a different contract:
- a manifest that explains install/runtime rules
- a connection status tool before write operations
- privacy boundaries that never return token values
- dry-run by default
- structured JSON outputs for planning, retries and audit trails
This repo packages that contract around TikTok's official Content Posting API.
Install
Or run without installing:
First Post (Dry-Run) Walkthrough
No TikTok credentials are required to try this. With no .env, dry-run is on by
default, so every command below returns structured JSON without touching the live
API. This is the exact sequence an agent should follow before its first real post.
The outputs are real CLI runs, lightly trimmed.
1. Check readiness. doctor reports mode and what is still missing — never any
token values.
2. Confirm the privacy boundaries. privacy-audit states what stays local and
what is sent to TikTok, so the agent can reason about the contract before any write.
3. Build the publish payload (dry-run). This validates the job shape and caption
without uploading anything. result.platformPostId is a synthetic dryrun_* id and
raw.dryRun is true, so you can wire up retries and audit logging safely.
4. Poll status (dry-run). publish-status returns a DRY_RUN status so the
polling loop can be exercised end to end.
5. List recent videos (dry-run). Returns an empty, well-formed list — the same shape the live API returns, so post-publish confirmation code works unchanged.
Going live. Fill in TIKTOK_CLIENT_KEY / TIKTOK_CLIENT_SECRET (and complete
OAuth — see auth-url), confirm doctor reports ready_for_live_publish: true,
then set TIKTOK_DRY_RUN=false. The same five commands then operate against the real
Content Posting API.
CLI
Dry-run is enabled by default. Set TIKTOK_DRY_RUN=false only after doctor is clean and you are ready for live API calls.
MCP
Stdio:
HTTP (v2 stateless)
Default is stdio. Optional Streamable HTTP — no session id, JSON responses, loopback only:
Env: TIKTOK_MCP_HOST, TIKTOK_MCP_PORT, TIKTOK_MCP_TRANSPORT=http.
Hermes-style config:
Recommended first calls:
tiktok_connection_statustiktok_privacy_audittiktok_publish_video
Agent Surfaces
Copy-Paste Agent Prompt
Configuration
Copy .env.example to .env and fill only the values you need. Do not commit .env, token files or .agent-data/.
For video inbox uploads, a local file can be uploaded directly through TikTok's upload URL. Photo and pull-from-url workflows can use Supabase Storage or another public media host.
Safety Model
- Tokens are read from environment or local
.env; tool responses never include token values. - Live publishing is disabled unless
TIKTOK_DRY_RUN=false. - OAuth PKCE verifier is persisted locally in
.agent-data/and not returned in MCP output. - The package uses TikTok's official API surfaces; it does not automate a browser session.
Development
📧 Contact & Support
- 📨 [email protected] — general questions, integration help, partnerships
- 🐛 Bug reports / feature requests — GitHub Issues
- 🐦 Updates — @delx369 on X
- 🌐 Site — wellness.delx.ai
来源:README.md,提交 d262af5
工具
0版本历史
1- v0.1.5最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Tik-Tok 集成
Tiktokporn
porn.tik-tok官方发布者
一个远程 MCP 服务器,让助手搜索并浏览某成人视频网站的公开视频、创作者和话题标签目录。

Best Time to Post: Instagram, TikTok & YouTube
由 GitHub 账号 Nero-Engine 发布
根据Instagram、TikTok或YouTube的帖子记录,为每个账号排出最佳发帖星期和时段AI 翻译

YouTube & TikTok Transcripts
由 GitHub 账号 heyitsgautham 发布
YouTube 和 TikTok 文字记录,以及作为工具的 YouTube 搜索和评论。运行于 Apify。AI 翻译

TikTok Pages MCP by InsightfulPipe
com.insightfulpipe
托管的 TikTok Pages MCP 服务器,让助手读取创作者资料与视频数据,并发起视频或图文发布。

TikTok Ads MCP by InsightfulPipe
com.insightfulpipe
托管式 TikTok 广告 MCP 服务器,让 AI 助手读取 TikTok 广告数据并管理广告系列、广告组、广告和受众。