Afgong Sqlite Mcp Server

ai.smithery由 smithery.ai 發布官方發布者v1.16.0更新於 Oct 24, 2026

Explore your Messages SQLite database to browse tables and inspect schemas with ease. Run flexible…

發布方自己的服務:222wcnm Bilistalkermcp

已驗證Streamable HTTP可網頁執行資料庫資料與分析

概覽

AI 產生的概覽

一個唯讀的 SQLite 瀏覽工具,讓助理列出資料表、檢視資料表結構,並對資料庫檔案執行經過驗證的 SELECT 查詢。

可以做什麼
依名稱列出所連線 SQLite 資料庫中的所有資料表,並取得指定資料表的詳細結構資訊,包括欄位名稱、型別、NULL 限制、預設值和主鍵。執行具備驗證、參數綁定與列數限制的 SELECT 查詢,結果以字典形式回傳。
適用情境
適合讓助理在不冒寫入風險的前提下探索 SQLite 資料庫的結構與內容,例如在自行撰寫查詢前瀏覽資料表、檢視資料表結構。
執行需求
README 描述的是本機 Python 3.6+ 環境,需要 fastmcp 套件,並透過 SQLITE_DB_PATH 環境變數指定 SQLite 資料庫檔案路徑。登錄資訊列出的是位於 server.smithery.ai 的遠端 streamable HTTP 端點,需使用 Authorization bearer 權杖進行 Smithery 身分驗證。
安裝前請注意
此伺服器設計為唯讀,但仍會接收你的資料庫檔案路徑,因此只應指向你願意讓助理存取的資料庫。遠端端點需要 Authorization bearer 權杖,應視為機密。README 的安裝步驟涉及複製第三方程式碼儲存庫。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Afgong Sqlite Mcp Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/ai.smithery%2Fafgong-sqlite-mcp-server/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "afgong-sqlite": {
      "type": "http",
      "url": "https://server.smithery.ai/@afgong/sqlite-mcp-server/mcp"
    }
  }
}

README

[MseeP.ai Security Assessment Badge]

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:

bash
# Using pippip 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

🛠️ 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:

bash
git clone https://github.com/hannesrudolph/sqlite-explorer-fastmcp-mcp-server.gitcd 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:

bash
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:

  1. In VSCode, click the server icon (☰) in the Cline plugin sidebar
  2. Click the "Edit MCP Settings" button (✎)
  3. Add the following configuration to the settings file:
json
{  "sqlite-explorer": {    "command": "uv",    "args": [      "run",      "--with",      "fastmcp",      "--with",      "uvicorn",      "fastmcp",      "run",      "/path/to/repo/sqlite_explorer.py"    ],    "env": {      "SQLITE_DB_PATH": "/path/to/your/database.db"    }  }}

Replace:

  • /path/to/repo with the full path to where you cloned this repository (e.g., /Users/username/Projects/sqlite-explorer-fastmcp-mcp-server)
  • /path/to/your/database.db with the full path to your SQLite database file

🔒 Safety Features

  • Read-only access to SQLite databases
  • Query validation and sanitization
  • Parameter binding for safe query execution
  • Row limit enforcement
  • Progress output suppression for clean JSON responses

📚 Development Documentation

The repository includes documentation files for development:

  • mcp-documentation.txt: Contains comprehensive documentation about the MCP server implementation and FastMCP framework usage.

This documentation serves as context when developing features and can be used with LLMs to assist in development.

⚙️ Environment Variables

The following environment variables must be set:

  • SQLITE_DB_PATH: Full path to the SQLite database file you want to explore

來源:sqlite-explorer-fastmcp-mcp-server/README.md,提交 2b9d70a

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v1.16.0最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Smithery 整合