CAgneT Knowledge
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
CAgneT Knowledge
Independent MCP server for querying a locally provisioned choir knowledge base, proposing reviewable changes, and explicitly merging pending changes. This repository contains the service implementation and Agent Skills only; it does not contain the private business knowledge collection.
The service exposes:
cagnet_query: grounded read-only work over the local collection.cagnet_modify: append a reviewable pending proposal without editing formal knowledge.cagnet_merge: explicitly merge all pending proposals with an audit log and recovery journal.
The validated IMBot integration restricts all three tools to root private conversations. Another host must implement an equivalent deterministic policy.
Platform and runtime requirements
The current isolation implementation requires macOS and
/usr/bin/sandbox-exec. It also requires Python 3.11 or newer, an opencode
executable, and a configured OpenCode provider. Other operating systems are not
currently supported and must not silently run without equivalent isolation.
python3 -m venv .venv
.venv/bin/pip install -e .
BOT_CAGNET_TOKEN=replace-me \
BOT_CAGNET_OPENCODE_MODEL=provider/model \
./start.shstart.sh loads .env when present. Stop with ./stop.sh. Generated OpenCode
configuration, credentials, databases, caches, temporary files, PID files, and
logs remain under ignored .data/ and .run/ directories.
Configuration:
BOT_CAGNET_TOKEN(required)BOT_CAGNET_URL(defaulthttp://127.0.0.1:3121/mcp)BOT_AUTH_ISSUER_URL(defaulthttp://localhost/internal-auth)BOT_CAGNET_OPENCODE_BINARYorBOT_OPENCODE_BINARYBOT_CAGNET_OPENCODE_MODELorBOT_OPENCODE_MODELBOT_CAGNET_OPENCODE_VARIANTBOT_CAGNET_OPENCODE_TIMEOUT_SECONDSBOT_CAGNET_OPENCODE_CONFIGandBOT_CAGNET_OPENCODE_AUTHBOT_CAGNET_DATA_ROOTCAGNET_HOST,CAGNET_PORT, and optionalPYTHON_BIN
Related MCP server: claimbase
Provision private knowledge
Place the private collection under:
cagnet_knowledge/workspace/knowledge/The directory is intentionally ignored except for .gitkeep. Never commit its
formal documents, _pending_changes, _merge_logs, recovery journals, or any
OpenCode auth/runtime data. An empty checkout has no business knowledge and is
not ready for meaningful queries until an authorized operator provisions it.
The internal role instructions are under
cagnet_knowledge/workspace/skills/. Outer-Agent tool and reply guidance is in
skills/cagnet-knowledge/SKILL.md; component metadata is in addon.toml.
Integrating with IMBot
Give the Agent this repository URL. The Agent should install it, provision the knowledge directory separately, configure an MCP URL and token, reproduce the root-private permission mapping, install the outer Skill, and run both this repository's tests and the host integration tests. Do not weaken the sandbox or copy host credentials into the repository.
Test
.venv/bin/python -m unittest discover -s testsUnit tests use temporary knowledge trees and do not require or read the private collection.
This server cannot be deployed
Maintenance
Related MCP Connectors
Provenance-first database for teams and agents: every value carries sources, rules and coverage.
Read-only Wikidata tools and identity evidence. Local optional Google KG; bounded public remote.
Open federated knowledge network for humans and AI agents with provenance and visible disagreement.
Hosted agent memory with provenance, contradiction surfacing, and snapshot rollback.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to read and write a local-first knowledge base of plain markdown files in git, with governance gates for safe, hash-anchored edits.1Apache 2.0
- AlicenseAqualityDmaintenanceProvides a compiled knowledge substrate, extracting atomic claims from an append-only capture log and querying a bitemporal claim graph over MCP. Read-only by default, with opt-in writes for trusted sources.4MIT
- AlicenseBqualityBmaintenanceEnables AI agents to consume, validate, search, and author Open Knowledge Format v0.2 Markdown bundles locally, with optional multi-bundle federation, graph navigation, provenance inspection, and proposal-based updates.281MIT
- AlicenseNot gradedqualityBmaintenanceEnables agents to query a single-source ontology of types, entities, statements, evidence, and controlled vocabulary, including bitemporal "as of" and "as recorded" fact lookups. Supports writing by letting agents propose candidate statements while keeping approval, review transitions, and authoritative reasoning restricted to approved facts.MIT