Windsurf is an AI code editor from Codeium, built around its Cascade AI agent. Cascade supports MCP (Model Context Protocol), meaning it can connect to external tools and data sources during coding sessions — including your ContextBolt bookmarks.
Once connected, Cascade can search your saved content from Twitter/X, Reddit, and LinkedIn without you leaving the editor. This is particularly useful during Cascade’s agentic coding flows, where it can autonomously pull in relevant bookmarks as context for the code it’s generating.
Why connect bookmarks to Windsurf
Cascade is designed to handle multi-step coding tasks autonomously. Adding your bookmarks to its toolkit means it can reference your curated knowledge when making decisions.
Say you’re building an authentication system. You’ve saved tweets about JWT best practices, a Reddit thread about OAuth pitfalls, and a LinkedIn post about session management. With the ContextBolt integration, Cascade can search those saves as part of its workflow, grounding its code generation in material you’ve already vetted.
This is different from web search. Your bookmarks are content you specifically chose to save because you found it valuable. That’s what makes them a second brain. That signal matters — it means the results are pre-filtered by your own judgment.
The full Windsurf MCP config block
Drop this into ~/.codeium/windsurf/mcp_config.json on macOS or Linux, or %USERPROFILE%\.codeium\windsurf\mcp_config.json on Windows. Replace YOUR_TOKEN with the token from your ContextBolt extension settings. If the file does not exist, create it.
{
"mcpServers": {
"bookmarks": {
"serverUrl": "https://api.contextbolt.app/mcp/YOUR_TOKEN"
}
}
}
The field is serverUrl, not url. We tested both during the rollout: copying a Cursor-style block ("url") into Windsurf produces no error and no tools, which means the connection looks fine in the file but Cascade never sees the bookmarks server. The Cascade MCP documentation covers the field name and the wider config schema.
Tips for Windsurf workflows
Let Cascade discover relevant saves. During agentic coding sessions, Cascade can decide on its own to search your bookmarks when the task seems related to content you might have saved. The more descriptive your task prompts, the better it can match.
Start sessions with context. Before a big task, ask Cascade “Check my bookmarks for anything about [topic]” to front-load your saved knowledge into the conversation.
Use for architecture decisions. When Cascade suggests an approach, ask it to search your bookmarks for alternative patterns. Your saves might contain a better solution than the default.
How to connect ContextBolt to Windsurf
-
Get your MCP token from ContextBolt
Open the ContextBolt extension popup and click Settings. Under the MCP section, click 'Copy MCP Token'. MCP is a Pro feature ($6/month) and cloud sync must be enabled in the same panel for the server to return data.
-
Open the Windsurf MCP config file
Edit ~/.codeium/windsurf/mcp_config.json on macOS or Linux, or %USERPROFILE%\.codeium\windsurf\mcp_config.json on Windows. If the file does not exist yet, create it. The Cascade panel inside Windsurf also exposes a 'Configure' shortcut that opens the same file.
-
Add the ContextBolt MCP server
Paste this under mcpServers and replace YOUR_TOKEN with the token from step one: {"bookmarks": {"serverUrl": "https://api.contextbolt.app/mcp/YOUR_TOKEN"}}. Windsurf is the only major MCP client that uses the field name "serverUrl" instead of "url" for remote servers, which catches almost everyone out the first time.
-
Refresh and verify
Restart Windsurf or hit refresh on the Cascade MCP panel. The bookmarks server should show a green status indicator. Ask Cascade 'Search my bookmarks for testing strategies' to confirm tools are firing.
Example prompts for ContextBolt + Windsurf
Once connected, try asking Windsurf:
While designing a service in Windsurf, pull in saved technical content about microservice patterns, service communication, or domain-driven design.
Filter by platform to find tweets and threads you bookmarked about Next.js optimization. Cascade searches semantically, so it finds related content even with different phrasing.
Surface detailed technical discussions from Reddit while working on database queries. Useful for referencing community advice you bookmarked previously.
Use this pattern when starting a new task. Cascade searches your bookmarks for anything related to observability, logging, metrics, or alerting.
What you can do with ContextBolt in Windsurf
Search bookmarks by meaning during Cascade sessions
Filter by platform (Twitter, Reddit, LinkedIn)
Surface saved content without leaving the editor
Combine bookmark search with Cascade's agentic coding
Access bookmarks from any project in Windsurf
Works alongside other MCP servers in your config