Integration

Connect ContextBolt to Cline via MCP

Beginner 3 minutes setup By David Hamilton

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.

Configuration file

Cline stores MCP config at:

Add this to the file:

{
  "mcpServers": {
    "contextbolt": {
      "command": "npx",
      "args": ["-y", "@contextbolt/mcp-server"],
      "env": {
        "CONTEXTBOLT_TOKEN": "your-token-here"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

Replace your-token-here with the token from your ContextBolt extension settings. To enable auto-approve, add the ContextBolt tool names to the autoApprove array.

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.

Setup guide

  1. Get your MCP token from ContextBolt

    Open the ContextBolt extension popup in Chrome and click Settings. Under the MCP section, click 'Copy MCP Token'. You need a Pro subscription (£4/month) as MCP is a Pro feature.

  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 of the Cline panel. This opens the MCP server management view.

  3. Add the ContextBolt MCP server

    Click 'Add MCP Server' or edit the config file directly. Add ContextBolt with the command 'npx', args ['-y', '@contextbolt/mcp-server'], and set CONTEXTBOLT_TOKEN in the env object. The config file is at %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json on Windows.

  4. Verify the connection

    Back in the MCP Servers panel, the ContextBolt server should show a green status indicator. Expand it to see the available search tools. Start a new Cline chat and ask 'Search my bookmarks for testing best practices' to confirm everything works.

Example prompts

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

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

Frequently asked questions

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.
Is the config format the same as Claude Desktop? +
Yes. Cline uses the same mcpServers format with command, args, and env fields. Cline adds optional disabled and autoApprove fields. You can copy your Claude Desktop config directly and add these Cline-specific fields if needed.
Can Cline modify my bookmarks? +
No. The MCP integration is read-only. Cline can search and retrieve bookmark data, but it cannot create, modify, or delete bookmarks.