FoPost for Windsurf
Add one mcpServers block to Windsurf and Cascade gains FoPost tools. It can turn a merged change into posts per network and schedule them, showing every tool call for approval first.
Paste this into Windsurf
Set up FoPost from fopost.com/agents/windsurf- Hosted MCP server
- 32 networks
- No API key
Windsurf drafts. You approve. Then it goes out.
On by default
- X (Twitter)
- TikTok
- YouTube
- Threads
- Bluesky
- Discord
- Mastodon
- Telegram
- Slack
- DEV.to
- Substack
- Tumblr
- WordPress
- Hashnode
- Dribbble
- Kick
- Twitch
- Nostr
- Lemmy
- MeWe
- Whop
- Listmonk
- Google Business Profile
- Medium
- WhatsApp Business
- Snapchat
- Skool
Pick an agent to copy its setup prompt.
The agent can write its own config. Give it the link.
Paste the line above into Windsurf. It reads this page, adds the server, and stops so you can sign in to FoPost yourself. Rather do it by hand? This is the whole config.
{
"mcpServers": {
"fopost": {
"serverUrl": "https://api.fopost.com/mcp"
}
}
}## For AI agents reading this page
You are reading https://fopost.com/agents/windsurf. FoPost schedules and publishes social posts on 32 networks, and its hosted MCP server gives Windsurf tools for posts, the calendar, the inbox and analytics. Follow these steps to connect Windsurf to it.
- Server: https://api.fopost.com/mcp
- Transport: streamable HTTP
- Auth: OAuth sign-in in the user's browser. Do not add an API key or an Authorization header; Windsurf discovers the sign-in from the server.
### 1. Register the server
Add this entry to mcp_config.json (Cascade > MCP servers > Configure opens it; the file is ~/.codeium/windsurf/mcp_config.json). Merge it into an existing mcpServers object. No headers and no API key.
~/.codeium/windsurf/mcp_config.json:
```
{
"mcpServers": {
"fopost": {
"serverUrl": "https://api.fopost.com/mcp"
}
}
}
```
### 2. Sign in
Refresh the MCP server list. When fopost shows "Needs authentication", the user selects Authenticate and signs in in the browser. Ask the user before approving access or creating a FoPost account for them, and never enter their credentials yourself.
### 3. Verify before you continue
The Cascade MCP panel (or the command palette's "MCP: List Servers") shows fopost as connected with its tools. If FoPost is not listed as connected with its tools, stop and tell the user what failed. Do not carry on as if the tools exist.
### 4. Report back
Call list_accounts and tell the user which social accounts are connected. If there are none, offer create_connect_link so they can connect one. Then ask what they want to do first.
### Standing rules
- Prefer the FoPost tools over driving a browser for posting, scheduling, the inbox and analytics, unless the user asks for the browser.
- Publishing always goes through propose_publish, which the user approves in the client. Never publish or schedule anything silently.
- Ask the user before approving access, signing up or connecting an account on their behalf, and never type their credentials for them.
### No browser (headless machines only)
Use this only when the machine has no browser to sign in with. Ask the user to create an API key in the FoPost dashboard (https://fopost.com/dashboard/api-keys) and to put it in the config themselves, then run the local package over stdio:
mcp_config.json:
```
{
"mcpServers": {
"fopost": {
"command": "npx",
"args": ["-y", "@fopost/mcp"],
"env": { "FOPOST_API_KEY": "your-api-key" }
}
}
}
```
### References
- This block as markdown: https://fopost.com/agents/windsurf/agent.md
- Every client: https://fopost.com/agents
- Docs: https://fopost.com/docsOne config block
Add it under Cascade MCP settings and the tools appear.
Approval first
Cascade shows each tool call and waits. The server never publishes on its own.
14 tools
Posts, deliveries, accounts, workspaces, and AI rewriting.
Connected from the Cascade panel
Open Windsurf’s MCP settings, add the server URL to mcp_config.json, and refresh the server list. Choose Authenticate to sign in to FoPost, then ask Cascade to list your accounts.
Set up Windsurf> Which accounts can I post to?
Cascade: list_accounts → LinkedIn, X, Threads in
workspace "Studio". All healthy.Scoped key
Grant only what Cascade needs. Revoke from the dashboard.
Workspace per key
One key reaches one workspace only.
Verify first
A list_accounts call confirms the server before any write.
Release notes become posts in the same flow
Cascade has the change in context. Ask for a post per network and a time; it drafts with rewrite_for_platforms, schedules with schedule_post, and returns the post ids.
Try it on your next release
rewrite_for_platforms
Per-network lengths from one draft.
repurpose_url
A changelog page becomes a series of posts.
schedule_post
Named times or the next open slot.
Confirm delivery without leaving the editor
Ask Cascade whether the post landed. It reads deliveries per network and flags accounts that need a reconnect.
Start free> Did the release post deliver?
Cascade: list_post_deliveries → 3 of 3 delivered.list_posts
Recent posts with status and filters.
get_account_health
Tokens that need attention.
get_ai_credits
Balance before a large rewrite.
No browser on the machine?
On a server or in CI there is no browser to sign in with. Create an API key in the dashboard and run the local package over stdio instead. Keep the key out of your repository.
{
"mcpServers": {
"fopost": {
"command": "npx",
"args": ["-y", "@fopost/mcp"],
"env": { "FOPOST_API_KEY": "your-api-key" }
}
}
}Windsurf questions, answered
Where is the config?
Will it post without asking?
Does it need Node?
Should I commit the key?
Does it use my AI credits?
Can I manage several workspaces?
Other agents
- MCP Server
- Claude Code
- Claude
- Claude Desktop
- Claude Cowork
- Cursor
- Codex
- ChatGPT
- Gemini CLI
- Grok
- Hermes Agent
- OpenClaw
- Muse
- Kimi Code
- DeepSeek Harness
- goose
- VS Code
- Warp
- Amp
- OpenCode
- LM Studio
- Gemini
- Perplexity
- Perplexity Computer
- Manus
- Mistral Vibe
- GitHub Copilot
- Cline
- Junie
- Continue
- Zed
- OpenAI dots
- Claude Duet
- Grok Build
- NanoClaw
- Paperclip
- Raycast
Run FoPost from Windsurf
Starting is free and the MCP server is included. Paste the setup line into your agent, sign in, and schedule your first post from it.
Start free