SQLite MCP Server
SQLite MCP サーバー
TypeScriptを使用した、SQLiteデータベースとのやり取りのためのモデルコンテキストプロトコル(MCP)サーバー実装です。このサーバーは、SQLクエリの実行、データベーススキーマの管理、ビジネスインサイトの統合など、すべて拡張可能なプロトコルフレームワーク内で実行できるインタラクティブなインターフェースを提供します。
MCP についてよく知らない場合は、以下の「MCP とは?」セクションをご覧ください。
特徴
指示 | 説明 | 例 |
| SQLiteデータベース上のすべてのテーブルを一覧表示する | - |
| SQLiteデータベースでSELECTクエリを実行する |
|
Related MCP server: ExecuteAutomation Database Server
インストールとセットアップ
git clone https://github.com/javsanmar5/mcp-server.sqlite.git
cd mcp-server.sqliteこれはまだ 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クライアントの1つです。Windowsでの設定方法は次のとおりです。
Windows Key + Rを押して実行ダイアログを開きます%appdata%\Claudeと入力してEnterキーを押します。claude_desktop_config.jsonという新しいファイルが存在しない場合は作成します。上記のセットアップ手順のステップ2の設定を追加します
ファイルを保存し、Claude Desktopを再起動します。
Claudeインターフェースで利用可能なSQLiteツールが表示されるはずです。
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています。
貢献
このプロジェクトは主に学習目的で作成されました。もし貢献したい場合は、お気軽にプルリクエストを送信してください。レビューさせていただきます。
ご興味を持っていただきありがとうございます!
This server cannot be deployed
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema
A Model Context Protocol server for Wix AI tools
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
Related MCP Servers
- AlicenseBqualityCmaintenanceA Model Context Protocol server that enables SQL operations (SELECT, INSERT, UPDATE, DELETE) and table management through a standardized interface with SQLite databases.743 npm1ISC
- AlicenseNot gradedqualityDmaintenanceA 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.730 npm386MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI assistants to interact with SQLite databases by connecting to database files, listing tables, describing schemas, and executing queries.6127 npm2MIT
- AlicenseNot gradedqualityDmaintenanceImplements a Model Context Protocol server that enables natural language interactions with SQLite databases, providing tools to list tables, retrieve schemas, count rows, and execute read-only SQL queries.MIT