TL;DR, Quick Answer
5 min readWindsurf reads MCP servers from ~/.codeium/windsurf/mcp_config.json, under "mcpServers". A remote server uses "serverUrl" (not "url", which is the Cursor key), plus "headers" when it takes an API key; a local server uses "command", "args" and "env". After saving, refresh the server list in Windsurf's MCP settings and sign in if the server uses OAuth. Worked example: "adaptlypost": { "serverUrl": "https://mcp.adaptlypost.com/mcp" } gives Cascade 91 tools to draft, schedule and publish posts on 14 social networks. Cascade caps active tools at 100 across all servers, so switch off the ones you don't need.
A Windsurf MCP config is one JSON file, ~/.codeium/windsurf/mcp_config.json, where every server sits under mcpServers and a remote one is defined by its serverUrl. Save the file, refresh the servers in Windsurf's settings, sign in if the server asks, and Cascade can call the server's tools.
The detail that trips people up is the key name. Windsurf uses serverUrl where Cursor uses url, so a config copied from a Cursor guide loads nothing and shows no error that says why. I hit that with our own server; the fix was one word.
The short version: put the JSON below in ~/.codeium/windsurf/mcp_config.json, refresh the MCP servers in Windsurf, sign in to AdaptlyPost when the browser opens, then ask Cascade to list your accounts.
{
"mcpServers": {
"adaptlypost": { "serverUrl": "https://mcp.adaptlypost.com/mcp" }
}
}Where is the Windsurf MCP config file?
The Windsurf MCP config is mcp_config.json in ~/.codeium/windsurf/, inside your home directory. It applies to every workspace you open in Windsurf.
You don't need to find it by hand. Open Windsurf Settings, go to the Cascade section and the MCP servers panel, and choose the option to view the raw config; Windsurf opens the file in the editor. If you have never added a server, the file is created with an empty mcpServers object.

What goes in the config for a remote MCP server?
A remote server needs a name under mcpServers and a serverUrl with the server's HTTP endpoint. Windsurf connects to it over streamable HTTP.
{
"mcpServers": {
"adaptlypost": { "serverUrl": "https://mcp.adaptlypost.com/mcp" }
}
}After saving, press refresh in the MCP servers panel. AdaptlyPost's server uses OAuth, so Windsurf opens the AdaptlyPost sign-in in your browser. Sign in with the email you use on AdaptlyPost and approve; the panel then shows the server as connected with its tool list. One sign-in reaches every AdaptlyPost workspace you belong to, with your own role in each.
How do you add an API key to a Windsurf MCP server?
You add a headers object next to serverUrl and put the key in an Authorization header. Use it for servers that don't support OAuth, or to pin Cascade to one workspace and one role.
{
"mcpServers": {
"adaptlypost": {
"serverUrl": "https://mcp.adaptlypost.com/mcp",
"headers": { "Authorization": "Bearer adaptly_your_key" }
}
}
}AdaptlyPost keys come from the API Tokens page and start with adaptly_. A key belongs to one workspace and never does more than the member who created it. Pick a Contributor key if Cascade should only prepare drafts.
What goes in the config for a local MCP server?
A local server uses command, args and env. Windsurf starts the process and talks to it over stdio.
{
"mcpServers": {
"local-docs": {
"command": "npx",
"args": ["-y", "some-mcp-server"],
"env": { "API_KEY": "value" }
}
}
}| Key | Server type | Purpose |
|---|---|---|
serverUrl | Remote | The server's HTTP endpoint |
headers | Remote | Extra HTTP headers, such as Authorization |
command | Local | The program Windsurf starts |
args | Local | Arguments for the program |
env | Local | Environment variables for the program |
How many MCP tools can Cascade use?
Windsurf's documentation caps Cascade at 100 active tools across all MCP servers at once. AdaptlyPost alone exposes 91, so with other servers enabled you will hit the cap.
Open the server in the MCP panel and switch off the tools you don't need. For a posting workflow, keep list_accounts, upload_media, validate_post, create_post, list_posts, get_post, list_post_results and retry_failed_platforms. Analytics and inbox tools can stay off until you need them.

