MCP Servers

模型上下文协议服务器、框架、SDK 和模板的综合目录。

S
Sqlite MCP Server

MCP server by ljxiong313

创建于 3/13/2026
更新于 about 15 hours ago
Repository documentation and setup instructions

SQLite MCP Server

A Model Context Protocol (MCP) server for SQLite databases.

Features

  • Read Query: Execute SELECT queries
  • Write Query: Execute INSERT, UPDATE, DELETE queries
  • Create Table: Create new tables
  • List Tables: List all tables in the database
  • Explain Query: Explain query execution plans

Configuration

The server can be configured using environment variables or a .env file:

  • DB_PATH: Path to the SQLite database file (default: ./data.db)
  • SERVER_MODE: Server mode, either stdio (default), sse, or streamableHttp

Usage

  1. Clone the repository
  2. Install dependencies:
    go mod tidy
    
  3. Run the server:
    go run .
    

Tools

  • read_query: Execute a SELECT query
    • query: The SQL query string
  • write_query: Execute an INSERT/UPDATE/DELETE query
    • query: The SQL query string
  • create_table: Create a new table
    • schema: The CREATE TABLE statement
  • list_tables: List all tables
  • explain_query: Explain a query plan
    • query: The SQL query to explain
快速设置
此服务器的安装指南

安装命令 (包未发布)

git clone https://github.com/ljxiong313/sqlite-mcp-server
手动安装: 请查看 README 获取详细的设置说明和所需的其他依赖项。

Cursor 配置 (mcp.json)

{ "mcpServers": { "ljxiong313-sqlite-mcp-server": { "command": "git", "args": [ "clone", "https://github.com/ljxiong313/sqlite-mcp-server" ] } } }