TikTok MCP

Your AI agent for TikTok

Plug Claude or ChatGPT into your TikTok. Ask in plain English. It reads stats, replies to comments, answers DMs, and builds automations.

Works withClaudeChatGPTClaude CodeCodexOpenClawHermes Agent

What your AI agent can do

Your TikTok, run from one chat

Understand your TikTok

Ask about followers, views, likes, engagement rate, watch time, and audience. Get the numbers back in one reply.

Which of my last 10 videos got the most shares?
✳It ranks your recent videos by shares and points to the one pulling ahead.

Handle comments in chat

Pull every comment, hidden ones included. Draft public replies in your voice, hide spam, and wait for your OK.

Reply to unanswered comments on my latest video, and show me first
✳It drafts each reply in your voice and holds them until you approve.

Answer DMs in chat

Read open threads, summarize the day, and draft replies. Send text or an image after you approve the exact message.

Summarize my TikTok DMs from today and draft replies
✳It reads each thread, drafts a reply, and sends only the text you confirm.

Build automations by chat

Set a keyword on a video. Send a DM to people who comment, or when they share your video to your DMs.

On my newest video, if someone comments LINK, reply and send the shop link
✳It saves the keyword, the public reply, and a DM that sends the link.

Prompt library

Copy a prompt, paste it into Claude

TikTok, inside the chat you use

Claude, ChatGPT, Codex, OpenClaw, or Hermes Agent. One hosted URL covers TikTok, Instagram, and Facebook. Nothing to install.

TikTok MCP server

12 TikTok tools, one MCP URL

The same InstantDM connection also covers Instagram and Facebook.

Understand

tiktok_account

Followers, views, likes, engagement rate and where your audience is

list_tiktok_videos

Every video with views, likes, comments, shares, watch time and traffic sources

tiktok_activity

What your automations sent, skipped or had refused, and why

Comments

list_tiktok_comments

All comments on a video, including hidden ones

reply_to_tiktok_comment

Post a public reply, after you approve the text

hide_tiktok_comment

Hide or unhide spam and repeat comments

DMs

list_tiktok_conversations

Your TikTok DM conversations

get_tiktok_conversation

The latest messages in a conversation

send_tiktok_dm

Reply in a conversation with text or an image

Automations

list_tiktok_automations

Every comment, share and DM keyword rule

save_tiktok_automation

Create or edit a video's automation just by describing it

toggle_tiktok_automation

Switch any automation on or off

Connect

Live in three steps

  1. 01

    Create a free account

    Sign up and connect your TikTok with TikTok's own login.

  2. 02

    Get your key

    API Integration → API Keys → Generate.

  3. 03

    Paste one URL

    Add openapi.instantdm.com/mcp to your AI app. Done.

Claude

Settings → Connectors → Add custom connector → paste the URL.

ChatGPT

Settings → Apps & Connectors → Developer mode → add the URL.

Claude Code

claude mcp add --transport http instantdm \
  "https://openapi.instantdm.com/mcp?auth=KEY"

Codex · OpenClaw · Hermes

{"mcpServers": {"instantdm": {
  "type": "http", "url": ".../mcp?auth=KEY"}}}

Full setup guide on the InstantDM MCP page.

Official TikTok API

Sign in with TikTok. InstantDM uses the official API, so your password stays with TikTok.

You approve every send

You see the exact reply or DM before it goes out. Reading your account is free.

Start free, no card

The free trial includes MCP access. TikTok replies and DMs do not use credits right now.

FAQ

TikTok MCP and AI agent questions

What is a TikTok MCP server?

A TikTok MCP server is a hosted connection that lets an AI app use your TikTok account through tools. InstantDM runs one URL, openapi.instantdm.com/mcp. Once your TikTok account is connected, Claude or ChatGPT can read stats, comments, and DMs, reply, and save automations. Nothing to install.

How do I connect Claude to TikTok?

Create a free InstantDM account, connect TikTok, and generate an API key under API Integration. In claude.ai go to Settings, Connectors, Add custom connector, and paste openapi.instantdm.com/mcp?auth=YOUR_KEY. In Claude Code it is one command: claude mcp add with the same URL. The TikTok tools show up right away.

Can ChatGPT manage my TikTok?

Yes. Generate an API key in InstantDM, then in ChatGPT open Settings, Apps & Connectors, turn on developer mode and add openapi.instantdm.com/mcp with your key. ChatGPT can then read your TikTok stats, handle comments, answer DMs and set up automations, asking you before it sends anything.

Is it safe and allowed?

You sign in through TikTok. InstantDM uses the official TikTok API and does not scrape. Your password stays with TikTok. The AI reaches only the account you connected.

Will the AI post without asking?

When you ask it to reply or to send a DM, it shows the exact text and waits for your OK. A saved automation sends the text you approved when you created it. You can turn any automation off in chat.

Can the AI DM anyone on TikTok?

It only replies inside a conversation that person opened, and only for 48 hours after their last message. TikTok DM access means a verified Business account, or Messaging Ads in the last 7 days, plus an owner aged 18+ and accepted message requests. It uses only the TikTok account you connected. Comment to DM is available in the US, Vietnam, Indonesia, and Thailand.

Do TikTok DMs work in the EEA, UK, and Switzerland?

Accounts in the EEA, UK, and Switzerland have no TikTok DMs. Public comment replies still work on those accounts. A link in a TikTok DM arrives as plain text to copy. It is not a clickable link.

Does it work with Instagram too?

Yes. The same connection already covers Instagram and Facebook. Connect those accounts in InstantDM and ask about them in the same chat as TikTok.

What does it cost?

MCP access is included in the free trial, with no card needed, and on paid plans that include API access. TikTok replies and DMs sent through InstantDM do not use credits right now. Start free.

Which AI apps work?

Claude on claude.ai (custom connector) or Claude Code, ChatGPT (Apps & Connectors, developer mode), Codex, OpenClaw, and Hermes Agent. Each one uses the same hosted MCP server. No code and nothing to install.

Try your TikTok AI agent

Add the MCP server, connect TikTok, and ask for the first read. Free trial, no card.

Try it free