Integration

Windsurf MCP Server for Bookmarks (Cascade Setup, 2026)

Beginner 3 minutes setup By David Hamilton Updated

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

  1. 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.

  2. 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.

  3. 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.

  4. 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:

Search my bookmarks for articles about microservices architecture

While designing a service in Windsurf, pull in saved technical content about microservice patterns, service communication, or domain-driven design.

What did I save on Twitter about Next.js performance?

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.

Find my saved Reddit discussions about PostgreSQL query optimization

Surface detailed technical discussions from Reddit while working on database queries. Useful for referencing community advice you bookmarked previously.

I'm setting up monitoring. Do I have any saved content about observability?

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

ContextBolt + Windsurf: FAQs

Does Windsurf support remote HTTP MCP servers? +
Yes. Windsurf supports remote servers via the "serverUrl" field in mcp_config.json, separate from local stdio servers which use command and args. Both can coexist in the same file.
Is the config format the same as Claude Code or Cursor? +
No, this is the most common gotcha when copying configs across editors. Cursor uses "url". Claude Code uses "url" with "type": "http". Windsurf uses "serverUrl". Pasting Cursor's block into Windsurf will silently fail because "url" gets ignored. Windsurf's docs at docs.windsurf.com cover the field name explicitly.
Where is the Windsurf MCP config file? +
macOS and Linux: ~/.codeium/windsurf/mcp_config.json. Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json. The Cascade panel also has a 'Configure' shortcut that opens it for you.
Can Cascade modify my bookmarks? +
No, it can't modify or delete anything. Cascade can search and retrieve, and since the May 2026 update it can also create new bookmarks with the save_bookmark tool. So it can add saves, but it can't change or remove what is already there.
Do I need Node.js? +
No. ContextBolt's MCP endpoint is hosted, not local. Windsurf talks to it directly over HTTPS, so there is no npx step, no package to install, and no Node.js dependency.