Skip to main content
Glama

Cursor DB MCP Server

by jbdamask

커서 DB MCP 서버

Cursor IDE의 SQLite 데이터베이스에 접근하기 위한 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 서버를 통해 AI 어시스턴트는 Cursor의 프로젝트 데이터, 채팅 기록 및 작성자 정보를 탐색하고 상호작용할 수 있습니다.

커서커서 GIF

필수 조건

커서 IDE

설치

간편한 설치

제공된 설치 스크립트를 사용하여 모든 종속성을 설치하세요.

지엑스피1

이 스크립트는 다음을 설치합니다.

  • 기본 MCP 서버 및 종속성

커서 IDE와 함께 사용

  1. 커서를 열고 설정->커서 설정->MCP로 이동합니다.
  2. 클릭: 새 MCP 서버 추가
  3. 이름: 커서 DB MCP; 유형: 명령
  4. 명령어: <정규화된 경로>uv run --with mcp[cli] mcp run <정규화된 경로>/cursor-db-mcp-server.py

커서 DB MCP

이제 데이터베이스에 대한 질문을 하거나 과거 채팅에 대한 정보를 검색할 수 있습니다.

DB 구조

DB 키

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" ] }

커서 DB 퍼지 검색

사용 가능한 리소스

  • 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 비서가 데이터를 쿼리하고 분석할 수 있도록 합니다.

노트

  1. 커서는 AI 대화를 여러 곳에 저장합니다. 점점 더 많은 채팅이 globalStorage/state.vscdb 아래의 "composerData"로 저장됩니다. 최근 프로젝트에 대한 채팅에 대해 문의해도 결과가 나오지 않으면 composers를 입력해 보세요.
  2. 이 글은 Mac에서 작성되었습니다. 다른 OS에서는 다를 수 있습니다.

뻔뻔한 플러그

이런 게 마음에 드시나요? Cursor Journal을 사용해 Cursor 채팅 기록에서 바로 DevLog를 만들어 보세요!

특허

MIT

-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

AI 어시스턴트가 Cursor IDE의 SQLite 데이터베이스를 탐색하고 상호 작용할 수 있도록 하는 모델 컨텍스트 프로토콜 서버로, 프로젝트 데이터, 채팅 기록 및 작성자 정보에 대한 액세스를 제공합니다.

  1. 필수 조건
    1. 설치
      1. 간편한 설치
    2. 커서 IDE와 함께 사용
      1. Claude Desktop과 함께 사용
    3. 사용 가능한 리소스
      1. 사용 가능한 도구
        1. 작동 원리
          1. 노트
            1. 뻔뻔한 플러그
              1. 특허

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  A Model Context Protocol server that integrates with Linear, enabling AI assistants to create, update, search, and comment on issues for project management and issue tracking.
                  Last updated -
                  5
                  6
                  Python
                  Apache 2.0
                • A
                  security
                  F
                  license
                  A
                  quality
                  A starter template for building Model Context Protocol servers that can be integrated with Cursor or Claude Desktop, allowing developers to create custom tools and extensions for AI assistants.
                  Last updated -
                  1
                  6
                  9
                  TypeScript
                  • Apple
                • -
                  security
                  A
                  license
                  -
                  quality
                  A Model Context Protocol server implementation that enables AI assistants to execute SQL queries and interact with SQLite databases through a structured interface.
                  Last updated -
                  6
                  TypeScript
                  MIT License
                • A
                  security
                  A
                  license
                  A
                  quality
                  A Model Context Protocol server that enables AI assistants like Claude to interact with Outline document services, supporting document searching, reading, creation, editing, and comment management.
                  Last updated -
                  25
                  19
                  Python
                  MIT License

                View all related MCP servers

                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