Cursor DB MCP Server
カーソルDB MCPサーバー
Cursor IDEのSQLiteデータベースにアクセスするためのモデルコンテキストプロトコル(MCP)サーバー。このサーバーにより、AIアシスタントはCursorのプロジェクトデータ、チャット履歴、作曲者情報を探索し、操作できるようになります。
カーソル
前提条件
カーソルIDE
Related MCP server: ExecuteAutomation Database Server
インストール
簡単なインストール
提供されているインストール スクリプトを使用して、すべての依存関係をインストールします。
python install.pyこのスクリプトは以下をインストールします:
基本的なMCPサーバーと依存関係
カーソルIDEでの使用
カーソルを開き、[設定] -> [カーソル設定] -> [MCP] に移動します。
クリック: 新しいMCPサーバーを追加
名前: カーソル DB MCP; タイプ: コマンド
コマンド: <完全修飾パス>uv run --with mcp[cli] mcp run <完全修飾パス>/cursor-db-mcp-server.py

これで、データベースについて質問したり、過去のチャットに関する情報を取得したりできるようになりました。


Claude Desktopでの使用
Claude Desktop 用の MCP サーバーのインストール
これをclaude_desktop_config.jsonファイルに追加します
"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://projects- 利用可能なすべてのカーソルプロジェクトを一覧表示しますcursor://projects/detailed- 詳細情報を含むプロジェクトを一覧表示しますcursor://projects/{project_name}/chat- 特定のプロジェクトのチャットデータを取得するcursor://projects/{project_name}/composers- 特定のプロジェクトの作曲家IDを取得しますcursor://composers/{composer_id}- 特定の作曲家のデータを取得する
利用可能なツール
query_table- プロジェクトのデータベース内の特定のテーブルをクエリするrefresh_databases- データベースパスのリストを更新します
仕組み
サーバーはCursorのインストールディレクトリをスキャンしてプロジェクトデータベース(state.vscdbファイル)を検索します。その後、これらのデータベースをMCPのリソースとツールを通じて公開し、AIアシスタントがデータのクエリと分析を行えるようにします。
注記
CursorはAIの会話を複数の場所に保存します。チャットはglobalStorage/state.vscdbの「composerData」として保存されることが多くなっています。最近のプロジェクトのチャットについて問い合わせても結果が返されない場合は、作曲家について問い合わせてみてください。
これはMacで書かれたものです。他のOSでは異なる場合があります。
恥知らずな宣伝
気に入りましたか? Cursor Journalを試して、Cursor チャット履歴から直接 DevLog を作成しましょう。
ライセンス
マサチューセッツ工科大学
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
The Cortex MCP server provides read-only access to real-time engineering context from the Cortex developer portal, allowing AI coding assistants to answer natural language questions about your organization's catalog (microservices, libraries, domains, teams, infrastructure), scorecards (engineering standards and best practices), initiatives (goals and deadlines), and Engineering Intelligence metrics. It includes tools for querying documentation, tracking personal entities, and accessing AI-assisted insights across the entire Cortex ecosystem.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server implementation that enables AI assistants to execute SQL queries and interact with SQLite databases through a structured interface.7MIT
- AlicenseNot gradedqualityFmaintenanceA Model Context Protocol server that enables LLMs like Claude to interact with SQLite and SQL Server databases, allowing for schema inspection and SQL query execution.806380MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides AI assistants with comprehensive access to SQL databases, enabling schema inspection, query execution, and database operations with enterprise-grade security.357MIT
- FlicenseAqualityDmaintenanceA Model Context Protocol server that provides read-only access to Datasette instances, enabling AI assistants to explore, query, and analyze data from Datasette databases through a standardized interface.52-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jbdamask/cursor-db-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server