/gnosis:setupfrom gnosis
Interactive setup wizard for Gnosis MCP. Installs the package, initializes the database, ingests a docs folder, and wires editor config in the correct order.
Ships in gnosis. 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.
Gets you from nothing to "agent searching my docs" in 60 seconds.
/gnosis:setup # Interactive — asks where your docs live
/gnosis:setup /path/to/docs # Same, but ingest that folder right away
/gnosis:setup --postgres # Print PostgreSQL setup instructions too
llms-install.md is the install procedure. Follow its agent checklist in order instead of re-deriving the steps here:
pip install 'gnosis-mcp[embeddings,web]', or uv tool install when the
machine has no suitable Python.gnosis-mcp init-db — creates the schema; idempotent.gnosis-mcp check — must print FTS5: ready and exit 0. If FTS5 is missing, stop and tell the
user rather than ingesting: keyword search cannot work on that Python build.gnosis-mcp ingest <path> --dry-run to preview, then gnosis-mcp ingest <path> --embed.gnosis-mcp search "<a query you know the answer to>" — the first real verification.Backend choice (SQLite by default; PostgreSQL for concurrent writers or > 100 k chunks), extras,
flags, write mode, and the platform notes (Windows .exe paths, WSL2, remote HTTP transport) are in
that file. If this skill and llms-install.md ever disagree, llms-install.md wins.
Search works with the MCP server alone; the extras are 5 subagents, 8 slash commands and a session-start hook. Two ways in:
claude plugin marketplace add nicholasglazer/gnosis-mcp, then
claude plugin install gnosis, then restart Claude Code..claude/agents/ and .claude/skills/ in your project. Exact commands, and how to cherry-pick a
subset, are in
Path B.Say which route the user took when you report — the manual route installs a subset.
Each config goes in the project root (or the editor's global config — see each editor's docs).
.mcp.json in the project root, or claude mcp add --scope user{
"mcpServers": {
"gnosis": {
"command": "gnosis-mcp",
"args": ["serve"]
}
}
}
For shared-state setups (agent teams, parallel tabs) — one server, many clients — use HTTP:
{
"mcpServers": {
"gnosis": {
"type": "url",
"url": "http://127.0.0.1:8000/mcp"
}
}
}
Start the server separately:
gnosis-mcp serve --transport streamable-http --rest --watch ./docs
Other editors — Cursor (.cursor/mcp.json), Windsurf, VS Code (.vscode/mcp.json, key
"servers"), Zed (context_servers), opencode, JetBrains, Cline — have copy-paste configs in
Path C.
Print a compact summary to the user:
## Setup complete
| Setting | Value |
|-------------------|-------|
| Backend | sqlite |
| Database | ~/.local/share/gnosis-mcp/docs.db |
| Documents | 42 |
| Chunks | 170 |
| Embeddings | 170 / 170 (100 %) |
| Chunk size | 2000 chars (default) |
| Writable | false (set GNOSIS_MCP_WRITABLE=true to enable upsert/delete) |
Next:
/gnosis:search "your first query" — sanity check retrieval works
/gnosis:tune — find your chunk-size optimum (optional)
/gnosis:ingest git <repo> — index commit history too (optional)
If any step failed, report that instead of a success table. Anything from the checklist above that
went wrong: /gnosis:status diagnoses connectivity and schema; failure modes are catalogued in
docs/troubleshooting.md.
gnosis-mcp ingest-git . --since 6m --embed
gnosis-mcp crawl https://docs.stripe.com --sitemap --embed
gnosis-mcp serve --watch /path/to/docs --transport streamable-http --rest
Off by default for safety. Enable only if you want your agent to call
upsert_doc / delete_doc / update_metadata:
export GNOSIS_MCP_WRITABLE=true
export GNOSIS_MCP_DATABASE_URL="postgresql://user:pass@localhost:5432/mydb"
psql "$GNOSIS_MCP_DATABASE_URL" -c "CREATE EXTENSION IF NOT EXISTS vector;" # hybrid search
gnosis-mcp init-db && gnosis-mcp ingest /path/to/docs --embed
gnosis-mcp serve --transport streamable-http --rest
Then: curl http://127.0.0.1:8000/api/search?q=auth&limit=5.
Add Bearer auth for any non-localhost exposure:
export GNOSIS_MCP_API_KEY="$(python -c 'import secrets; print(secrets.token_urlsafe(32))')"
/gnosis:tune/gnosis:tune full to find out which applies to your
corpus before enablingGNOSIS_MCP_DATABASE_URL and
re-run init-db + ingest. Same tool API.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (nicholasglazer/gnosis-mcp) — no native marketplace selected
npx claudepluginhub p/nicholasglazer-gnosis8 skills in this plugin
/contextLoad usage-weighted context from Gnosis MCP. Surfaces most-accessed docs for session startup or topic primers./evalMeasure retrieval quality — Hit@5, MRR, Precision@5 on a fixed fixture set, or Hit@5/MRR/nDCG@10 on your own corpus via the real-corpus benchmark. Regression tracking against a saved baseline, plain-English interpretation, and tuning pointers when numbers look off. Use after every ingest or config change./ingestPopulate the gnosis-mcp knowledge base — from local files, git history, or a crawled website. Handles the full matrix of flags (--force, --prune, --wipe, --embed, --include-crawled) in one place./manageCRUD operations on the knowledge base — add, delete, update metadata. For bulk ingest / re-ingest / prune, use /gnosis:ingest instead. Requires GNOSIS_MCP_WRITABLE=true./searchSearch the gnosis-mcp knowledge base. Keyword (default), hybrid semantic+keyword (--semantic), or git commit history (--git). Includes sanity checks and a reranker warning./statusVerify gnosis-mcp server connectivity, schema integrity, and corpus health. Use when MCP calls fail, return empty, or return unexpected data.Other plugins' skills for the same job