프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. 리뷰와 계정 기능은 다음 단계에서 열려요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

SQLite MCP Sidecar

제작자: xakpc버전 0.1.3i★ –i내 컴퓨터에서 실행
레지스트리 이름dev.xakpc/sqlite-mcp-sidecar

설치

개요

제작자가 쓴 설명(영어 원문)

Agent-safe MCP sidecar for one live SQLite database: read-only default, bounded writes.

PopNx MCP의 세 기둥

이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 내 컴퓨터에서 실행
  • 전송 방식: Streamable HTTP
  • 카테고리: 데이터베이스 및 데이터셋
  • 입력해야 할 값: SQLITE_SIDECAR_DB, SQLITE_SIDECAR_TOKEN

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

설치하기 전에

  • 기본 점검: 1개 중 1개 통과
  • 내 컴퓨터에서 내 사용자 계정의 권한(파일, 네트워크, 앱)으로 실행돼요.
  • 직접 입력할 값: SQLITE_SIDECAR_DB, SQLITE_SIDECAR_TOKEN, SQLITE_SIDECAR_PERMISSIONS

비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.

필요한 것

어떤 앱을 쓰세요?

위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.

Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요

{
  "mcpServers": {
    "sqlite-sidecar": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SQLITE_SIDECAR_DB",
        "-e",
        "SQLITE_SIDECAR_TOKEN",
        "-e",
        "SQLITE_SIDECAR_PERMISSIONS",
        "ghcr.io/xakpc/sqlite-mcp-sidecar:0.1.3"
      ],
      "env": {
        "SQLITE_SIDECAR_DB": "your-value",
        "SQLITE_SIDECAR_TOKEN": "your-value",
        "SQLITE_SIDECAR_PERMISSIONS": "your-value"
      }
    }
  }
}

터미널에서 이 명령어를 실행하세요

claude mcp add sqlite-sidecar --env SQLITE_SIDECAR_DB=your-value --env SQLITE_SIDECAR_TOKEN=your-value --env SQLITE_SIDECAR_PERMISSIONS=your-value -- docker run -i --rm -e SQLITE_SIDECAR_DB -e SQLITE_SIDECAR_TOKEN -e SQLITE_SIDECAR_PERMISSIONS ghcr.io/xakpc/sqlite-mcp-sidecar:0.1.3

실행하기 전에 빈 값을 채워 주세요.

Cursor에서 열기

또는 설정을 직접 복사하기

프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요

