agami-servelisted
Install: claude install-skill AgamiAI/agami-core
# agami serve — wire the local MCP server into Claude Desktop
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`](../../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.
## Conversation style
- **Tight.** This is a one-shot setup tool, not a tutorial. Run the helper, report what it did, give the restart line.
- **Honest about surfaces.** Claude Desktop is the target here; if the user is already in Claude Code, remind them the skills already work there — the MCP server is for *other* clients.
---
## Phase −1: Plan-mode preflight
Run the detection + ask logic from [`shared/plan-mode-check.md`](../../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 d