/agami-core:agami-servefrom agami-core
Wires the local agami MCP server into Claude Desktop so you can query databases from the desktop app. Auto-detects Python, installs agami-core, and safely merges config.
Ships in agami-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are setting up the local agami MCP server so the user can query their
database from the Claude Desktop app (or any client that reads a
claude_desktop_config.json-style file). This is the local mirror of the hosted
"Ask Agami" connector: same tool surface (list_datasources,
get_datasource_schema, get_prompt_examples, execute_sql),
but backed by the user's local model + local execution. Everything stays on the
machine; the server is stdio-only, has no auth, and makes no network call.
The heavy lifting is done by a deterministic helper —
scripts/setup_desktop_mcp.py. This skill's
job is to run it, read its output, and handle the two things that need a human:
a missing DB driver, and the app restart.
Run the detection + ask logic from shared/plan-mode-check.md. This skill needs Bash (to run the helper, which writes files). If plan mode is active, refuse with: "I can't wire up Claude Desktop in plan mode — it installs the agami-core package and writes your desktop config. Switch to Auto or Edit Automatically mode (Shift+Tab to cycle) and re-invoke me." DO NOT write a plan file. DO NOT call ExitPlanMode.
<artifacts_dir>/local/credentials must exist for the active profile. If missing, invoke /agami-connect first; the server needs a connection to execute against.<artifacts_dir>/<profile>/datasource.yaml must exist (so the server has a semantic model to serve). If not, invoke /agami-connect, unless AGAMI_PROFILE names a database with no model (shared/file-layout.md): then say so and stop.$ARGUMENTS names a profile, pass it through as --profile <name>.Show the plan first with --dry-run, then do it for real:
# 1. Preview (writes nothing)
bash "${CLAUDE_PLUGIN_ROOT}/scripts/py" setup_desktop_mcp.py --dry-run
# 2. Apply
bash "${CLAUDE_PLUGIN_ROOT}/scripts/py" setup_desktop_mcp.py
Pass --profile <name> if the user named one. (Installation goes through sm install,
which does an editable install automatically when run from a dev checkout — no flag needed.)
pip install ... line, offer to run
it, then re-run the helper. Example: bash "${CLAUDE_PLUGIN_ROOT}/scripts/py" -m pip install psycopg2-binary.Next: lines, in one or two lines of your
own. They are written for the user's platform (how to fully quit the app, which differs between
macOS and Windows, and where this server's log is), so pass them on rather than restating them:
list_datasources and return their profiles.Close with: this is the same toolset their business end-users would use through
the hosted Agami connector — the only difference is the backend (their local
files vs a shared, governed, always-on cloud). So what they just felt in Claude
Desktop is the end-user experience. If they want it for a team (one shared
model, evals, governance, reachable from web/mobile/Cowork), that's the hosted
product — see docs/open-vs-hosted.md in the repo
(https://github.com/AgamiAI/agami-core/blob/main/docs/open-vs-hosted.md).
agami entry in place and
re-installs the agami-core package. Re-run after a plugin update to refresh it..bak-<epoch> file.docs/privacy.md in the repo).What SKILL.md sets; muted values are Claude Code's defaults
Use when the user says 'set up agami for Claude Desktop', 'use agami in the Claude app', 'hook up the MCP server', 'let me test what my end users would see', '/agami-serve', or otherwise wants agami available outside Claude Code. Requires agami-connect to have run first (needs credentials + a semantic model). NOT needed to use agami inside Claude Code — the skills already work there.
Three short reads, in order
9 skills in this plugin
/agami-connectEnd-to-end database connection for agami: sets up credentials on first run (DB-type picker → writes <artifacts_dir>/local/credentials.example for the user to fill in), then introspects the live DB directly into the agami semantic model (subject areas, tables, columns, relationships with join cardinality, deep-table column groups, sensitive-column flags) under <artifacts_dir>/<profile>/. The structural model is built deterministically by the agami-core semantic_model package (catalog mode, or a probe-mode fallback when the catalog is locked down); the skill then layers LLM enrichment (descriptions, entities, metrics) and seeds EXPLAIN-validated NL→SQL examples. Every model write is gated by the semantic-model validator — no breaking model is ever persisted./agami-deployEARLY ACCESS (in testing) — usable today, but newer than the local single-player path; feedback welcome via a GitHub issue. Prepares a ready-to-run, self-hosted agami deploy bundle ON THE USER'S MACHINE so a team can stand up a shareable MCP server their Claude connects to. Conversationally gathers the hard-floor inputs (hostname, admin identity), auto-detects the local model, writes docker-compose.yml + Caddyfile + a filled agami.env (referencing the PUBLISHED image ghcr.io/agamiai/agami-core — no clone, no build), and stages the model artifacts. Generates the signing secret via deploy_preflight; the admin password is typed by the user into the file (never in chat). Then runs `docker compose up` if Docker is local, otherwise prints the exact VM steps + the shareable MCP URL. Username/password auth only on this paved path.npx claudepluginhub agamiai/agami-core --plugin agami-coreOther plugins' skills for the same job