Skip to content

Introduction

ctk (Confluence Toolkit) is a single Go binary that serves as both a command-line interface and an MCP (Model Context Protocol) server for Confluence Cloud.

ctk follows the Unix philosophy: one tool, one job. Where jtk handles Jira, ctk handles Confluence. Each is a standalone binary with its own credentials, its own MCP tools, and its own release cycle. No monoliths.

  • Dual mode — CLI for humans, MCP server for AI agents
  • Storage format conversion — XHTML to markdown on the fly for LLM consumption
  • Folder support — list, create, navigate, and delete Confluence Cloud folders
  • Page diffing — unified diff between any two page versions
  • Inline comments — read inline and footer comments with highlighted text
  • Attachments — list and download page attachments
  • CQL search — full Confluence Query Language plus quick text search
  • Write gating — destructive operations are off by default (CTK_ENABLE_WRITES)
  • Rate limiting — built-in token-bucket limiter (20 req/min) to stay under Confluence API limits
Featurectksoopersetaashariaaronsb
FoldersYesNoNoNo
Page diffYesNoNoNo
Inline commentsYesNoNoNo
AttachmentsYesNoYesNo
LabelsYesNoNoNo
Storage format to markdownYesNoNoNo
Write gatingYesNoNoNo
CLI modeYesNoNoNo
Response flatteningYesPartialNoNo
Rate limiterYesNoNoNo