Wgong Sqlite Mcp Server

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

Explore, query, and inspect SQLite databases with ease. List tables, preview results, and view det…

发布方自己的服务:222wcnm Bilistalkermcp

已验证Streamable HTTP可网页运行数据库数据与分析

概览

AI 生成的概览

只读的 SQLite 浏览服务器,让助手列出数据表、查看表结构,并对数据库文件执行经过校验的 SELECT 查询。

可以做什么
按名称列出所连接 SQLite 数据库中的所有表,并获取指定表的详细结构信息,包括列名、类型、NULL 约束、默认值和主键。执行带校验、参数绑定和行数限制的 SELECT 查询,结果以字典形式返回。访问为只读,助手可以浏览和预览数据而不会修改数据。
适用场景
适合让助手探索已有的 SQLite 数据库文件、了解其表结构,或在不授予写入权限的情况下通过只读查询回答问题。
运行要求
本地 Python 3.6+ 运行环境及 fastmcp 包,并设置环境变量 SQLITE_DB_PATH 为 SQLite 数据库文件的完整路径。注册表中的条目是 Smithery 远程端点,需要 Authorization bearer 令牌请求头。
安装前请注意
远程端点需要 Authorization bearer 令牌,应将其视为机密。查询作用于 SQLITE_DB_PATH 指向的数据库,建议指向副本而非敏感生产数据;文档称其为只读,但数据库内容会暴露给助手。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Wgong Sqlite Mcp Server,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/ai.smithery%2Fwgong-sqlite-mcp-server/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "wgong-sqlite": {
      "type": "http",
      "url": "https://server.smithery.ai/@wgong/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,提交 9990d92

工具

0
SourceWeft 尚未读取此服务器的工具。

版本历史

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

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Smithery 集成