
A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

An MCP server for Confluence that supports page search, CQL queries, page reads and writes, section and anchor-based updates, attachment uploads, and user lookup.
Confluence MCP server is cataloged as an MCP server attributed to qihaze123. An MCP server for Confluence that supports page search, CQL queries, page reads and writes, section and anchor-based updates, attachment uploads, and user lookup. It is categorized under file systems-docs. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Confluence MCP server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No. Pending drafts live only in the current MCP server process memory and are lost when the server restarts; they do not appear in Confluence page history.
Confluence's native update is still a whole-page versioned PUT; the server performs the whole-page read, local replacement and whole-page submission itself so the model side uses fewer tokens.
The preview returns the old content and expected hash, and the confirmed update re-fetches the page and verifies the hash before submitting.
README.md · 96f47730d7f3 · Fetched 2026-11-13 11:39:34 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
一个面向 Confluence Cloud / Server / Data Center 的 MCP 服务,提供页面搜索、CQL 查询、读取、创建、更新、附件上传和用户身份查询能力。
confluence_search_pages: 按关键词搜索页面confluence_execute_cql_search: 执行原生 CQL 查询confluence_get_page: 按页面 ID 获取内容(storage 格式)confluence_get_page_outline: 获取页面标题目录,适合低 token 导航confluence_get_page_section: 按标题读取单个 section,避免把整页正文返回给模型confluence_get_page_anchor_block: 按 Anchor 起止边界读取块内容confluence_create_page: 创建页面(支持可选 parentId)confluence_update_page: 更新页面内容并自动递增版本confluence_update_page_section: 按标题更新单个 section,由 MCP 服务端完成整页替换与提交confluence_preview_page_section_update: 预览按标题更新的命中范围,返回旧内容和确认 hashconfluence_update_page_section_confirmed: 带 hash 确认提交按标题更新,避免 preview 后内容已变化confluence_add_anchor_block_to_section: 给一个标题 section 自动加上起止 Anchor,便于后续稳定更新confluence_preview_page_anchor_block_update: 预览按 Anchor 范围更新的命中块,返回旧内容和确认 hashconfluence_update_page_anchor_block_confirmed: 带 hash 确认提交 Anchor 范围更新confluence_stage_page_update: 暂存整页改动到 MCP 服务端内存,不提交到 Confluenceconfluence_stage_page_section_update: 暂存标题 section 改动到 MCP 服务端内存,不提交到 Confluenceconfluence_stage_page_anchor_block_update: 暂存 Anchor 块改动到 MCP 服务端内存,不提交到 Confluenceconfluence_list_pending_page_updates: 列出当前 MCP 进程里的未提交 wiki 改动confluence_get_pending_page_update: 查看某个未提交改动的 old/new/diff 内容confluence_commit_pending_page_update: 校验 hash 后把某个未提交改动真正提交到 Confluenceconfluence_discard_pending_page_update: 丢弃某个未提交改动confluence_upload_attachment: 上传页面附件(支持本地文件路径或 base64,同名附件默认更新为新版本)confluence_get_current_user: 获取当前认证用户(whoami)npm install
npm run build
npm start
发布到 npm 后,可在 MCP 客户端中直接使用 npx 启动,无需手动克隆仓库:
{
"mcpServers": {
"confluence": {
"command": "npx",
"args": ["-y", "confluence-mcp-server"],
"env": {
"CONF_MODE": "server",
"CONF_BASE_URL": "https://confluence.example.com",
"CONF_USERNAME": "your-username",
"CONF_TOKEN": "your-token",
"CONF_DEFAULT_SPACE": "DOC"
}
}
}
}
也可以不在客户端配置里写连接信息,先只启动 MCP 服务:
{
"mcpServers": {
"confluence": {
"command": "npx",
"args": ["-y", "confluence-mcp-server"]
}
}
}
然后在对话里提供连接参数,让模型先调用 confluence_configure_connection:
{
"baseUrl": "https://confluence.example.com",
"mode": "server",
"authMode": "auto",
"username": "your-username",
"token": "your-token",
"defaultSpace": "DOC"
}
该配置只保存在当前 MCP 服务进程内存中,重启后会丢失。长期使用仍建议放在 MCP 客户端的环境变量配置里,避免在对话上下文中暴露密钥。
如果当前进程已经有连接(例如通过环境变量连到了旧地址),也可以只切换部分字段。比如只把地址从一台 Confluence 切到另一台、账号密码不变:
{
"baseUrl": "http://192.168.40.82:8090"
}
未传的 mode、认证信息和 defaultSpace 会继承当前连接;如果显式传入 token / password / username / authMode,则会重新计算认证。
CONF_BASE_URL: Confluence 基础地址,例如 https://confluence.example.comCONF_MODE: 部署模式,cloud 或 server(默认 server)CONF_AUTH_MODE: 认证模式,auto / basic / bearer(默认 auto)CONF_USERNAME: 登录用户名(Cloud 必填;Server 在 basic 模式或使用密码时必填)CONF_PASSWORD: 用户密码(与 CONF_TOKEN 组合按模式使用)CONF_TOKEN: 访问令牌(Cloud 下作为 API Token;Server 下默认走 Bearer)CONF_DEFAULT_SPACE: 默认空间 Key(可选)如果未设置这些环境变量,服务会以“未配置连接”的状态启动;此时先调用 confluence_configure_connection 即可。可用 confluence_get_connection_status 查看当前连接状态,该工具不会返回 token/password。
{
"mcpServers": {
"confluence": {
"command": "node",
"args": ["dist/index.js"],
"env": {
"CONF_MODE": "server",
"CONF_BASE_URL": "https://confluence.example.com",
"CONF_USERNAME": "your-username",
"CONF_TOKEN": "your-token",
"CONF_DEFAULT_SPACE": "DOC"
}
}
}
}
CONF_USERNAME + CONF_TOKEN/CONF_PASSWORD)。CONF_AUTH_MODE=auto 时优先 Bearer)。/wiki/rest/api,Server 模式为 /rest/api。confluence_upload_attachment 会返回 storageImageMarkup,可把它拼到 confluence_update_page 的 bodyStorageValue 中展示图片。PUT;confluence_update_page_section 只是把“整页读取 + 局部替换 + 整页提交”放在 MCP 服务端完成,从而显著减少模型侧 tokens。expectedCurrentHash,confirmed update 会重新拉取页面并校验 hash 一致后才提交。PUT;重启 MCP 服务后这些未提交草稿会丢失。confluence_search_pages 或 confluence_execute_cql_search 定位页面。confluence_get_page_outline 获取标题目录,不直接读整页正文。confluence_get_page_section 按 heading 拉取需要处理的 section。confluence_update_page_section 只提交该 section 的 storage 内容。如果页面里存在重复标题,可以配合 occurrence 指定第几个同名标题;matchMode=contains 可用于模糊匹配标题。
confluence_preview_page_section_update。oldStorageValue 和 newStorageValue 是否符合预期。expectedCurrentHash 原样传给 confluence_update_page_section_confirmed。如果希望 AI 先改 wiki、你检查后再决定是否真正保存,可以使用暂存工具:
confluence_stage_page_section_update、confluence_stage_page_anchor_block_update 或 confluence_stage_page_update 创建未提交草稿。oldStorageValue、newStorageValue、diffStorageValue 和 draftId。confluence_list_pending_page_updates 或 confluence_get_pending_page_update。confluence_commit_pending_page_update 提交;服务端会重新拉取页面并校验 expectedCurrentHash,一致才写入 Confluence。confluence_discard_pending_page_update 丢弃。这些草稿只存在于当前 MCP 服务端内存,不会出现在 Confluence 页面历史里,也不会跨服务重启持久化。
confluence_add_anchor_block_to_section 给目标 section 加上 startAnchor / endAnchor。confluence_get_page_anchor_block。confluence_preview_page_anchor_block_update,确认后再调用 confluence_update_page_anchor_block_confirmed。Anchor 名称建议使用业务语义化命名,例如 risk-summary-start、risk-summary-end,避免依赖标题文本本身。
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Confluence MCP server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/confluence-mcp-server-qihaze123)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A Model Context Protocol server for global law with read-only tools to find and read provisions by date, trace the law behind each word, search text and changes, and check cases or briefs against law in force.

Hosted MCP server for tabletop RPG worlds that organizes messy notes and documents into a private store and lets MCP apps search lore, read documents, find characters, and optionally generate character or world pictures.

An MCP server that gives AI assistants scoped file system operations inside a project directory, with read-only reference projects plus git and GitHub tools.