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:
- Windows:
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json - macOS:
~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json - Linux:
~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
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
-
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 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.
-
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.
-
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:
While refactoring with Cline, pull in saved articles and discussions about clean architecture, hexagonal architecture, or domain-driven design patterns.
Filter by platform to find detailed Reddit discussions you saved about container orchestration. Cline searches semantically, finding relevant content even with different terminology.
Surface quick tips and explanations you bookmarked on Twitter/X. Useful when you need a refresher on a specific language feature mid-coding.
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