Integration

Cline MCP Server for Bookmarks (VS Code Setup, 2026)

Beginner 3 minutes setup By David Hamilton Updated

Cline is an autonomous AI coding agent that runs inside VS Code. It can read your codebase, edit files, run commands, and use MCP servers to connect to external data — including your ContextBolt bookmarks.

Connecting ContextBolt to Cline gives the AI agent access to your saved content from Twitter/X, Reddit, and LinkedIn. During coding sessions, Cline can search your bookmarks to find relevant articles, discussions, and threads that inform the code it’s writing.

Why connect bookmarks to Cline

Cline works best when it has context. The more it knows about what you’re building and why, the better its output. Your bookmarks are a curated collection of technical knowledge you found worth saving — that’s exactly the kind of context that makes AI-generated code better.

When Cline is working on a task, it can search your bookmarks to find patterns and approaches you’ve already vetted. If you saved a detailed Reddit discussion about handling race conditions in async code, Cline can reference that when writing concurrent code for your project.

The auto-approve feature makes this especially smooth. Once you trust the ContextBolt search tools, add them to Cline’s auto-approve list and it will search your bookmarks freely as part of its workflow, without asking permission each time.

Cline MCP configuration file

Cline stores MCP config at:

Add this to the file, swapping YOUR_TOKEN for the token from your ContextBolt extension settings:

{
  "mcpServers": {
    "bookmarks": {
      "url": "https://api.contextbolt.app/mcp/YOUR_TOKEN",
      "disabled": false,
      "autoApprove": []
    }
  }
}

When we tested this on Cline 3.x in VS Code, the panel picks up the new server within a second of saving the file. To enable auto-approve, add the read tool names (search_bookmarks, list_clusters, get_cluster_bookmarks, get_recent_bookmarks) to the autoApprove array. Cline will then call them without prompting, which keeps long agentic sessions uninterrupted. The fifth tool, save_bookmark, writes a new bookmark, so leave it off the auto-approve list if you would rather confirm each save.

If you are on an older Cline release that does not yet read "url" for remote servers, the FAQ at the bottom of this page covers the mcp-remote bridge as a workaround.

Tips for Cline workflows

Enable auto-approve for bookmark search. After verifying the tools work correctly, add them to Cline’s auto-approve list. This lets Cline search your bookmarks as part of its autonomous workflow without interrupting for permission.

Front-load context. At the start of a Cline session, ask it to search your bookmarks for the topic you’re working on. This gives it relevant material before it starts writing code.

Combine with file reads. Ask Cline “Check my bookmarks for content about [pattern], then review how it’s implemented in [file].” This connects your external knowledge to your codebase.

How to connect ContextBolt to Cline

  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 Cline's MCP Servers panel

    In VS Code, click the Cline icon in the activity bar to open the Cline sidebar. Click the MCP Servers icon (the server/plug icon) in the top toolbar. This opens both the visual editor and a shortcut to cline_mcp_settings.json.

  3. Add the ContextBolt MCP server

    Click 'Edit Configuration' to open cline_mcp_settings.json, then add the bookmarks server with the URL https://api.contextbolt.app/mcp/YOUR_TOKEN. Recent Cline versions support remote HTTP MCP servers natively; older versions (pre-v3) need the mcp-remote npm bridge, covered in the FAQ.

  4. Verify the connection

    Back in the MCP Servers panel, the bookmarks server should show a green status. Expand it to see the five ContextBolt tools (search_bookmarks, list_clusters, get_cluster_bookmarks, get_recent_bookmarks, and save_bookmark). Start a new Cline chat and ask 'Search my bookmarks for testing best practices' to confirm everything works.

Example prompts for ContextBolt + Cline

Once connected, try asking Cline:

Search my bookmarks for content about clean architecture

While refactoring with Cline, pull in saved articles and discussions about clean architecture, hexagonal architecture, or domain-driven design patterns.

What did I save on Reddit about Docker compose best practices?

Filter by platform to find detailed Reddit discussions you saved about container orchestration. Cline searches semantically, finding relevant content even with different terminology.

Find my saved tweets about TypeScript generics

Surface quick tips and explanations you bookmarked on Twitter/X. Useful when you need a refresher on a specific language feature mid-coding.

I'm writing tests for this module. Do I have any saved content about testing strategies?

Let Cline search your bookmarks for testing content before it generates test code. This grounds its approach in patterns you've already vetted.

What you can do with ContextBolt in Cline

Search bookmarks by meaning during Cline coding sessions

Filter by platform (Twitter, Reddit, LinkedIn)

Surface saved technical content in VS Code

Combine bookmark search with Cline's agentic coding

Auto-approve bookmark search for uninterrupted workflows

Works alongside other MCP servers in your Cline config

ContextBolt + Cline: FAQs

What is Cline? +
Cline (formerly Claude Dev) is a VS Code extension that provides an autonomous AI coding agent. It can read and edit files, run terminal commands, and use MCP servers to connect to external tools. It supports multiple AI providers including Claude, GPT-4, and others.
Does Cline support MCP? +
Yes. Cline has built-in MCP support with a dedicated management UI in the sidebar. It supports tools, resources, and prompts from MCP servers. It also adds Cline-specific features like auto-approve for trusted tools.
What is auto-approve in Cline? +
Cline normally asks for your permission before calling MCP tools. The autoApprove setting lets you whitelist specific tools so Cline can use them without confirmation. You can add ContextBolt's search tools to autoApprove for a smoother workflow where Cline freely searches your bookmarks without interrupting you.
What if my Cline version does not support remote HTTP servers? +
Add the mcp-remote bridge. Set "command": "npx" and "args": ["mcp-remote", "https://api.contextbolt.app/mcp/YOUR_TOKEN"] in the Cline config. The bridge runs locally and proxies requests to the hosted endpoint. Updating Cline to v3 or later removes the need for this.
Can Cline modify my bookmarks? +
Cline can't modify or delete your bookmarks. It can search and retrieve them, and since the May 2026 update it can also create new ones with the save_bookmark tool. Your existing library stays unchanged; Cline can only add to it.