Bring Ad Campaigns
to Mastra AI
Create your Vinkius account to connect TikTok Ads to Mastra AI and start using all 8 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the TikTok Ads MCP Server?
Connect TikTok Ads to your AI agent and manage your TikTok advertising campaigns conversationally.
What you can do
- Campaign Management — List, create, update, and pause campaigns, ad groups, and individual ads.
- Performance Analytics — Pull impressions, clicks, CTR, CPC, CPM, conversions, and ROAS across date ranges.
- Budget Optimization — Adjust daily and lifetime budgets, bidding strategies, and targeting parameters.
- Audience Insights — Query audience demographics, interests, and engagement patterns.
How it works
- Subscribe to the TikTok Ads integration on the marketplace.
- Create an app in the TikTok Developers portal and get your credentials (developers.tiktok.com → Manage Apps → Create App).
- Ask your AI agent to manage campaigns, pull reports, or optimize budgets.
Who is this for?
- Performance Marketers — Monitor and optimize TikTok ad spend with real-time conversational analytics.
- Agencies — Manage multiple client TikTok advertising accounts from one interface.
- E-commerce Brands — Track ROAS, conversion data, and product catalog performance.
Built-in capabilities (8)
Enable a campaign
Get ad performance
Get ad group performance
Get campaign performance
List all TikTok ad groups
List all TikTok ads
List all TikTok ad campaigns
Pause a campaign
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and TikTok Ads tool infrastructure. Connect 8 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
- —
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add TikTok Ads without touching business code
- —
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
- —
TypeScript-native: full type inference for every TikTok Ads tool response with IDE autocomplete and compile-time checks
- —
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
TikTok Ads in Mastra AI
Why run TikTok Ads with Vinkius?
The TikTok Ads connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 8 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect TikTok Ads using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
TikTok Ads and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect TikTok Ads to Mastra AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
TikTok Ads for Mastra AI
Every request between Mastra AI and TikTok Ads is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
How do I get my TikTok Ads API credentials?
- Go to developers.tiktok.com and log in with your TikTok account.
- Click Manage Apps → Create App.
- Select Marketing API as the app type.
- Fill in the app details and submit for review.
- After approval, go to your app's page and copy the App ID and App Secret.
- Generate an Access Token by authorizing your ad account.
- Paste App ID, App Secret, and Access Token below.
Can I manage multiple ad accounts?
Yes. Your AI agent can switch between ad accounts using their advertiser IDs, giving agencies and multi-brand teams unified campaign management.
What metrics can I track?
Impressions, clicks, CTR, CPC, CPM, total spend, conversions, conversion rate, ROAS, video views (2s, 6s, 100%), engagement rate, and audience demographics — all filterable by date range, campaign, ad group, and individual ad.
Can I pause underperforming ads automatically?
Yes. Ask your agent to check which ads have CPC above a threshold or ROAS below target, and it can pause those ads immediately — protecting your budget in real time.
How does Mastra AI connect to MCP servers?
Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
Can Mastra agents use tools from multiple servers?
Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
Does Mastra support workflow orchestration?
Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Magnolia (Enterprise Headless CMS)
10 toolsManage enterprise content via Magnolia CMS — query JCR nodes, audit template schemas, and orchestrate headless delivery.

YouCanBook.me
10 toolsAutomate scheduling workflows via YouCanBook.me — manage booking pages, appointments, and availability directly from any AI agent.

Walmart Drop Ship Vendor
8 toolsExclusive 1P Supplier logistics server. Map DSV operations like Lag Times and physical supply nodes securely.

Urlbox
6 toolsRender website screenshots — audit high-fidelity visual content via AI.