What can Cascade do with the AdaptlyPost server?
Cascade drafts, checks, schedules and publishes posts on Instagram, TikTok, YouTube, X, LinkedIn, Facebook, Pinterest, Threads, Bluesky, Mastodon, Telegram, Google Business Profile, Tumblr and WordPress. With the analytics and inbox tools on, it also reads post performance and answers comments.
Prompts that fit Windsurf:
- "Summarise today's commits in a LinkedIn post and an X post. Save both as drafts."
- "Post the release note in CHANGELOG.md to Bluesky and Mastodon now."
- "Validate this post for every platform before scheduling, and fix the X version if it's too long."
- "Schedule the five posts in social/week-48.md, one per weekday at 9am New York time."
Cascade asks before running a tool unless you set it to run automatically. Keep posting tools on manual approval. When a post needs a local file, the upload tool returns an upload link to open in the browser, or Cascade uploads from a public URL. The MCP setup guide lists every tool.
Why isn't my server working in Windsurf?
A Windsurf MCP server fails to load when the key is url instead of serverUrl, the JSON is invalid, the server wasn't refreshed after saving, or the sign-in never finished. Check them in that order.
- Key name. Remote servers need
serverUrl. - JSON. A trailing comma breaks the file.
- Refresh. Windsurf reloads servers when you press refresh in the MCP panel.
- Sign-in. Finish the OAuth flow in the browser, then refresh again.
If all four check out and tools still don't appear, the 100-tool cap is the next suspect.
How does Windsurf compare with Cursor and Claude Code for posting?
Windsurf, Cursor and Claude Code reach the same AdaptlyPost server with the same 91 tools; only the config differs. Windsurf uses serverUrl in a home-folder JSON file, Cursor uses url in mcp.json, and Claude Code adds servers with a command.
| Client | Config | Remote key |
|---|---|---|
| Windsurf | ~/.codeium/windsurf/mcp_config.json | serverUrl |
| Cursor | ~/.cursor/mcp.json or .cursor/mcp.json | url |
| Claude Code | claude mcp add --transport http | command argument |
| Codex | ~/.codex/config.toml | url |
The Cursor mcp.json guide, the Claude Code MCP guide and the Codex MCP config guide cover the other three. Every route needs an AdaptlyPost plan with API access: Creator ($19 a month), Pro ($39) or Enterprise ($89), each with a 7-day free trial.
Frequently Asked Questions
Where is mcp_config.json in Windsurf?
Windsurf's MCP config is at ~/.codeium/windsurf/mcp_config.json. Windsurf Settings opens it from the MCP servers panel with the option to view the raw config.
What is the difference between serverUrl and url in Windsurf?
Windsurf reads a remote server's endpoint from serverUrl. The url key is what Cursor uses, and a Windsurf config with url doesn't connect.
Does Windsurf support OAuth for remote MCP servers?
Windsurf signs in to OAuth MCP servers: after you refresh the server, it opens the server's sign-in in your browser. Servers without OAuth take an API key through headers.
Can Windsurf post to social media?
Windsurf's Cascade posts to social media through an MCP server such as AdaptlyPost's. Add serverUrl to mcp_config.json, sign in, and Cascade drafts, schedules and publishes posts on 14 networks.
How do I turn off tools from an MCP server in Windsurf?
Open the server in Windsurf's MCP panel and switch off single tools. Cascade then doesn't see them, which keeps you under the 100-tool cap.
Does the AdaptlyPost server cost extra in Windsurf?
The AdaptlyPost MCP server is free on top of an AdaptlyPost plan with API access: Creator, Pro or Enterprise, each with a 7-day free trial.
Why does my Windsurf MCP config load nothing and show no error?
The most common cause is url where Windsurf expects serverUrl. A config copied from a Cursor guide uses url, and Windsurf loads nothing from it without saying why. Rename the key, check the JSON for a trailing comma, then press refresh in the MCP servers panel.
Can I use an API key instead of OAuth in Windsurf?
Add a headers object next to serverUrl with an Authorization header set to Bearer adaptly_your_key. AdaptlyPost keys come from the API Tokens page, belong to one workspace and never do more than the member who created them. Pick a Contributor key if Cascade should only prepare drafts.
Will Cascade publish posts without asking me?
Not by default. Cascade asks before running a tool unless you set it to run automatically. Keep posting tools on manual approval so you see each post before it goes out.
Which AdaptlyPost tools should I keep on in Windsurf?
For a posting workflow, keep list_accounts, upload_media, validate_post, create_post, list_posts, get_post, list_post_results and retry_failed_platforms. Analytics and inbox tools can stay off until you need them. That keeps you well under the 100-tool cap Cascade applies across all servers.
Was This Article Helpful?
Let us know what you think!
See us more often in Google
One click marks AdaptlyPost as a preferred source, so our articles sit higher in your Top Stories, AI Mode, and AI Overviews.
Related Articles


Set Up Claude Code MCP Servers With One Command, Then Post From the Terminal
Claude Code MCP setup in one command: add a remote server with claude mcp add, sign in with /mcp, pick a scope, and post to 14 networks from your terminal.


How to Write a Codex MCP Config for Remote Servers, With a Social Media Example
A Codex MCP config lives in ~/.codex/config.toml. Add a remote server in three lines, sign in with codex mcp login, and let Codex post to 14 social networks.


How to Set Up Cursor MCP JSON for Remote MCP Servers, With a Posting Example
Set up Cursor MCP JSON for a remote MCP server: where mcp.json goes, the JSON for URL, API key and local servers, and an example that posts to 14 networks.

