Supabase
MCP server for interacting with the Supabase platform
제작자가 쓴 설명(영어 원문)
Read-only SQL, MongoDB, Redis and Elasticsearch access, switchable mid-conversation.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
DB_URL, DB_PASSWORD, DB_PROFILES, DB_DEFAULT_PROFILE, DB_CONNECT_TIMEOUT_MS, DB_QUERY_TIMEOUT_MS, DB_LOG, DB_LOG_FILE, DB_LOG_DIR, DB_LOG_FORMAT, DB_LOG_PORT, DB_LOG_HISTORY, MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DATABASE비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"db-read-only": {
"command": "npx",
"args": [
"-y",
"@shibbirweb/mcp-db-read-only"
],
"env": {
"DB_URL": "your-value",
"DB_PASSWORD": "your-value",
"DB_PROFILES": "your-value",
"DB_DEFAULT_PROFILE": "your-value",
"DB_CONNECT_TIMEOUT_MS": "your-value",
"DB_QUERY_TIMEOUT_MS": "your-value",
"DB_LOG": "your-value",
"DB_LOG_FILE": "your-value",
"DB_LOG_DIR": "your-value",
"DB_LOG_FORMAT": "your-value",
"DB_LOG_PORT": "your-value",
"DB_LOG_HISTORY": "your-value",
"MYSQL_HOST": "your-value",
"MYSQL_USER": "your-value",
"MYSQL_PASSWORD": "your-value",
"MYSQL_DATABASE": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add db-read-only --env DB_URL=your-value --env DB_PASSWORD=your-value --env DB_PROFILES=your-value --env DB_DEFAULT_PROFILE=your-value --env DB_CONNECT_TIMEOUT_MS=your-value --env DB_QUERY_TIMEOUT_MS=your-value --env DB_LOG=your-value --env DB_LOG_FILE=your-value --env DB_LOG_DIR=your-value --env DB_LOG_FORMAT=your-value --env DB_LOG_PORT=your-value --env DB_LOG_HISTORY=your-value --env MYSQL_HOST=your-value --env MYSQL_USER=your-value --env MYSQL_PASSWORD=your-value --env MYSQL_DATABASE=your-value -- npx -y @shibbirweb/mcp-db-read-only실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"db-read-only": {
"command": "npx",
"args": [
"-y",
"@shibbirweb/mcp-db-read-only"
],
"env": {
"DB_URL": "your-value",
"DB_PASSWORD": "your-value",
"DB_PROFILES": "your-value",
"DB_DEFAULT_PROFILE": "your-value",
"DB_CONNECT_TIMEOUT_MS": "your-value",
"DB_QUERY_TIMEOUT_MS": "your-value",
"DB_LOG": "your-value",
"DB_LOG_FILE": "your-value",
"DB_LOG_DIR": "your-value",
"DB_LOG_FORMAT": "your-value",
"DB_LOG_PORT": "your-value",
"DB_LOG_HISTORY": "your-value",
"MYSQL_HOST": "your-value",
"MYSQL_USER": "your-value",
"MYSQL_PASSWORD": "your-value",
"MYSQL_DATABASE": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"db-read-only": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@shibbirweb/mcp-db-read-only"
],
"env": {
"DB_URL": "your-value",
"DB_PASSWORD": "your-value",
"DB_PROFILES": "your-value",
"DB_DEFAULT_PROFILE": "your-value",
"DB_CONNECT_TIMEOUT_MS": "your-value",
"DB_QUERY_TIMEOUT_MS": "your-value",
"DB_LOG": "your-value",
"DB_LOG_FILE": "your-value",
"DB_LOG_DIR": "your-value",
"DB_LOG_FORMAT": "your-value",
"DB_LOG_PORT": "your-value",
"DB_LOG_HISTORY": "your-value",
"MYSQL_HOST": "your-value",
"MYSQL_USER": "your-value",
"MYSQL_PASSWORD": "your-value",
"MYSQL_DATABASE": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
DB_URL envDB_DEFAULT_PROFILE envDB_CONNECT_TIMEOUT_MS envDB_QUERY_TIMEOUT_MS envDB_LOG envDB_LOG_FILE envDB_LOG_DIR envDB_LOG_FORMAT envDB_LOG_PORT envDB_LOG_HISTORY envMYSQL_HOST envMYSQL_USER envMYSQL_DATABASE env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 GitHub 계정 shibbirweb 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: DB_PASSWORD, DB_PROFILES, MYSQL_PASSWORD
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(1.1.0)은 43일 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js, Docker도 있어야 해요.
같은 카테고리에는: Supabase, MongoDB MCP Server, Elasticsearch MCP Server
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
MCP server for interacting with the Supabase platform
MongoDB Model Context Protocol Server
MCP server for interacting with Elasticsearch
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
Let your AI assistant look at your databases without being able to change them.
Point it at MySQL, PostgreSQL, SQLite, SQL Server, ClickHouse, MongoDB, Redis or Elasticsearch, then just ask questions in plain words: *"how many users signed up this week?"*, *"what's in the orders table?"*, *"which Redis keys hold sessions?"*. It can read anything you give it access to, and it cannot write, update or delete anything.
flowchart LR
Y["You"] -->|"ask in plain words"| AI["Your AI assistant"] AI -->|"tool call"| S["mcp-db-read-only"] S -->|"read-only query"| DB[("Your databases")] DB -->|"rows, documents, keys"| S
Works with Claude Desktop, Claude Code, and any other MCP client.
1. Have Node.js 22.13 or newer (node --version), or Docker.
2. Add the server to your client. For Claude Desktop, edit claude_desktop_config.json (Settings, Developer, Edit Config). For Claude Code, create .mcp.json in your project:
{
"mcpServers": { "databases": { "command": "npx", "args": ["-y", "@shibbirweb/mcp-db-read-only"], "env": { "DB_URL": "postgres://readonly:secret@localhost:5432/myapp" } } } }
Replace the DB_URL with your own database. The examples below show one for every kind.
3. Restart the client once, and ask away:
"What tables are in my database?"
"Show me the 5 newest orders."
"How many customers are in each country?"
That's it. You never need to restart again to change database; just ask the assistant to switch.
Each database has a URL format, then a real example to copy and change. Put the finished URL in DB_URL.
Replace each [PLACEHOLDER] with your own value:
| Placeholder | What to put there |
|---|---|
[USER] | The database user name |
[PASSWORD] | That user's password |
[HOST] | The server's address, e.g. localhost or db.example.com |
[PORT] | The server's port. Optional: leave out :[PORT] to use the usual one shown for each database |
[DATABASE] | The database name. Optional for most: leave it out and ask the assistant to list them |
No password? Leave out :[PASSWORD]. No user either? Leave out [USER]:[PASSWORD]@ entirely.
Format (usual port 3306):
mysql://[USER]:[PASSWORD]@[HOST]:[PORT]/[DATABASE]
mariadb://[USER]:[PASSWORD]@[HOST]:[PORT]/[DATABASE]
Example:
mysql://readonly:secret@localhost:3306/shop
"List the tables in shop." · "Describe the orders table." · "What were last month's top 10 products by revenue?"
Format (usual port 5432). Add ?sslmode=require to use TLS:
postgres://[USER]:[PASSWORD]@[HOST]:[PORT]/[DATABASE]
Example:
postgres://readonly:secret@localhost:5432/myapp
"Which tables are in the reporting schema?" · "Show the foreign keys on invoices." · "Count signups per day this week."
Format (three slashes, then the full path to the file):
sqlite:///[PATH_TO_FILE]
Example:
sqlite:///Users/me/data/app.db
The file is opened read-only.
"What tables does this file have?" · "Show 10 rows from notes."
Format (usual port 1433). Add ?trustServerCertificate=true for a local server with a self-signed certificate:
mssql://[USER]:[PASSWORD]@[HOST]:[PORT]/[DATABASE]
Example:
mssql://readonly:secret@localhost:1433/Sales?trustServerCertificate=true
"List the tables in Sales." · "Show the top 5 customers by order total." (SQL Server uses
TOP 5, notLIMIT; the assistant knows.)
Format (usual port 8123, or 8443 with clickhouse+https):
clickhouse://[USER]:[PASSWORD]@[HOST]:[PORT]/[DATABASE]
clickhouse+https://[USER]:[PASSWORD]@[HOST]:[PORT]/[DATABASE]
Example:
clickhouse://reader:secret@localhost:8123/analytics
"How many events per hour did we have yesterday?" · "What is the sorting key of the events table?"
Format (usual port 27017). Use mongodb+srv for MongoDB Atlas, with no port:
mongodb://[USER]:[PASSWORD]@[HOST]:[PORT]/[DATABASE]?authSource=admin
mongodb+srv://[USER]:[PASSWORD]@[CLUSTER_HOST]/[DATABASE]
Example:
mongodb://reader:secret@localhost:27017/myapp?authSource=admin
"What collections are in myapp?" · "What fields do documents in users have?" · "Find the 5 most recent orders over 100." · "Count users by country."
Format (usual port 6379). [DB_NUMBER] is the database number, 0 if left out; rediss means TLS:
redis://[USER]:[PASSWORD]@[HOST]:[PORT]/[DB_NUMBER]
rediss://[USER]:[PASSWORD]@[HOST]:[PORT]/[DB_NUMBER]
Example:
redis://localhost:6379/0
"Which keys start with session:?" · "What's inside user:42?" · "How long until cache:home expires?"
Format (usual port 9200, no database). Add +https for TLS, or ?api_key=[API_KEY] instead of a user and password:
elasticsearch://[USER]:[PASSWORD]@[HOST]:[PORT]
opensearch://[USER]:[PASSWORD]@[HOST]:[PORT]
Example:
elasticsearch+https://elastic:secret@search.example.com:9200
"What indices do we have?" · "Find error logs from the last hour." · "How many documents are in logs-2026.09?"
Detailed notes for every database, including how to create a read-only account, are in the Databases guide.
Give each one a name with DB_PROFILES, and switch by asking ("switch to legacy", "use the cache"):
"env": {
"DB_PROFILES": "{\"app\": \"postgres://readonly@localhost/app\", \"legacy\": \"mysql://readonly@localhost/shop\", \"cache\": \"redis://localhost:6379/0\"}", "DB_DEFAULT_PROFILE": "app" }
You can also connect to a database you didn't list, mid-conversation: *"connect to postgres://readonly@10.0.0.5/reports"*.
Password with special characters (@, /, #)? Give it separately instead of inside the URL: DB_PASSWORD next to DB_URL, or {"url": "...", "password": "..."} inside DB_PROFILES.
Nothing to install but Docker:
{
"mcpServers": { "databases": { "command": "docker", "args": [ "run", "-i", "--rm", "--add-host", "host.docker.internal:host-gateway", "-e", "DB_URL=postgres://readonly:secret@host.docker.internal:5432/myapp", "shibbirweb/mcp-db-read-only" ] } } }
Inside Docker, use host.docker.internal instead of localhost to reach a database on your own computer. For SQLite, mount the folder: add "-v", "/Users/me/data:/data:ro" and use sqlite:///data/app.db.
Turn on logging to keep a record of every query the assistant runs, and see them live in your browser.
flowchart LR
S["mcp-db-read-only (in your AI client)"] -->|"one file per call"| F[("Log folder DB_LOG_DIR")] F --> V["viewer command (in a terminal)"] V -->|"live"| B["Your browser"]
1. Save logs to a folder by adding this to the server's env:
"DB_LOG_DIR": "/Users/me/Library/Logs/mcp-db-read-only"
Each query is saved as its own file, one folder per day. Nothing is ever deleted automatically.
2. Open the viewer in a terminal, whenever you want to watch:
npx -y @shibbirweb/mcp-db-read-only viewer --dir /Users/me/Library/Logs/mcp-db-read-only --port 4800
Then open http://127.0.0.1:4800/. You'll see every call: what was asked, the exact query sent, how long it took, and the result. It updates live, shows 20 per page (10, 20, 30 or 50 to choose from), and lets you filter and copy anything. Press Ctrl+C to close it.
The viewer has no password. Anyone who can reach that port on your network can read the log while it runs.
Passwords are never written to the logs. More in the Logging guide.
Yes, in two independent ways, so a mistake in one is caught by the other:
flowchart LR
Q["The assistant writes a query"] --> C{"1. Checked by this server: only a read?"} C -->|"no"| R1["Refused, with the reason"] C -->|"yes"| D["2. Sent to the database in read-only mode"] D -->|"a read"| A["The answer"] D -->|"a write that slipped through"| R2["Refused by the database"]
SELECT and friends for SQL, read commands for Redis, searches for Elasticsearch, and no $out or $merge for MongoDB.The best protection is still a read-only database account. Then nothing can write through it, whatever happens. The Databases guide shows how to create one for each database.
Keep in mind that the assistant can read whatever the account can see, and what it reads becomes part of your conversation with the AI provider. Only connect accounts that can see data you are happy to share. See PRIVACY.md.
All optional. Set them in the server's env.
| Setting | What it does |
|---|---|
DB_URL | The database to connect to at startup |
DB_PASSWORD | The password for DB_URL, if you'd rather keep it out of the URL |
DB_PROFILES | Several named databases, as JSON, to switch between |
DB_DEFAULT_PROFILE | Which of those to start with |
DB_QUERY_TIMEOUT_MS | Stop a query after this long (default 30000, that is 30 seconds) |
DB_CONNECT_TIMEOUT_MS | Give up connecting after this long (default 10000) |
DB_LOG_DIR | Save every call as a file in this folder |
DB_LOG=true | Write every call to the client's log instead |
DB_LOG_FILE | Write every call to one file instead |
DB_LOG_FORMAT | pretty (default) or json, for DB_LOG and DB_LOG_FILE |
DB_LOG_PORT | Run the viewer inside the server itself (the separate viewer command is usually better) |
Coming from mcp-mysql-read-only? Its MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DATABASE and MYSQL_PROFILES settings st
앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요