Integration

Connect ContextBolt to Cursor via MCP

Beginner 3 minutes setup By David Hamilton

Cursor is an AI-powered code editor built on VS Code. It supports MCP (Model Context Protocol), which means you can give its AI features direct access to your ContextBolt bookmarks while you code.

Once connected, Cursor’s AI chat and Composer can search your saved content from Twitter/X, Reddit, and LinkedIn. This is useful when you’re building something and want to reference articles, discussions, or technical threads you bookmarked weeks or months ago.

Why this integration matters for Cursor users

Cursor users already rely on AI to help with code. The ContextBolt integration extends that AI with your own curated knowledge.

Think about how you work. You read a great thread on Twitter about error handling patterns, you bookmark it. You save a Reddit post explaining database indexing strategies. Three weeks later, you’re building exactly the feature those saves would help with, but they’re buried in your browser.

With this integration, you can ask Cursor’s AI to search your bookmarks mid-conversation. The search is semantic, so you describe what you need in natural language. Cursor already understands your codebase — now it can also understand what you’ve been reading and saving.

Configuration file alternative

If you prefer editing the config file directly, add this to your Cursor MCP configuration:

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

Replace your-token-here with the token from your ContextBolt extension settings.

Tips for Cursor workflows

Use in Composer for context-rich generation. When starting a Composer session, ask Cursor to check your bookmarks for relevant patterns first. This grounds the generated code in material you’ve already vetted.

Reference saves in code reviews. If you saved an article about a pattern you’re now seeing in a PR, ask Cursor to find it and summarise the relevant points.

Combine with codebase search. Ask Cursor something like “Search my bookmarks for WebSocket best practices, then review how our current WebSocket implementation compares.” This connects your saved knowledge to your actual code.

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 Cursor's MCP settings

    In Cursor, go to Settings (Cmd/Ctrl + ,), then search for 'MCP' or navigate to the MCP Servers section. You can also open the Command Palette (Cmd/Ctrl + Shift + P) and search for 'MCP'.

  3. Add the ContextBolt MCP server

    Click 'Add MCP Server' and configure it with the command 'npx', args ['-y', '@contextbolt/mcp-server'], and set the CONTEXTBOLT_TOKEN environment variable to your token. Alternatively, add the server entry directly to your mcp.json configuration file.

  4. Verify the connection

    After adding the server, Cursor should show a green status indicator next to the ContextBolt server. Start a new AI chat and ask 'Search my bookmarks for API design patterns' to confirm the connection is working.

Example prompts

Once connected, try asking Cursor:

Search my bookmarks for articles about state management in React

While building a React feature in Cursor, pull in articles and threads you previously saved about Redux, Zustand, Jotai, or state management patterns.

Do I have any saved content about GraphQL schema design?

Before designing a new schema, check what you've already curated. Claude in Cursor searches your bookmarks semantically and surfaces relevant saves.

Find my Twitter saves about TypeScript tips

Filter by platform to find quick tips and patterns you bookmarked on Twitter/X. Useful when you remember saving something but not the exact content.

What have I saved about CI/CD pipeline optimization?

When refactoring your build pipeline, surface saved DevOps content from across platforms without leaving the editor.

What you can do

Search bookmarks by meaning while writing code

Filter by platform (Twitter, Reddit, LinkedIn)

Surface saved technical content during AI chat sessions

Combine bookmark search with Cursor's codebase understanding

Access bookmarks alongside Cursor's Composer and Chat features

Works with other MCP servers you have configured

Frequently asked questions

Does Cursor support MCP? +
Yes. Cursor has built-in MCP support. You can add MCP servers through the Settings UI or by editing the configuration file directly. MCP tools are available in Cursor's AI chat and Composer features.
Is the config format the same as Claude Desktop? +
Yes. Cursor uses the same mcpServers format with command, args, and env fields. If you already have ContextBolt configured in Claude Desktop, you can reuse the same configuration block in Cursor.
Can I use ContextBolt with Cursor's Composer? +
Yes. When Composer has access to MCP tools, it can search your bookmarks as part of a multi-step coding workflow. For example, it might search your bookmarks for relevant patterns before generating code.
Do I need a Cursor Pro subscription? +
MCP support is available across Cursor plans. You do need a ContextBolt Pro subscription (£4/month) for the MCP endpoint, but Cursor itself does not restrict MCP usage to paid tiers.
Can Cursor modify my bookmarks? +
No. The MCP integration is read-only. Cursor can search and retrieve bookmark data, but it cannot create, modify, or delete bookmarks.