{
  "mcpServers": {
    "sqlite-sidecar": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SQLITE_SIDECAR_DB",
        "-e",
        "SQLITE_SIDECAR_TOKEN",
        "-e",
        "SQLITE_SIDECAR_PERMISSIONS",
        "ghcr.io/xakpc/sqlite-mcp-sidecar:0.1.3"
      ],
      "env": {
        "SQLITE_SIDECAR_DB": "your-value",
        "SQLITE_SIDECAR_TOKEN": "your-value",
        "SQLITE_SIDECAR_PERMISSIONS": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

VS Code에서 열기

또는 설정을 직접 복사하기

프로젝트의 .vscode/mcp.json에 붙여 넣으세요

{
  "servers": {
    "sqlite-sidecar": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "SQLITE_SIDECAR_DB",
        "-e",
        "SQLITE_SIDECAR_TOKEN",
        "-e",
        "SQLITE_SIDECAR_PERMISSIONS",
        "ghcr.io/xakpc/sqlite-mcp-sidecar:0.1.3"
      ],
      "env": {
        "SQLITE_SIDECAR_DB": "your-value",
        "SQLITE_SIDECAR_TOKEN": "your-value",
        "SQLITE_SIDECAR_PERMISSIONS": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.

선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.

직접 입력할 값

  • SQLITE_SIDECAR_DB 필수 env
    Path of the existing SQLite file inside the container
  • SQLITE_SIDECAR_TOKEN 비밀 필수 env
    Deployment bearer token (a long random string)
  • SQLITE_SIDECAR_PERMISSIONS env
    Permission set: schema, read, write, backup, diagnostics, danger-raw-write

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 6일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 도메인 xakpc.dev 기준으로 확인되었어요(레지스트리가 도메인 소유를 확인해요)

  • … 아직 점검 안 함

    계속 관리되고 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

데이터베이스 및 데이터셋 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 953개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 953개 중 78%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 953개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

SQLite MCP Sidecar, 안전한가요?

해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

입력해야 할 값: SQLITE_SIDECAR_DB, SQLITE_SIDECAR_TOKEN

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.1.3)은 13일 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Docker도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: Supabase, MongoDB MCP Server, Elasticsearch MCP Server

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

Supabase

제작자: supabase

MCP server for interacting with the Supabase platform

컴퓨터 또는 클라우드★ 2,993Apache-2.0어제 업데이트
설치

MongoDB MCP Server

제작자: mongodb-js

MongoDB Model Context Protocol Server

내 컴퓨터에서 실행★ 1,157Apache-2.0그저께 업데이트
설치

Elasticsearch MCP Server

제작자: cr7258

MCP server for interacting with Elasticsearch

내 컴퓨터에서 실행★ 315Apache-2.014개월 전 업데이트
설치

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

sqlite-sidecar-mcp

An agent-safe MCP sidecar for one live SQLite database.

It gives an AI agent controlled access to a database that another application already owns, and it limits the damage that an authorized but mistaken agent can cause.

[][ci-url] [][license-url] [][ghcr-url] [][dotnet-url]

Contents

  • About the project
  • Built with
  • Getting started
  • The eight tools
  • Permissions
  • Configuration
  • Deployment
  • Security
  • Contributing
  • License
  • Contact
  • Acknowledgments

About the project

An application owns a SQLite file. You want an agent to read it, and perhaps to change a few rows. Handing the agent a SQL connection gives it the whole file and one DELETE with a wrong predicate is unrecoverable. sqlite-sidecar-mcp sits next to that application as one more SQLite client and speaks MCP over HTTP. The owning application does not change.

It runs in production next to the MCP Canary API, where it gives the operator's coding agent read-only access to the live database.

flowchart TD

agent[AI / MCP client] -->|HTTPS| proxy[Reverse proxy] proxy -->|private HTTP| sidecar[sqlite-sidecar-mcp] sidecar -->|SQLite client| db[(app.db)] app[Owning application] -->|SQLite client| db

The product defends against two callers. One is an unauthorized client, which the token and the request budget stop. The other is an authorized client that makes a mistake, and that one is the unusual part: an agent with permission to write can still write the wrong thing. Structured writes, a mandatory predicate, a row limit that counts cascades, and a per-minute write budget exist for it.

[!IMPORTANT]

One sidecar process serves one database. The request budget, the write budget and the

idempotency cache live in process memory. A second replica gives you two independent budgets and

two independent caches, and nothing reports it. Do not scale this service. Run a second sidecar

only for a *different* database or a *different* trust boundary.

Built with
  • .NET 10, ASP.NET Core
  • Model Context Protocol over Streamable HTTP
  • Microsoft.Data.Sqlite with the bundled native SQLite
  • TOON for row output, which costs fewer tokens than JSON

( back to top )

Getting started

Prerequisites
  • Docker
  • A SQLite database that already exists. The sidecar never creates one: creation would hide a wrong path and leave an empty database next to the real one.
Run it
docker run -d --name sqlite-sidecar \

-p 127.0.0.1:8080:8080 \ -v /srv/myapp/data:/data \ -e SQLITE_SIDECAR_DB=/data/app.db \ -e SQLITE_SIDECAR_TOKEN=' ' \ -e SQLITE_SIDECAR_PERMISSIONS=schema,read \ --read-only --tmpfs /tmp \ --cap-drop=ALL --security-opt=no-new-privileges \ ghcr.io/xakpc/sqlite-mcp-sidecar:latest

The mount must be writable, also for the read-only permission set above. SQLite opens the -shm file read-write for a read-only connection to a WAL database, and a read-only mount fails in a way that reads like a permission fault rather than a configuration mistake.

Connect an agent

The endpoint is /db/mcp and the token goes in an Authorization header:

{

"mcpServers": { "app-database": { "url": "https://example.com/db/mcp", "headers": { "Authorization": "Bearer " } } } }

There is no OAuth. A client that insists on OAuth discovery finds no resource metadata on a 401 and stops; the expected consumer is one agent that an operator configured with a static header.

Generate a token and an environment block
dotnet run scripts/token.cs

It asks for the deployment shape, mints a token from a cryptographic random source, repairs a permission set that would fail startup, and prints the block as .env, shell or compose.

( back to top )

The eight tools

Which tools exist is decided by the permission set. A tool the deployment does not cover is absent from tools/list — it does not appear and then fail.

ToolNeedsWhat it does
schemaschemaReturns the DDL of the user tables, views and indexes. No row data, no internal sqlite_% objects, no file path.
queryreadRuns one caller-written read statement and returns rows as TOON, inside a row limit, a byte limit and a timeout.
insertwriteInserts one row from a table name and a value map. The caller sends no SQL.
updatewriteUpdates rows matched by a structured filter. Needs a filter and a maxRows.
deletewriteDeletes rows matched by a structured filter. Needs a filter and a maxRows.
backupbackupCopies the live database while the owning application keeps writing. Answers with a task; the client polls for the outcome.
diagnosticsdiagnosticsReports a fixed set of health values, including the journal mode and a quick_check.
execute_write_sqldanger-raw-writeRuns one caller-written INSERT, UPDATE or DELETE. See Security before you enable it.

A query answers in TOON, which is a compact tabular text:

rows[2]{id,status}:

54,done 41,failed

truncated: false

truncated: true means a limit stopped the read, not that the query failed.

Structured writes

update and delete take a flat filter, never SQL. Every condition joins with AND; there is no or and no nesting. A disjunction is one call per branch, and that is the tighter bound: each call is pre-counted and limited on its own, while one or call would pool the blast radius of every branch into a single maxRows.

maxRows counts every row the write changes — rows removed by ON DELETE CASCADE and rows a trigger writes included. A delete with maxRows: 1 cannot quietly destroy a cascade subtree and report one row. A filter that matches too many rows is rejected *before* the write starts, and a write that turns out to exceed the limit is rolled back.

Every write tool takes a mandatory requestId. The same requestId returns the stored response of a committed write instead of applying it twice. Failures are not cached, so a retry after a failure is a real retry.

( back to top )

Permissions

One deployment has one token and one permission set. A permission is a property of the deployment, not of a user — there are no users, roles or ACLs. Separate trust levels use separate deployments, which keeps the boundary visible in the deployment configuration.

SQLITE_SIDECAR_PERMISSIONS=schema,read      # the default
PermissionRiskWhat it grants
schemaLowMetadata only.
readSensitiveIt can read all data in the database.
writeHigherConstrained data modification in all tables.
backupSensitiveIt can make database copies.
diagnosticsLow to moderateMetadata and health values.
danger-raw-writeHighArbitrary INSERT, UPDATE and DELETE SQL in all tables.

The name danger-raw-write is deliberately alarming. A neutral name would hide the cost.

[!WARNING]

A permission applies to every table in the database. There is no table allowlist and no column

allowlist. write does not protect one table from an agent that has write. If a table must stay

untouched, it belongs in a different database with a different sidecar.

Two rules the sidecar enforces at startup, so a mistake is a failed start and not a surprise later:

  • The read floor. write and danger-raw-write are only valid together with schema and read. A structured write validates names against the live schema, so an agent that cannot call schema would be guessing. The missing permissions are never added silently, because that would make SQLITE_SIDECAR_PERMISSIONS an untrue record of the deployment.
  • No unknown names. SQLITE_SIDECAR_PERMISSIONS=reed fails startup instead of quietly granting less than the operator believes.

No permission grants another. read does not imply write, and danger-raw-write is independent of write.

( back to top )

Configuration

Every value is an environment variable with the SQLITE_SIDECAR_ prefix. Startup fails when a value is absent or invalid, and it reports every problem at once. The sidecar does not start in a degraded state.

Required:

VariableMeaning
SQLITE_SIDECAR_DBPath of the SQLite file. It must exist.
SQLITE_SIDECAR_TOKENThe deployment bearer token. Supply it as a secret.

Optional, with defaults

VariableDefaultMeaning
SQLITE_SIDECAR_PERMISSIONSschema,readThe permission set.
SQLITE_SIDECAR_BACKUP_DIRnoneDestination directory. Required, and must be writable, when backup is on.
SQLITE_SIDECAR_MAX_ROWS1000Row limit of one query result.
SQLITE_SIDECAR_MAX_RESULT_BYTES4194304Byte limit of one query result.
SQLITE_SIDECAR_MAX_SQL_BYTES32768Longest accepted statement.
SQLITE_SIDECAR_QUERY_TIMEOUT_SECONDS10A longer query is interrupted inside SQLite.
SQLITE_SIDECAR_BUSY_TIMEOUT_SECONDS3How long to wait for another writer's lock.
SQLITE_SIDECAR_MAX_CONCURRENCY4Concurrent database operations.
SQLITE_SIDECAR_MAX_REQUESTS_PER_MINUTE120The request budget, one window for the process.
SQLITE_SIDECAR_MAX_WRITE_ROWS100Server-side cap on changed rows per write.
SQLITE_SIDECAR_MAX_WRITE_ROWS_PER_MINUTE500The write budget, one window for the process.

ASP.NET Core settings that matter: ASPNETCORE_URLS (the image sets http://0.0.0.0:8080) and ASPNETCORE_ENVIRONMENT. Outside Development the sidecar logs JSON, which is what a container log pipeline wants.

The effective write limit is min(the caller's maxRows, SQLITE_SIDECAR_MAX_WRITE_ROWS), so an agent can ask for less but never for more.

Paths
PathTokenRate limited
/db/mcprequiredyes
/healthnono

/health reports that the process is alive and nothing else. It never touches the database: a probe runs every few seconds, and an expensive probe would become a denial-of-service vector against the owning application. The checks that do need the file run once, at startup.

( back to top )

Deployment

[!CAUTION]

The proxy must not strip the `/db` prefix. /db/mcp is the whole public path: the sidecar

routes the same URL the agent calls. Both Kamal and Coolify strip a matched prefix *by default*,

and a stripped prefix produces a 404 that reads like a broken server. Every recipe below turns

stripping off.

Common to all of them: one replica, /data writable even for schema,read, and the container port never published to the internet — the reverse proxy is the only way in, and it is also what matches the Host header. The sidecar does no host filtering of its own.

Docker Compose

services:

app: image: my-app volumes:

  • sqlite-data:/data

sqlite-sidecar: image: ghcr.io/xakpc/sqlite-mcp-sidecar:latest deploy: replicas: 1 e

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요

PopNx에게 묻기