neon-mcp
Use when working with Neon Postgres, Neon Auth, Neon Data API, database schemas, migrations, query tuning, connection strings, branches, slow queries, or SQL execution.
- License 许可
- MIT
- 所属仓库
- actus7/cifrashub
- 最近更新
- 2026-11-14
- Stars
- ★ 3
- Forks
- 2
01 前言 Front Matter
- name
- neon-mcp
- description
- Use when working with Neon Postgres, Neon Auth, Neon Data API, database schemas, migrations, query tuning, connection strings, branches, slow queries, or SQL execution.
03 SKILL.md 正文
Neon MCP
Use this skill for any Neon database, auth, Data API, branch, migration, or SQL task.
Read-only first
- Prefer read-only inspection tools before writes: list projects, describe project/branch/table, list tables, explain SQL, list slow queries.
- Use
databaseNameexplicitly when known; default toneondbonly when it is not specified. - For table details use
describe_table_schema; for table names useget_database_tables; for object trees usedescribe_branch.
Migration workflow
- Prefer temporary-branch workflows for schema changes.
- After
prepare_database_migration, verify on the temporary branch withrun_sqlbefore asking to apply. - Ask for explicit approval before
complete_database_migration. - Include migration ID, temporary branch name, temporary branch ID, and migration result when reporting a prepared migration.
- For schema diffs, review tables/views/indexes/constraints/policies/extensions/schemas/sequences/roles/privileges and propose zero-downtime SQL.
Query tuning workflow
- Use
prepare_query_tuningfor performance tuning. - Apply suggested DDL only to the temporary branch first, then rerun
explain_sql_statementon that branch. - Complete or discard with
complete_query_tuning; do not use database migration tools for query tuning changes.
SQL safety
- Never run destructive SQL autonomously: DROP, DELETE, TRUNCATE, or broad UPDATE.
- Ask approval before schema-changing SQL or destructive branch/project operations.
- Prefer idempotent SQL with
IF EXISTS/IF NOT EXISTSwhere appropriate. - Prefer zero-downtime patterns: concurrent indexes, NOT VALID constraints followed by validation, nullable-first column additions for volatile defaults.
Secrets
- Do not print connection strings, API tokens, OAuth secrets, SMTP passwords, or auth client secrets.
- If config contains literal secrets, recommend replacing them with
{env:VAR}in opencode config.
04 同仓库更多 Skills
serena-mcp
暂无简介
playwright-mcp
暂无简介
mcp-tooling
Use when choosing between MCP/tools in this project, especially Serena, ai-context PREVC, Context7 docs, Playwright browser automation, Neon database, bash, read/edit/search tools, or workflow setup.
context7-mcp
Use when fetching current external library documentation with Context7, including Next.js, React, Drizzle, Neon SDKs, Tailwind, shadcn, Zustand, or other package APIs.
browser-mcp
Use when validating UI behavior with Playwright MCP, browser automation, screenshots, accessibility snapshots, console logs, network requests, navigation, forms, or visual checks.
ai-context-mcp
Use when working with ai-context MCP, .context scaffolding, PREVC workflow, plans, agent orchestration, semantic context maps, skills, docs, or context sync.