SQLite MCP Server Configuration & Usage Guide
Installationuvx
Risk LevelMedium Risk
API KeyNot Required
Clients3 supported
SQLite 数据库操作,支持查询、分析和基本的数据管理
Supported Clients
- Claude Desktop
- Cursor
- VS Code / Cline
Installation Command
uvx mcp-server-sqlite --db-path /path/to/database.dbConfiguration Example
{
"mcpServers": {
"sqlite": {
"command": "uvx",
"args": [
"mcp-server-sqlite",
"--db-path",
"/path/to/test.db"
]
}
}
}Permission Scope & Security Notes
可读写指定数据库文件,建议使用副本或测试数据库
- database-read
- database-write
Risk Score:5/10
Common Errors
- 数据库文件不存在
- 确认 --db-path 指向的文件存在
- uvx 命令找不到
- Required先安装 uv:curl -LsSf https://astral.sh/uv/install.sh | sh
- database is locked
- 确认没有其他进程正在使用该数据库
Sources
Recently Verified:2026-05-18。Client versions and configuration formats may change. Please refer to official documentation before use.