CAgneT Knowledge
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CAgneT KnowledgeWhat songs are in the choir folder for Easter Sunday?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
- memoricOAuthio.memoric
Provenance-first database for teams and agents: every value carries sources, rules and coverage.
Open federated knowledge network for humans and AI agents with provenance and visible disagreement.
A collaborative substrate over your data: vector, knowledge graph, SQL, geospatial, streaming.
- KumbukaOAuthai.kumbuka
Governed, auditable knowledge your team curates for its AI assistants, self-hostable
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
- AlicenseAqualityBmaintenanceProvides 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 gradedqualityAmaintenanceEnables coding agents to keep a local knowledge graph across sessions and checkpoints, restoring project context after tabs or model changes, and to ground every answer with an explicit verdict from the graph. Runs entirely on the user's machine over MCP/stdio or local JSON-RPC with no third-party runtime dependencies.13Apache 2.0