
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that provides SQLite database operations over stdio or Streamable HTTP transports.
SQLite MCP Server is cataloged as an MCP server attributed to isaacgounton. A Model Context Protocol server that provides SQLite database operations over stdio or Streamable HTTP transports. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: ISC. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for SQLite MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes, setting MCP_AUTH_TOKEN requires a bearer token on every /mcp request, while /health stays open.
Each tool only accepts its intended statement type, stacked statements are rejected, and table names are validated against a regex.
README.md · 4146b0aa23d1 · 采集于 2026-11-13 11:48:20 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Model Context Protocol (MCP) server that provides SQLite database operations. Supports both stdio (for Claude Desktop, Cursor, etc.) and Streamable HTTP (for remote clients) transports.
npm install && npm run build
node build/index.js
Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"sqlite": {
"command": "node",
"args": ["/path/to/sqlite-mcp-server/build/index.js"]
}
}
}
With a file-based database:
{
"mcpServers": {
"sqlite": {
"command": "node",
"args": ["/path/to/sqlite-mcp-server/build/index.js", "/path/to/database.db"]
}
}
}
node build/index.js --http
The server exposes a single endpoint at http://localhost:3000/mcp following the MCP Streamable HTTP specification. By default it binds to 127.0.0.1. To reach it from another host or a container, set HOST=0.0.0.0 — but read the Security section first: the HTTP transport has no authentication.
docker build -t sqlite-mcp-server .
docker run -d -p 3000:3000 -e HOST=0.0.0.0 --name sqlite-mcp sqlite-mcp-server
HOST=0.0.0.0 is required so the server is reachable through the published port. Connecting from the host via localhost:3000 works out of the box; to reach it under any other hostname, add that host to MCP_ALLOWED_HOSTS.
| Option | Description | Default |
|---|---|---|
--http | Use Streamable HTTP transport instead of stdio | stdio |
| First non-flag argument | Path to SQLite database file | :memory: |
SQLITE_DB_PATH | Database path (env var alternative) | :memory: |
PORT | HTTP server port (HTTP mode only) | 3000 |
HOST | Interface to bind in HTTP mode. Use 0.0.0.0 to expose beyond localhost | 127.0.0.1 |
MCP_ALLOWED_HOSTS | Comma-separated Host header allow-list for DNS-rebinding protection | localhost:$PORT,127.0.0.1:$PORT |
MCP_AUTH_TOKEN | Bearer token required on all /mcp requests (HTTP mode). Unset = auth disabled | (none) |
Examples:
# In-memory database on stdio
node build/index.js
# File-based database on stdio
node build/index.js ./data.db
# HTTP mode with custom port
PORT=8080 node build/index.js --http ./data.db
# Using environment variable
SQLITE_DB_PATH=./data.db node build/index.js --http
| Tool | Description |
|---|---|
read_query | Execute SELECT, WITH (CTE), or EXPLAIN queries |
write_query | Execute INSERT, UPDATE, DELETE, or REPLACE queries |
create_table | Create a new table with a CREATE TABLE statement |
drop_table | Drop a table (irreversible) |
list_tables | List all user-created tables |
describe_table | Get table schema: columns, indexes, and foreign keys |
append_insight | Add a business insight to the memo resource |
| URI | Description |
|---|---|
sqlite://{db}/schema | Full schema (CREATE statements) for all tables |
memo://insights | Accumulated business insights from analysis |
| Name | Description |
|---|---|
mcp-demo | Guided walkthrough: creates tables, inserts sample data, runs queries for a given topic |
Connect any MCP-compatible client to http://your-host:3000/mcp. The server supports:
POST /mcp — send MCP messages (session created on initialize)GET /mcp — SSE stream for session resumabilityDELETE /mcp — terminate a sessionGET /health — health check endpointSessions are managed via the Mcp-Session-Id header.
Set MCP_AUTH_TOKEN to require a bearer token on every /mcp request (/health stays open):
MCP_AUTH_TOKEN=$(openssl rand -hex 32) HOST=0.0.0.0 node build/index.js --http
Clients then send Authorization: Bearer <token>. When MCP_AUTH_TOKEN is unset, authentication is disabled — fine for a localhost-only bind, but do not expose the server publicly without it.
^[a-zA-Z_][a-zA-Z0-9_]*$127.0.0.1 by default, with DNS-rebinding protection (MCP_ALLOWED_HOSTS)MCP_AUTH_TOKEN (timing-safe check)Set MCP_AUTH_TOKEN before exposing the HTTP transport beyond localhost. For production, also front it with a reverse proxy that terminates TLS. See SECURITY.md for the full model and how to report a vulnerability.
npm install
npm run build
npm test # build + run the validator test suite
npm start # stdio mode
npm run start:http # HTTP mode
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for SQLite MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/sqlite-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.