MCP.so
登录

概览

What is SQLite MCP Server?

SQLite MCP Server is a Model Context Protocol (MCP) server that provides SQLite database operations through a standardized interface. It supports in-memory and file-based storage, offering tools for SQL queries, table management, and business insights memo tracking.

How to use SQLite MCP Server?

Install dependencies and run locally with npm install and npm start, or deploy using Docker (docker build -t sqlite-mcp-server . && docker run -d ...) or Nixpacks. No environment variables are required by default; modify the database path in source code for file-based storage. Connect remote clients (e.g., n8n) via SSE at http://localhost:3000/sse with messages endpoint at http://localhost:3000/messages.

Key features of SQLite MCP Server

  • In-memory SQLite database (configurable for file-based storage)
  • SQL operations: SELECT, INSERT, UPDATE, DELETE
  • Table management: CREATE, LIST, DESCRIBE
  • Business insights memo tracking with append_insight tool
  • Docker support for easy deployment

Use cases of SQLite MCP Server

  • Quickly prototype or test SQL queries in an isolated environment
  • Manage database schemas (create, list, describe tables) via MCP tools
  • Append and track business insights as structured memos
  • Integrate a lightweight local database into AI-agent workflows

FAQ from SQLite MCP Server

What operations does SQLite MCP Server support?

It supports SELECT queries (read_query), data modifications (write_query), table creation (create_table), listing tables (list_tables), viewing schema (describe_table), and appending business insights (append_insight).

Is the database persistent?

By default the database runs in-memory, but you can modify the database path in src/index.ts to use file-based storage for persistence.

What runtime or dependencies are required?

Node.js and npm are needed for local development. Docker is supported for containerized deployment. No external services or environment variables are required by default.

How do I connect a remote client (e.g., n8n) to this server?

Connect via SSE: use the SSE URL http://localhost:3000/sse and the messages post endpoint http://localhost:3000/messages. No additional headers are required.

Does SQLite MCP Server require authentication or authorization?

The README does not mention any authentication or authorization mechanisms. No headers or credentials are needed for the SSE connection.

标签

来自「数据库」的更多内容