Create & Update Knowledge
The create_knowledge and update_knowledge MCP tools let AI agents add new knowledge or update existing entries in your vaults. This enables automatic knowledge capture from development workflows, code reviews, incident postmortems, and any other AI-assisted process.
How it works
AI agents call create_knowledge with content, vault target, tags, and metadata. The tool handles deduplication (checking for similar existing entries), vault routing (sending entries to the right vault based on content type), and validation (ensuring required fields are present). Updates use update_knowledge with the item ID and modified content. Both tools support rich content including markdown, code blocks, and structured data.
Creating knowledge item via MCP with auto-tagging and vault routing
Screenshot coming soon
Why it matters
Knowledge capture is the bottleneck in most teams. People learn things but do not write them down. AI agents writing via MCP automate this capture. When the KnowzCode workflow discovers a gotcha during implementation, it writes it to the vault. When a code review reveals a pattern, it captures the pattern. Over time, your knowledge base grows automatically with minimal human effort.
Knowledge base growth chart from automated AI captures
Screenshot coming soon