Supabase
MCP server for interacting with the Supabase platform
제작자가 쓴 설명(영어 원문)
Secure access to DBHawk datasources: browse schemas, run governed queries, DBHawk AI text-to-SQL.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
DBHAWK_BASE_URL, DBHAWK_TOKEN, DBHAWK_DEFAULT_DATASOURCE비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"dbhawk": {
"command": "npx",
"args": [
"-y",
"@dbhawk/mcp"
],
"env": {
"DBHAWK_BASE_URL": "your-value",
"DBHAWK_TOKEN": "your-value",
"DBHAWK_DEFAULT_DATASOURCE": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add dbhawk --env DBHAWK_BASE_URL=your-value --env DBHAWK_TOKEN=your-value --env DBHAWK_DEFAULT_DATASOURCE=your-value -- npx -y @dbhawk/mcp실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"dbhawk": {
"command": "npx",
"args": [
"-y",
"@dbhawk/mcp"
],
"env": {
"DBHAWK_BASE_URL": "your-value",
"DBHAWK_TOKEN": "your-value",
"DBHAWK_DEFAULT_DATASOURCE": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"dbhawk": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@dbhawk/mcp"
],
"env": {
"DBHAWK_BASE_URL": "your-value",
"DBHAWK_TOKEN": "your-value",
"DBHAWK_DEFAULT_DATASOURCE": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
DBHAWK_DEFAULT_DATASOURCE env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 6일 점검
레지스트리 이름이 도메인 datasparc.com 기준으로 확인되었어요(레지스트리가 도메인 소유를 확인해요)
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: DBHAWK_BASE_URL, DBHAWK_TOKEN
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.4.2)은 20일 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
같은 카테고리에는: 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, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
Gives an AI assistant access to DBHawk: list the datasources a user is assigned, browse schema/tables/columns, run queries (with the user's access control and column masking applied), and use DBHawk AI text-to-SQL / optimize / format. Data or schema changes are possible only when the user's MCP tier allows them — the default tier is read-only (see Reads, writes and MCP tiers).
It's a thin bridge over the existing DBHawk REST surface at /api/v2/mcp/**. DBHawk decides what runs: every statement is classified and checked against the tier of the user's groups, whatever role the token owner has.
Sign in, or a personal token. Leave DBHAWK_TOKEN empty and the server signs in to DBHawk through the browser on the first tool call: the DBHawk login page opens (password, LDAP, 2FA or SSO - whatever your DBHawk offers), you approve the access once, and the server keeps a refresh token in your user profile for the next start (%APPDATA%\dbhawk-mcp on Windows, ~/Library/Application Support/dbhawk-mcp on macOS, ~/.config/dbhawk-mcp on Linux). This needs DBHawk 7.0.1 with the MCP connector; what you may do is decided by your MCP tier, exactly as with a token. See UPGRADE-7.1.0.md.
With a personal token, auth is two steps. DBHAWK_TOKEN is a personal token (dbh_ . ), not a JWT — the MCP endpoints won't accept it directly. On its first call the server exchanges it for a short-lived JWT at POST /api/v2/auth/token/exchange (sending the personal token in the X-API-Token header), caches that JWT, and sends it as the Bearer for every /api/v2/mcp/** call. Shortly before the JWT's exp the server exchanges a fresh one up front; if a call still gets a 401 it re-exchanges and retries once — transparent to you.
dbhawk-mcp-plugin/ <- this folder = a Claude Code "marketplace" (push it to git)
├── .claude-plugin/marketplace.json └── dbhawk/ <- the actual plugin (installed by users) ├── .claude-plugin/plugin.json ├── .mcp.json <- declares the "dbhawk" stdio MCP server └── mcp-server/ ├── index.js <- source ├── package.json <- build tooling (maintainers only) └── dist/dbhawk-mcp.mjs <- COMMITTED self-contained bundle (what users run; no npm install)
The bundle in dist/ inlines every dependency, so a bare `git clone` runs with zero install — that's what makes /plugin install work.
Once this repo is on GitHub (see *Publish* below), point Claude Code at it and install:
/plugin marketplace add datasparc/dbhawk-mcp-plugin
/plugin install dbhawk@dbhawk-marketplace
dbhawk is the plugin name, dbhawk-marketplace is the marketplace name (from marketplace.json). Then set the connection (see *Configure*) and check the tools are live with /mcp.
Prefer to try it without a git host? Load the local folder for one session:
claude --plugin-dir ./dbhawk-mcp-plugin/dbhawk
.mcpb) — recommendedClaude Desktop installs this as a Desktop Extension with a proper GUI settings form (no JSON editing). It's the same MCP server, packaged as an .mcpb bundle.
dbhawk- .mcpb from the Releases page..mcpb onto the Extensions window).Claude Desktop does not auto-update file-installed extensions: to upgrade, download the newer .mcpb and install it again. This is independent of the Claude Code plugin — you don't need the marketplace plugin installed.
Prefer to wire it by hand instead of the .mcpb? Point Desktop at the bundle with an absolute path. Edit claude_desktop_config.json (Windows: %APPDATA%\Claude\claude_desktop_config.json, macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": { "dbhawk": { "command": "C:\\Program Files\\nodejs\\node.exe", "args": ["C:\\...\\dbhawk-mcp-plugin\\dbhawk\\mcp-server\\dist\\dbhawk-mcp.mjs"], "env": { "DBHAWK_BASE_URL": "https://demo.dbhawk.example.com", "DBHAWK_TOKEN": "PASTE_MCP_TOKEN_HERE", "DBHAWK_DEFAULT_DATASOURCE": "" } } } }
Restart Claude Desktop fully (including the tray icon).
The server needs three values (the token owner needs ACCESS_TO_DATA):
| Setting | Required | Meaning |
|---|---|---|
Base URL (DBHAWK_BASE_URL) | yes | Base URL of DBHawk, e.g. https://demo.dbhawk.example.com (no trailing /api) |
API Token (DBHAWK_TOKEN) | no | Empty: sign in through the browser on first use (DBHawk 7.0.1+). Otherwise an MCP-scoped personal token (dbh_…): DBHawk → User Profile → API Token. Exchanged for a JWT at runtime — paste the personal token as-is, not a JWT |
Default Datasource (DBHAWK_DEFAULT_DATASOURCE) | no | Datasource used when a tool call omits datasource |
The plugin declares these as userConfig fields in dbhawk/.claude-plugin/plugin.json, so Claude Code prompts for them when you enable the plugin — the token field is sensitive, so it's masked on entry and stored in secure storage (OS keychain / ~/.claude/.credentials.json), never in settings.json or git. dbhawk/.mcp.json wires them in via ${user_config.dbhawk_token} etc.
To re-enter or change them later, re-enable the plugin, or set them non-interactively:
claude plugin install dbhawk@dbhawk-marketplace \
--config dbhawk_base_url=https://demo.dbhawk.example.com \ --config dbhawk_token=dbh_... \ --config dbhawk_default_datasource=
Desktop doesn't understand plugins or userConfig — pass the three values as env in the claude_desktop_config.json block shown above.
| Tool | DBHawk endpoint |
|---|---|
list_datasources | GET /datasources |
get_datasource | GET /datasources/{ds} |
list_catalogs | GET /datasources/{ds}/catalogs (MSSQL / Snowflake; empty for DBs with no catalog level) |
list_schemas | GET /datasources/{ds}/schemas |
list_objects | GET /datasources/{ds}/schemas/{schema}/objects |
list_columns | GET /datasources/{ds}/schemas/{schema}/objects/{object}/columns |
get_permissions | GET /permissions (the user's MCP tier(s), allowed operations, row cap, confirmations) |
run_query | POST /datasources/{ds}/query with readOnly: true (reads only, even if the tier allows writes; row-capped 200/5000) |
explain_plan | POST /datasources/{ds}/explain (execution plan built and read on one connection; the statement is never executed; needs explain_plan in the tier) |
list_sessions | GET /datasources/{ds}/sessions (active database sessions; needs active_sessions) |
kill_session | POST /datasources/{ds}/sessions/{id}/kill (ends one listed session; destructive, confirm flow; needs kill_session) |
execute_statement | POST /datasources/{ds}/query (data / schema change, only if the MCP tier allows it; confirm flow) |
text_to_sql | POST /datasources/{ds}/ai/ask |
optimize_sql | POST /datasources/{ds}/ai/optimize |
format_sql | POST /format-query |
list_jobs | GET /jobs (your own scheduled jobs; needs view_jobs) |
get_job | GET /jobs/{id} (SQL, schedule, output, delivery; needs view_jobs) |
list_job_executions | GET /jobs/{id}/executions (latest runs with the end of their logs; needs view_jobs) |
explain_cron | POST /jobs/cron/explain (validates and describes a Quartz cron expression) |
create_job | POST /jobs (export job of ONE statement, results to your File Manager or by e-mail - delivery, emailTo, recipients in DBHawk's Allowed Domains; needs manage_jobs + the statement's operations; confirm flow, always when it e-mails anyone but you) |
update_job | PUT /jobs/{id} (fields left out keep their value; delivery switches between File Manager and e-mail; confirm flow) |
delete_job | POST /jobs/{id}/delete (confirm flow; needs manage_jobs) |
pause_job / resume_job | POST /jobs/{id}/pause · /resume (resume re-checks the job's SQL against the tier; confirm flow) |
run_job / interrupt_job | POST /jobs/{id}/run · /interrupt (needs run_jobs; run re-checks the job's SQL; confirm flow) |
The job tools need a DBHawk server with the MCP job scheduler (migration 87 adds view_jobs, manage_jobs and run_jobs, granted to the *Destructive / admin* tier only) and the Job Scheduler license.
The job tools are interactive where the client allows it, but always in plain text:
ui://dbhawk/jobs resource, and no tool carries _meta.ui.resourceUri. A client that shows MCP Apps is asked in a form like any other. To bring it back, uncomment the marked blocks in mcp-server/index.js.create_job asks you for whatever the model left out (datasource, name, SQL, schedule, format, delivery). The schedule and the output are never taken from the model unseen: when it brings a valid cron, a format and a delivery, you get one question instead ("Schedule ... Result ... Delivery ... Is that right?"), and clearing the box opens the whole form on what it proposed. update_job with only a job id opens the job in a form, and a call your MCP tier wants confirmed asks you in a form. Declining changes nothing.create_job is filled in with you in the chat, one question at a time - DBHawk answers with the next question (datasource, name, SQL, schedule, format, delivery) instead of an error, and the assistant puts it to you and calls the tool again with your answer. Each is asked only where the model has not been told it; the schedule, the format and the delivery are never taken from it unseen - where it has all three, they go to you as one question ("Is that right?"), and if you want one of them changed the assistant calls again without it and DBHawk asks you for it. A cron DBHawk cannot read is asked again with the reason, and the confirmation your tier wants is still asked before anything is created.mcp-server/ui/jobs.html stays in the repository (a copy of DBHawk's own src/main/resources/mcp/ui/jobs.html) but is no longer bundled or served.
What a user may do is set in DBHawk, per user group, by its MCP tier (Admin → MCP Management → MCP Tiers). The default tier is read-only; higher tiers add EXPLAIN, DML (INSERT / UPDATE / DELETE / MERGE), DDL and admin operations. get_permissions tells the model what its tier allows.
Reads and writes are separate tools on purpose. run_query is annotated read-only (readOnlyHint), and DBHawk refuses a write sent through it even when the tier allows one. execute_statement is annotated destructive (destructiveHint), so MCP clients such as Claude ask the user before each call - keep it that way, do not "always allow" it. When the tier also asks for confirmation, DBHawk answers the first call with `{ confirmationRequir
앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요