Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Iflow Mcp Jbdamask Cursor Db

FreeNot checked

A Model Context Protocol (MCP) server for accessing Cursor IDE's SQLite databases

GitHubEmbed

About

A Model Context Protocol (MCP) server for accessing Cursor IDE's SQLite databases

README

A Model Context Protocol (MCP) server for accessing Cursor IDE's SQLite databases. This server allows AI assistants to explore and interact with Cursor's project data, chat history, and composer information.

Cursor In Cursor GIF

Prerequisites

Cursor IDE

Installation

Easy Installation

Use the provided installation script to install all dependencies:

python install.py

This script will install:

  • Basic MCP server and dependencies

Using with Cursor IDE

  1. Open Cursor and navigate to Settings->Cursor Settings->MCP.
  2. Click: Add new MCP server
  3. Name: Cursor DB MCP; Type: Command
  4. Command: <fully qualified path to>uv run --with mcp[cli] mcp run <fully qualified path to>/cursor-db-mcp-server.py

Cursor DB MCP

Now you can ask questions about the database or retrieve info about historical chats.

DB structure

DB keys

Using with Claude Desktop

Installing MCP servers for Claude Desktop

Add this to your claude_desktop_config.json file

    "cursor-db-mcp": {
      "command": "<fully qualified path to >/uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "mcp",
        "run",
        "<fully qualified path to >/cursor-db-mcp-server.py"
      ]
    }

Cursor DB fuzzy search

Available Resources

  • cursor://projects - List all available Cursor projects
  • cursor://projects/detailed - List projects with detailed information
  • cursor://projects/{project_name}/chat - Get chat data for a specific project
  • cursor://projects/{project_name}/composers - Get composer IDs for a specific project
  • cursor://composers/{composer_id} - Get data for a specific composer

Available Tools

  • query_table - Query a specific table in a project's database
  • refresh_databases - Refresh the list of database paths

How It Works

The server scans your Cursor installation directory to find project databases (state.vscdb files). It then exposes these databases through MCP resources and tools, allowing AI assistants to query and analyze the data.

Notes

  1. Cursor stores AI conversations in different places. Increasingly, chats are stored as "composerData" under globalStorage/state.vscdb. If you don't get results when asking about chats for recent projects, try asking for composers.
  2. This was written on a Mac. YMMV with other OS

Shameless Plug

Like this? Try Cursor Journal to create DevLogs directly from Cursor chat history!

License

MIT

from github.com/jbdamask/cursor-db-mcp

Installing Iflow Mcp Jbdamask Cursor Db

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/jbdamask/cursor-db-mcp

FAQ

Is Iflow Mcp Jbdamask Cursor Db MCP free?

Yes, Iflow Mcp Jbdamask Cursor Db MCP is free — one-click install via Unyly at no cost.

Does Iflow Mcp Jbdamask Cursor Db need an API key?

No, Iflow Mcp Jbdamask Cursor Db runs without API keys or environment variables.

Is Iflow Mcp Jbdamask Cursor Db hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Iflow Mcp Jbdamask Cursor Db in Claude Desktop, Claude Code or Cursor?

Open Iflow Mcp Jbdamask Cursor Db on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Iflow Mcp Jbdamask Cursor Db with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All data MCPs