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:
- 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:
{
"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
-
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.
-
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.
-
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.
-
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:
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
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