How to Connect TikTok Data to Windsurf (MCP Setup, 2026)
Cascade can plan, write and edit across a whole project, which makes it a good place to build a content plan. The missing piece is data. With the FYPNow MCP server added, Cascade can look up what is working on TikTok in your niche, read the hooks of the top videos, and turn that into scripts or a calendar in your repo. You add one entry to its MCP config and paste an API key.
What you need
- Windsurf, installed.
- A FYPNow workspace on a paid plan. Creator and Starter include a 7-day free trial.
- An API key from FYPNow → Settings → API. It is shown once.
Step 1: Open the MCP config
Open the Cascade panel, then the MCP menu. Choose the option to edit the config. This opens the file for your build, which is the safest way to find it.
Step 2: Add the server
Add an entry like this, using your key in place of the placeholder:
{
"mcpServers": {
"fypnow": {
"serverUrl": "https://api.fypnow.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_FYPNOW_API_KEY"
}
}
}
}
Windsurf can also read url in place of serverUrl. Windsurf can expand environment variables in headers, so you can use ${env:...} there instead of the raw key. Do not commit a file with a real key in it.
Step 3: Check it
Restart the MCP server from the same menu and confirm fypnow is listed. Then ask Cascade:
What's trending across niches this week?
What you can ask it
Cascade decides which tool to call. Good first prompts:
- "Which Beauty videos from the last 7 days got the most views for their follower count? List the top 10 with their hooks."
- "Search analysed hooks that start with a mistake, and save the five best as templates in
content/hooks.md." - "Which hashtags are picking up new creators in Gaming this week?" Counted by distinct creators, so one account posting 40 times doesn't count.
- "Analyze this video and tell me how long the hook is and where the cuts are: https://www.tiktok.com/@someone/video/123" Needs a read+write key.
- "Build a 7-day posting plan in
plan.mdfrom the open trends in my niche."
Keep under the tool limit
Cascade allows up to 100 tools across all your MCP servers. FYPNow adds 40 with a read+write key, or 25 with a read key. If you run several servers, turn off the FYPNow tools you don't use from the MCP menu. The catalogue reads (trending videos, hashtags, hooks, trends) are the ones most people keep.
What the data is
FYPNow follows public TikTok videos in niches defined by keywords and hashtags. Niches refresh on a schedule, so the newest videos may be a few days old. Rankings use the multiple: views compared with the creator's follower count. It never sees private analytics for any account.
Troubleshooting
fypnowdoesn't appear after saving. Press refresh in the MCP menu, or restart Windsurf. A JSON error stops the whole file loading, so check commas and brackets.401 missing_api_key. Theheadersblock is missing or misspelled. It must beAuthorizationwithBearerand a space before the key.401 invalid_api_key. Check you pasted the whole key. FYPNow keys start withfyp_sk_.403 write_scope_required. A read key can't analyse new videos or search trends. Create a read+write key for those.- The key ended up in git. Revoke it in Settings → API straight away and create a new one. Revoking takes effect on the next request.
Limits
- It reads and analyses. It does not post for you.
- A key acts on one workspace.
- Results describe what has happened to other videos. They are not a forecast.
Other guides
Setting this up in another editor too? See Cursor and VS Code. The Claude setup guide has more prompts and a note on speed, and the MCP server page lists every tool.
Frequently asked questions
Where is the Windsurf MCP config file?
Sources disagree. Older guides point to ~/.codeium/windsurf/mcp_config.json. Newer ones point to a build-specific file. Open it from the Cascade MCP menu inside the app to find the right one.
How many tools can Windsurf use at once?
Cascade can use up to 100 tools across all its MCP servers. Turn off the ones you do not need.
Is it free to connect FYPNow to Windsurf?
MCP access is included on every paid FYPNow plan with no add-on. Creator and Starter include a 7-day free trial, and the trial counts.
Can Cascade analyse a TikTok video I give it?
Yes, with a read+write key. Pass the video link and it returns the hook, scene cuts, transcript and a read on why it travelled. A fresh analysis takes about a minute.
Start free trial
See why any TikTok or YouTube Short went viral with a frame-by-frame AI breakdown. 7-day free trial, then plans from $19/mo.
Prefer to explore first? Start free trial