
hannesrudolph/sqlite-explorer-fastmcp-mcp-server
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
hannesrudolph/sqlite-explorer-fastmcp-mcp-server は、[[T0]からインポートされたMCPサーバー候補です。
概要
hannesrudolph/sqlite-explorer-fastmcp-mcp-server は、[[T0]からインポートされたMCPサーバー候補です。
概要(AI 翻訳)
モデルコンテキストプロトコル(MCP)を通じてSQLiteデータベースへの安全な読み取り専用アクセスを提供するMCPサーバーです。このサーバーはFastMCPフレームワークで構築されており、LLMは組み込みの安全機能とクエリ検証を備えたSQLiteデータベースの探索とクエリを可能にします。
📋 システム要件
- Python 3.6+
- SQLiteデータベースファイル(環境変数でパス指定)
📦 依存関係
必要な依存関係をすべてインストールする:
必須荷物
- fastmcp: モデルコンテキストプロトコルサーバー構築のためのフレームワーク
すべての依存関係はインストールが容易になるようにrequirements.txtで指定されています。
📑 目次
- システム要件
- 依存関係
- MCPツール
- はじめかす
- 設置オプション
- クロードデスクトップ
- Cline VSCode プラグイン
- 安全機能
- 開発ドキュメント
- 環境変数
🛠️ MCPツールズ
サーバーは以下のツールをLLMに公開します:
read_query
組み込みの安全性検証機能を備えたデータベース上でSELECTクエリを実行します。特徴:
- クエリ検証とサニタイズ
- パラメータバインディングサポート
- 行制限の強制
- 辞書形式の結果
list_tables
データベース内の利用可能なすべてのテーブルを名前とともにリストアップします。
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
SQLite Explorer MCP Server
An MCP server that provides safe, read-only access to SQLite databases through Model Context Protocol (MCP). This server is built with the FastMCP framework, which enables LLMs to explore and query SQLite databases with built-in safety features and query validation.
📋 System Requirements
- Python 3.6+
- SQLite database file (path specified via environment variable)
📦 Dependencies
Install all required dependencies:
# Using pip
pip install -r requirements.txt
Required Packages
- fastmcp: Framework for building Model Context Protocol servers
All dependencies are specified in requirements.txt for easy installation.
📑 Table of Contents
- System Requirements
- Dependencies
- MCP Tools
- Getting Started
- Installation Options
- Safety Features
- Development Documentation
- Environment Variables
🛠️ MCP Tools
The server exposes the following tools to LLMs:
read_query
Execute a SELECT query on the database with built-in safety validations. Features:
- Query validation and sanitization
- Parameter binding support
- Row limit enforcement
- Results formatted as dictionaries
list_tables
List all available tables in the database with their names.
describe_table
Get detailed schema information for a specific table, including:
- Column names and types
- NULL constraints
- Default values
- Primary key information
🚀 Getting Started
Clone the repository:
git clone https://github.com/hannesrudolph/sqlite-explorer-fastmcp-mcp-server.git
cd sqlite-explorer-fastmcp-mcp-server
📦 Installation Options
You can install this MCP server in either Claude Desktop or the Cline VSCode plugin. Choose the option that best suits your needs.
Option 1: Install for Claude Desktop
Install using FastMCP:
fastmcp install sqlite_explorer.py --name "SQLite Explorer" -e SQLITE_DB_PATH=/path/to/db
Replace /path/to/db with the path to your SQLite database file.
Option 2: Install for Cline VSCode Plugin
To use this server with the Cline VSCode plugin:
- In VSCode, click the server icon (☰) in the Cline plugin sidebar
- Click the “Edit MCP Settings” button (✎)
- Add the following configuration to the settings file:
{
"sqlite-explorer": {
"command": "uv",
"args": [
"run",
"--with",
"fastmcp",
"--with",
"uvicorn",
"fastmcp",
"run",
インストール
This server does not publish a one-line install command.
Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →