cursor-db-mcp

cursor-db-mcp

3.5

If you are the rightful owner of cursor-db-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

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

The Cursor DB MCP Server is designed to facilitate interaction with Cursor IDE's SQLite databases through the Model Context Protocol (MCP). This server allows AI assistants to explore and interact with project data, chat history, and composer information stored within Cursor. By leveraging MCP, the server provides a structured way to access and query these databases, making it easier for AI systems to retrieve and analyze data. The server scans the Cursor installation directory to locate project databases and exposes them as MCP resources and tools. This setup is particularly useful for developers and AI researchers who need to integrate database interactions into their AI workflows. The server supports both Cursor IDE and Claude Desktop, providing flexibility in how it can be deployed and used.

Features

  • Access to Cursor's SQLite databases via MCP
  • Integration with AI assistants for data exploration
  • Support for querying project data, chat history, and composer information
  • Compatibility with Cursor IDE and Claude Desktop
  • Efficient resource management through MCP's lifespan API

Tools

  1. query_table

    Query a specific table in a project's database

  2. refresh_databases

    Refresh the list of database paths