Skip to main content
Glama

SQLite MCP Server

by santos-404

SQLite MCP 서버

TypeScript를 사용하여 SQLite 데이터베이스와 상호 작용하기 위한 모델 컨텍스트 프로토콜(MCP) 서버 구현입니다. 이 서버는 SQL 쿼리 실행, 데이터베이스 스키마 관리, 비즈니스 통찰력 도출을 위한 대화형 인터페이스를 제공하며, 이 모든 기능은 확장 가능한 프로토콜 프레임워크 내에서 구현됩니다.

MCP에 대해 잘 모르시나요? 아래 'MCP란 무엇인가요?' 섹션을 확인해 보세요.

특징

명령설명
list_tablesSQLite 데이터베이스의 모든 테이블 나열-
read_querySQLite 데이터베이스에서 SELECT 쿼리 실행SELECT * FROM users WHERE age > 18

설치 및 설정

지엑스피1

아직 npm 패키지로 게시되지 않았으므로 Docker 설치 방법에 초점을 맞추겠습니다.

1. Docker 이미지 빌드

docker build -t mcp/sqlite .

2. AI 클라이언트 구성

AI 클라이언트 구성 파일에 다음을 추가하세요.

"mcpServers": { "sqlite": { "command": "docker", "args": [ "run", "--rm", "-i", "-v", "mcp-test:/mcp", "mcp/sqlite", "--db-path", "test_db.sqlite3" ] } }

해당 json 파일이 무엇인지 모르는 경우 클라이언트 구성 가이드를 참조하세요.

3. AI 클라이언트를 다시 시작하세요

재시작 후 AI 클라이언트 인터페이스에서 MCP 도구를 사용할 수 있습니다. Windows에서는 변경 사항을 적용하려면 프로세스를 수동으로 종료해야 할 수 있습니다.

선적 서류 비치

MCP란 무엇인가요?

모델 컨텍스트 프로토콜(MCP)은 AI 모델이 외부 도구 및 서비스와 상호 작용하는 표준화된 방식입니다. AI 비서가 정의된 프로토콜 인터페이스를 통해 데이터베이스 쿼리 실행, 외부 API 접근, 파일 조작 등의 작업을 수행할 수 있도록 합니다.

MCP는 AI 모델 자체에 직접 통합할 필요 없이 도구와 데이터 소스에 대한 구조화된 액세스를 제공함으로써 AI 기능을 대화 그 이상으로 확장합니다.

튜토리얼: Claude Desktop 설정

Claude Desktop은 MCP 서버를 지원하는 여러 AI 클라이언트 중 하나입니다. Windows에서 설정하는 방법은 다음과 같습니다.

  1. Windows Key + R 눌러 실행 대화 상자를 엽니다.
  2. %appdata%\Claude 입력하고 Enter를 누릅니다.
  3. claude_desktop_config.json 이라는 새 파일이 없으면 만드세요.
  4. 위의 설정 지침 2단계의 구성을 추가합니다.
  5. 파일을 저장하고 Claude Desktop을 다시 시작하세요.
  6. 이제 Claude 인터페이스에서 사용 가능한 SQLite 도구가 표시됩니다.

특허

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다.

기여하다

이 프로젝트는 주로 학습 목적으로 제작되었습니다. 하지만 참여를 원하시면 풀 리퀘스트를 제출해 주세요. 검토해 드리겠습니다.

관심을 가져주셔서 감사합니다!

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

AI 어시스턴트가 구조화된 인터페이스를 통해 SQL 쿼리를 실행하고 SQLite 데이터베이스와 상호 작용할 수 있도록 하는 모델 컨텍스트 프로토콜 서버 구현입니다.

  1. 특징
    1. 설치 및 설정
      1. Docker 이미지 빌드
      2. AI 클라이언트 구성
      3. AI 클라이언트를 다시 시작하세요
    2. 선적 서류 비치
      1. MCP란 무엇인가요?
      2. 튜토리얼: Claude Desktop 설정
    3. 특허
      1. 기여하다

        Related MCP Servers

        • -
          security
          F
          license
          -
          quality
          A Model Context Protocol server that enables AI assistants to explore and interact with Cursor IDE's SQLite databases, providing access to project data, chat history, and composer information.
          Last updated -
          10
          Python
          • Apple
        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol server that enables secure and structured interaction with Microsoft SQL Server databases, allowing AI assistants to list tables, read data, and execute SQL queries with controlled access.
          Last updated -
          20
          Python
          MIT License
          • Linux
          • Apple
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that provides database interaction capabilities through SQLite, enabling users to run SQL queries, analyze business data, and automatically generate business insight memos.
          Last updated -
          6
          9
          TypeScript
          MIT License
          • Apple
        • A
          security
          A
          license
          A
          quality
          A Model Context Protocol server that enables secure interaction with Microsoft SQL Server databases, allowing AI assistants to list tables, read data, and execute SQL queries through a controlled interface.
          Last updated -
          1
          108
          Python
          MIT License
          • Linux
          • Apple

        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/santos-404/mcp-server.sqlite'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server