The operations toolchain for production SQLite — diff, migrate, monitor, and run staged migrations across an entire fleet of Turso & Cloudflare D1 databases.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add litescope --env CLOUDFLARE_API_TOKEN='<CLOUDFLARE_API_TOKEN>' -- npx -y litescope~/.codex/config.toml
[mcp_servers.litescope]
command = "npx"
args = ["-y", "litescope"]
env = { CLOUDFLARE_API_TOKEN = "<CLOUDFLARE_API_TOKEN>" }
# codex mcp add litescope --env CLOUDFLARE_API_TOKEN='<CLOUDFLARE_API_TOKEN>' -- npx -y litescope~/.cursor/mcp.json
{
"mcpServers": {
"litescope": {
"command": "npx",
"args": [
"-y",
"litescope"
],
"env": {
"CLOUDFLARE_API_TOKEN": "<CLOUDFLARE_API_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"litescope": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"litescope"
],
"env": {
"CLOUDFLARE_API_TOKEN": "<CLOUDFLARE_API_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"litescope": {
"command": "npx",
"args": [
"-y",
"litescope"
],
"env": {
"CLOUDFLARE_API_TOKEN": "<CLOUDFLARE_API_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"litescope": {
"command": "npx",
"args": [
"-y",
"litescope"
],
"env": {
"CLOUDFLARE_API_TOKEN": "<CLOUDFLARE_API_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"litescope": {
"command": "npx",
"args": [
"-y",
"litescope"
],
"env": {
"CLOUDFLARE_API_TOKEN": "<CLOUDFLARE_API_TOKEN>"
}
}
}
}需要的环境变量
CLOUDFLARE_API_TOKEN
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。