whodb
БесплатноБез исполняемых скриптовНе проверенWork with WhoDB platform hosts and project resources via MCP, including multiple environments, or query databases directly in database-only MCP mode.
от clidey★ 5 073 звезды на GitHubОб этом скилле
WhoDB
Query databases, explore schemas, analyze data quality, and get optimization recommendations through the WhoDB MCP server.
Platform MCP (default)
whodb mcp serve exposes hosted platform tools. Sign in to each required host with
whodb login --host <url>. Start with whodb_platform_hosts to discover saved
hosts and accounts, then whodb_platform_orgs with workspace: {host} and
whodb_platform_projects with workspace: {host, org}.
When the user wants the whole conversation on one host (for example UAT or
production), call whodb_platform_session_use once with
workspace: {host, org, project}. It verifies the login, resolves canonical IDs,
and becomes the default for later calls in this MCP session only. It is never
saved to disk, so other chats and terminals keep their own defaults. Confirm
with whodb_platform_status, which reports session_scope. Use
whodb_platform_session_clear to drop it.
For one-off calls to another host or project, pass an explicit
workspace: {host, org, project} on that call. Resolve it first with
whodb_platform_workspace_resolve if unsure. Per-call targets, including
parallel calls, never change the session default or saved defaults. Check the
returned scope. Resolution order for an omitted workspace: session default,
then process overrides, then saved defaults. Do not run whodb use to switch
hosts for one chat; it rewrites the saved default for every session. Read
whodb://platform/schema for operations and payloads.
To answer a question about ontology data, call whodb_platform_ontology_describe
first to learn entity and property names, then whodb_platform_ontology_aggregate
for exact counts, sums and group-bys, or whodb_platform_ontology_query for
filtered rows, search and joins (bounded scan, max 5000 rows). Drill into rows
with whodb_platform_ontology_rows. For bulk inserts use
whodb_platform_add_ontology_records with an idempotency_key. Preview behavior
actions with whodb_platform_ontology_action_preview before executing them.
Writes return a preview bound to its host, account, organization, and project.
Confirm only after approval of that exact preview. Changing defaults does not
redirect a pending confirmation. Ask for whodb login --host <url> when a host
needs authentication; no separate login is needed per project.
Guided setup
This skill is optional. WhoDB MCP supplies its own instructions, tool schemas,
and setup guidance. Prefer live MCP discovery if this skill differs from it.
Keep one entry: command whodb, args ["mcp", "serve"].
Use whodb_mcp_setup with action: "inspect" to discover settings, targets,
choices, and the settings schema. Ask the user what they want, then use
action: "preview" with a patch. Show the proposed settings and obtain approval
before action: "apply" with the returned confirmation_token and approved: true.
Do not send a patch with apply. Tokens expire after five minutes; only the latest
preview is valid. Restart MCP after changed settings, then use action: "verify".
Verification checks active settings. Omitted patch fields are preserved.
No shell access is required for this flow. Browser sign-in and credential entry
remain user actions; never request credentials in chat. If setup tools are
filtered out, ask the user to run whodb setup. CLI agents can alternatively use
whodb setup inspect, validate, apply --yes, and verify.
Inspect whodb://mcp/configuration for active modules and restrictions.
Platform calls target workspace; database calls target connection.
Database-only MCP
Enable the database module through whodb setup; both modules can run in the same whodb mcp serve connection. --database remains an advanced process override.
This connects directly to databases without a WhoDB platform server; databases
can be remote. The terminal UI is available with whodb --tui.
Database-only MCP setup
If the WhoDB MCP server is not connected, set it up:
Add the MCP server (npx, no install needed):
codex mcp add whodb -- npx -y whodb mcp serveOr if
whodbis installed locally:codex mcp add whodb -- whodb mcp serveConfigure database connections via environment variables:
export WHODB_POSTGRES='[{"alias":"prod","host":"localhost","user":"user","password":"pass","database":"mydb","port":"5432"}]' export WHODB_MYSQL_1='{"alias":"dev","host":"localhost","user":"user","password":"pass","database":"devdb","port":"3306"}'
After adding the MCP server, restart Codex.
Available MCP Tools
whodb_connections
List all available database connections.
No parameters required.
Returns: connection names with type and source (env/saved).
whodb_schemas
List schemas in a database.
Parameters:
- connection: Connection name (optional if only one exists)
whodb_tables
List tables in a schema.
Parameters:
- connection: Connection name (optional)
-
Установить whodb в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл whodb?
Work with WhoDB platform hosts and project resources via MCP, including multiple environments, or query databases directly in database-only MCP mode.
Как установить скилл whodb?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл whodb запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic