Supabase
MCP server for interacting with the Supabase platform
제작자가 쓴 설명(영어 원문)
Read-only MCP server for exposing database schema metadata without row data.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
DATABASE_URL, DATABASE_SCHEMA, ALLOWED_TABLES, SECURE_SCHEMA_ENV, FASTMCP_CHECK_FOR_UPDATES, FASTMCP_SHOW_SERVER_BANNER비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"secure-schema": {
"command": "uvx",
"args": [
"mcp-secure-schema"
],
"env": {
"DATABASE_URL": "your-value",
"DATABASE_SCHEMA": "your-value",
"ALLOWED_TABLES": "your-value",
"SECURE_SCHEMA_ENV": "your-value",
"FASTMCP_CHECK_FOR_UPDATES": "your-value",
"FASTMCP_SHOW_SERVER_BANNER": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add secure-schema --env DATABASE_URL=your-value --env DATABASE_SCHEMA=your-value --env ALLOWED_TABLES=your-value --env SECURE_SCHEMA_ENV=your-value --env FASTMCP_CHECK_FOR_UPDATES=your-value --env FASTMCP_SHOW_SERVER_BANNER=your-value -- uvx mcp-secure-schema실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"secure-schema": {
"command": "uvx",
"args": [
"mcp-secure-schema"
],
"env": {
"DATABASE_URL": "your-value",
"DATABASE_SCHEMA": "your-value",
"ALLOWED_TABLES": "your-value",
"SECURE_SCHEMA_ENV": "your-value",
"FASTMCP_CHECK_FOR_UPDATES": "your-value",
"FASTMCP_SHOW_SERVER_BANNER": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"secure-schema": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-secure-schema"
],
"env": {
"DATABASE_URL": "your-value",
"DATABASE_SCHEMA": "your-value",
"ALLOWED_TABLES": "your-value",
"SECURE_SCHEMA_ENV": "your-value",
"FASTMCP_CHECK_FOR_UPDATES": "your-value",
"FASTMCP_SHOW_SERVER_BANNER": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
DATABASE_SCHEMA envALLOWED_TABLES envSECURE_SCHEMA_ENV envFASTMCP_CHECK_FOR_UPDATES envFASTMCP_SHOW_SERVER_BANNER env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 6일 점검
레지스트리 이름이 GitHub 계정 Siddharth-coder13 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: DATABASE_URL
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(1.0.1)은 4개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Python (uv)도 있어야 해요.
같은 카테고리에는: 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, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
A read-only MCP server that gives AI coding tools database structure without exposing row data. It returns table and view names, columns, types, keys, and relationships in a compact format designed to reduce LLM token usage.
| Exposed | Not exposed |
|---|---|
| Table and view names | Row values or query results |
| Column names and SQL types | Row counts or samples |
| Primary and unique keys | Database credentials |
| Foreign-key relationships | Write or query tools |
Schema metadata can still be sensitive. A column name such as ssn reveals information even without values, so production deployments should always use the table allowlist and a dedicated database account.
uvxSQLite support uses Python's built-in driver. PostgreSQL and MySQL drivers are included. Other SQLAlchemy dialects are not tested or bundled in v1.
The recommended setup uses uvx to download and run the published Python package in an isolated environment. You do not need to clone this repository or start the server separately. Your IDE launches it over stdio when needed.
Add this server to your Cursor MCP configuration:
{
"mcpServers": { "secure-schema": { "command": "uvx", "args": ["mcp-secure-schema"], "env": { "DATABASE_URL": "postgresql+psycopg2://schema_reader:password@localhost:5432/appdb", "DATABASE_SCHEMA": "public", "ALLOWED_TABLES": "users,orders,products", "SECURE_SCHEMA_ENV": "production", "FASTMCP_CHECK_FOR_UPDATES": "off", "FASTMCP_SHOW_SERVER_BANNER": "false" } } } }
Restart or reload Cursor after changing its MCP configuration.
Add this to ~/.codex/config.toml or a trusted project's .codex/config.toml:
[mcp_servers.secure-schema]
command = "uvx" args = ["mcp-secure-schema"] enabled_tools = ["schema_overview", "list_tables", "inspect_table"] startup_timeout_sec = 30 tool_timeout_sec = 30
[mcp_servers.secure-schema.env] DATABASE_URL = "postgresql+psycopg2://schema_reader:password@localhost:5432/appdb" DATABASE_SCHEMA = "public" ALLOWED_TABLES = "users,orders,products" SECURE_SCHEMA_ENV = "production" FASTMCP_CHECK_FOR_UPDATES = "off" FASTMCP_SHOW_SERVER_BANNER = "false"
If you prefer a persistent installation:
pipx install mcp-secure-schema
Then use "command": "mcp-secure-schema" with an empty args list in the IDE configuration.
Secure Schema MCP accepts SQLAlchemy connection URLs:
# SQLite (absolute path)
sqlite:////Users/me/project/app.db
postgresql+psycopg2://user:password@localhost:5432/appdb
postgresql+psycopg2://user:password@db.example.com:5432/appdb?sslmode=verify-full&sslrootcert=/path/to/ca.pem
mysql+pymysql://user:password@localhost:3306/appdb
Percent-encode special characters in URL usernames and passwords. For example, @ in a password becomes %40.
Local and remote databases use the same MCP configuration. For remote databases, the machine running the IDE must also have working DNS, network access, firewall permission, and valid TLS settings.
| Variable | Required | Description |
|---|---|---|
DATABASE_URL | Yes | SQLAlchemy connection URL. Treated as a secret by the registry manifest. |
DATABASE_SCHEMA | No | Default schema or catalog namespace. Recommended for PostgreSQL. Locked against tool overrides in production. |
ALLOWED_TABLES | Production | Comma-separated, case-sensitive table and view allowlist. Production mode refuses to start without it. |
SECURE_SCHEMA_ENV | No | Set to production or prod for strict startup validation. Defaults to development. |
FASTMCP_CHECK_FOR_UPDATES | No | Set to off for predictable stdio startup. |
FASTMCP_SHOW_SERVER_BANNER | No | Set to false to suppress the startup banner. |
DATABASE_SCHEMA selects the default namespace. Resolution works as follows:
DATABASE_SCHEMA is a security boundary and tool arguments cannot override it.schema argument overrides DATABASE_SCHEMA.For strict production access to multiple schemas, run one MCP server entry per schema with its own DATABASE_SCHEMA and ALLOWED_TABLES values. The table allowlist contains unqualified names, not schema.table values.
schema_overview: compact map of permitted tables, views, primary keys, and foreign-key relationshipslist_tables: permitted table and view inventoryinspect_table: columns, SQL types, nullability, primary keys, unique constraints, and foreign keys for one entityEvery tool defaults to format="compact" for lower token usage:
tables:orders,users | pk:orders(order_id);users(user_id) | fk:orders.user_id->users.user_id
Pass format="markdown" when a human-readable table is more useful.
DATABASE_URL from an OS keychain or secret manager.Example PostgreSQL role:
CREATE ROLE schema_reader LOGIN PASSWORD 'use-a-secret-manager';
GRANT CONNECT ON DATABASE appdb TO schema_reader; GRANT USAGE ON SCHEMA public TO schema_reader;
Metadata visibility varies by PostgreSQL provider and database policy. Grant only the additional catalog or object privileges required for inspection; avoid granting row SELECT unless your environment requires it.
The server exits immediately
Check the IDE's MCP logs. DATABASE_URL is mandatory, and production mode also requires a non-empty ALLOWED_TABLES value.
No tables or views are discovered
Confirm DATABASE_SCHEMA, exact table-name casing, database permissions, and whether the allowlist contains the expected names.
The connection URL fails with a valid password
Percent-encode reserved URL characters or use a secret-injection wrapper. Do not paste real credentials into issues or logs.
`uvx` is not found
Install uv using its official instructions, or install the package with pipx and use mcp-secure-schema as the command.
Starting the command appears to hang
That is normal for a stdio MCP server. It waits for an MCP client on standard input and is normally started by the IDE.
Clone the repository only when developing or testing the server:
git clone https://github.com/Siddharth-coder13/secure_schema_mcp.git
cd secure_schema_mcp uv sync --extra dev uv run python tests/demo_database.py DATABASE_URL="sqlite:///$PWD/test_schema.db" uv run mcp-secure-schema
Run the test suite:
uv run pytest
Run the opt-in PostgreSQL integration test against a disposable database. The test creates and removes a randomly named schema:
POSTGRES_TEST_DATABASE_URL='postgresql+psycopg2://user@localhost:5432/testdb' \
uv run pytest tests/test_postgres_smoke.py -v
The tests verify row-data isolation, allowlist behavior, sanitized errors, compact output, relationships, schema selection, and the locked production namespace.
Maintainers should update the matching versions in pyproject.toml and server.json, run the complete SQLite and PostgreSQL suites, build with uv build --no-sources, verify installation from the wheel, publish to PyPI, and only then publish server.json to the MCP Registry.
Licensed under the Apache License 2.0. See LICENSE and NOTICE.