Skip to content
TikTok Ads
Install guide · Cursor

Install TikTok Ads for Cursor

Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

  1. Open ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.

  2. Paste the JSON config below.

  3. Replace placeholder secrets, then restart the client if it does not reload on its own.

~/.cursor/mcp.json
{  "mcpServers": {    "get-mcp-ads-tiktok-ads-mcp-server": {      "command": "npx",      "args": [        "-y",        "@getmcpads/tiktok-ads-mcp-server@2.1.2"      ],      "env": {        "TIKTOK_ACCESS_TOKEN": "YOUR_TIKTOK_ACCESS_TOKEN",        "TIKTOK_APP_ID": "",        "TIKTOK_ADVERTISER_IDS": "",        "TIKTOK_APP_SECRET": "YOUR_TIKTOK_APP_SECRET",        "TIKTOK_ADVERTISER_ID": "",        "TIKTOK_BC_ID": "",        "TIKTOK_BUSINESS_CENTER_ID": "",        "TIKTOK_ENABLE_WRITES": "",        "TIKTOK_ENVIRONMENT": "",        "LOG_LEVEL": ""      }    }  }}

Where the config lives

SystemPath
macOS~/.cursor/mcp.json
Windows%USERPROFILE%\.cursor\mcp.json
Linux~/.cursor/mcp.json