Confluence MCP server for Cloud/Server/Data Center search/read/create/update
Confluence MCP server for Cloud/Server/Data Center search/read/create/update. That is what the confluence mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
一个面向 Confluence Cloud / Server / Data Center 的 MCP 服务,提供页面搜索、CQL 查询、读取、创建、更新、附件上传和用户身份查询能力。
The server publishes 14 tools. What each one is for:
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,便于后续稳定更新Installation goes through your MCP client rather than a global install: point it at npm on npm and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.
Configuration is passed through the environment: CONF_MODE, CONF_BASE_URL, CONF_USERNAME, CONF_TOKEN, CONF_DEFAULT_SPACE. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
Plenty of file and storage access servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Confluence's toolset — confluence_search_pages, confluence_execute_cql_search, confluence_get_page and 11 more — is a fair guide to whether it matches your workflow. It is maintained by qihaze; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| 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 | 预览按标题更新的命中范围,返回旧内容和确认 hash |
| confluence_update_page_section_confirmed | 带 hash 确认提交按标题更新,避免 preview 后内容已变化 |
| confluence_add_anchor_block_to_section | 给一个标题 section 自动加上起止 Anchor,便于后续稳定更新 |
| confluence_preview_page_anchor_block_update | 预览按 Anchor 范围更新的命中块,返回旧内容和确认 hash |
| confluence_update_page_anchor_block_confirmed | 带 hash 确认提交 Anchor 范围更新 |
也可以不在客户端配置里写连接信息,先只启动 MCP 服务:
```json
{
"mcpServers": {
"confluence": {
"command": "npx",
"args": ["-y", "confluence-mcp-server"]
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| CONF_MODE | Configuration value read at startup. | Optional |
| CONF_BASE_URL | Endpoint or connection string the server talks to. | Yes |
| CONF_USERNAME | Configuration value read at startup. | Optional |
| CONF_TOKEN | Credential the server authenticates with. | Yes |
| CONF_DEFAULT_SPACE | Configuration value read at startup. | Optional |
Scoped local file access — read, write, search and reorganise files in directories you explicitly allow.
Search and read your Drive — Docs, Sheets and files become context your assistant can actually use.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Build a programmable telecommunications stack for connecting telephony services with the Internet via a cloud-based utility.
Chat with your second brain — search, read and write vault notes through the Local REST API.
Connects AI models to an Obsidian knowledge base for direct access and manipulation of notes and folders.