Skip to main content

confluence-knowledge (local MCP service)

Local companion service for the confluence-knowledge Copilot agent. See ../../docs/confluence-knowledge.md for the full guide.

  • GET-only ConfluenceClient — non-GET raises SecurityException pre-flight.
  • Recursive subtree crawl (Cloud v2 + Data Center), resumable.
  • Local ONNX embeddings (nomic-embed-text-v1.5, quantized) + sparse leg (Qdrant/bm25)
    • reranker (mxbai-rerank-xsmall-v1, quantized) — MIT/Apache-2.0, pinned in models.lock.json, no torch, never a cloud embedding call.
  • SQLite + FTS5 + vector-blob index under .conf_knowledge_index/.
  • Credentials via OS keyring / env var / chmod-600 .conf_auth.json.

Dev

python3.11+ -m venv .venv && .venv/bin/pip install -e '.[dev]'
.venv/bin/python -m pytest        # all offline — no network needed
.venv/bin/python -m ruff check src tests

Before every release, run the end-to-end smoke test. It spawns the real stdio server through the MCP client SDK and uses the real models against a fake Confluence on localhost, with simulated network latency:

.venv/bin/pip install -e '.[models]'
CONF_KNOWLEDGE_HOME=/tmp/ck/home .venv/bin/confluence-knowledge prepare-models
CONF_KNOWLEDGE_HOME=/tmp/ck/home .venv/bin/python scripts/e2e_smoke.py   # ends with "E2E OK"

e2e_bootstrap.py goes further — it replays the agent's entire install flow in a sandboxed $HOME (python discovery → venv → pip install from the shipped dist/ bundle → models → credentials → register → the real server over stdio → a full Q&A round-trip). Run it before every release:

CK_MODEL_CACHE=/tmp/ck/home/models .venv/bin/python scripts/e2e_bootstrap.py  # "E2E BOOTSTRAP OK"

CLI

Command Purpose
confluence-knowledge setup guided env/site/token setup (hidden input, keyring)
confluence-knowledge prepare-models fetch pinned local models once
confluence-knowledge doctor verify config + heartbeat + models
confluence-knowledge serve run the stdio MCP server (what the IDE launches)
confluence-knowledge clean delete the local index (~/.confluence-knowledge/work unless CONF_KNOWLEDGE_WORKDIR is set)

Metadata

Release files for confluence-knowledge 0.14.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for confluence-knowledge 0.14.0
File Size Uploaded Provenance Actions
confluence_knowledge-0.14.0.tar.gz 235.3 kB Without provenance Details for confluence_knowledge-0.14.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for confluence-knowledge 0.14.0
File Interpreter ABI Platform Actions
confluence_knowledge-0.14.0-py3-none-any.whl Python 3 none any Details for confluence_knowledge-0.14.0-py3-none-any.whl

Total release size: 393.2 kB

Release files / confluence_knowledge-0.14.0.tar.gz

Download URL confluence_knowledge-0.14.0.tar.gz
Size 235.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ddc3b94c20ce64a2fa6c54544a8125b129f0cf0274c484ffc449ce004123a71a
BLAKE2b-256 checksum
How to use checksums
8b54a8183f575a639a5e892fcd7b7f95c183afcdc63b0849a7d3ba0439e934e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / confluence_knowledge-0.14.0-py3-none-any.whl

Download URL confluence_knowledge-0.14.0-py3-none-any.whl
Size 157.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f397c1d76dcef002d7127359c87a68cae7ade603d6db72ae175ed05275f7e4ee
BLAKE2b-256 checksum
How to use checksums
744ffc756b724fdca91ff9c24fd457fbbd68addc469e7506521cb579d711a6cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for confluence-knowledge 0.14.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.14.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page