Power your agent
Lệnh của chính nhà phát hành. Không phải endpoint của PlugMCP.
Host a copy with our keys and logs.
npx -y [email protected]Claude Code không có liên kết cài đặt cho lệnh cục bộ. Sao chép lệnh bên dưới và chạy trong terminal.
claude mcp add atlassian-confluence-mcp-server -- npx -y atlassian-confluence-mcp-server@2.0.2Chạy trong terminal.
{ "mcpServers": { "atlassian-confluence-mcp-server": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}claude_desktop_config.json
URL từ xa hay một lệnh trên máy của bạn? Hai cách cài đặt khác nhau thế nào
Chạy trên PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
MởAn open-source Model Context Protocol (MCP) server for Atlassian Confluence that lets AI assistants like Claude and Windsurf read, create, search, and manage Confluence wiki pages. Works with Confluence Cloud, on-premise Server, and Data Center deployments — connect your AI coding agent to your team's knowledge base in seconds via npx.
npx — no install needednpx atlassian-confluence-mcp-server
npm install -g atlassian-confluence-mcp-server
git clone https://github.com/anuragagrawal0430/atlassian-confluence-mcp-server.git
cd atlassian-confluence-mcp-server
npm install
npm run build
All configuration is passed through environment variables. Never hard-code credentials.
Cloud API tokens are generated from your Atlassian account and require both your email and the token:
CONFLUENCE_BASE_URL=https://your-site.atlassian.net
[email protected]
PAT=your-api-token
CONFLUENCE_USERNAME to your Atlassian account emailPAT to the copied API tokenServer and Data Center instances use a Personal Access Token with Bearer authentication. Only the token is needed:
CONFLUENCE_BASE_URL=https://confluence.example.com
PAT=your-personal-access-token
For older Server versions without PAT support, use username/password:
CONFLUENCE_BASE_URL=https://confluence.example.com
CONFLUENCE_USERNAME=your-username
CONFLUENCE_PASSWORD=your-password
The server now uses secure defaults to reduce prompt-injection blast radius and credential leakage risk:
CONFLUENCE_READ_ONLY=true by default
CONFLUENCE_READ_ONLY=false.CONFLUENCE_ENABLE_DESTRUCTIVE_TOOLS=false by default
confluence_delete_page, confluence_delete_space, and confluence_set_page_permissions remain disabled unless explicitly enabled.CONFLUENCE_ENABLED_TOOLS (optional)
CONFLUENCE_ALLOWED_SPACES (optional)
spaceKey / destinationSpaceKey to an approved set.CONFLUENCE_ALLOW_INSECURE_HTTP=false by default
true.CONFLUENCE_MAX_ATTACHMENT_BYTES (optional, default 50 MB)
confluence_upload_attachment will read before calling Confluence.CONFLUENCE_UPLOAD_ALLOWED_DIRS (optional, defaults to empty)
Example (enable safe writes, keep destructive tools disabled):
CONFLUENCE_READ_ONLY=false
CONFLUENCE_ENABLE_DESTRUCTIVE_TOOLS=false
Example (strict allowlist):
CONFLUENCE_ENABLED_TOOLS=confluence_get_page,confluence_search_pages,confluence_get_page_body_chunk
Example (space-level allowlist):
CONFLUENCE_ALLOWED_SPACES=ENG,SECURITY
{
"mcpServers": {
"confluence": {
"command": "npx",
"args": ["-y", "atlassian-confluence-mcp-server"],
"env": {
"CONFLUENCE_BASE_URL": "https://your-site.atlassian.net",
"CONFLUENCE_USERNAME": "[email protected]",
"PAT": "your-api-token"
}
}
}
}
{
"mcpServers": {
"confluence": {
"command": "npx",
"args": ["-y", "atlassian-confluence-mcp-server"],
"env": {
"CONFLUENCE_BASE_URL": "https://confluence.example.com",
"PAT": "your-personal-access-token"
}
}
}
}
{
"mcpServers": {
"confluence": {
"command": "atlassian-confluence-mcp-server",
"env": {
"CONFLUENCE_BASE_URL": "https://confluence.example.com",
"PAT": "your-personal-access-token"
}
}
}
}
{
"mcpServers": {
"confluence": {
"command": "node",
"args": ["./dist/index.js"],
"env": {
"CONFLUENCE_BASE_URL": "https://confluence.example.com",
"PAT": "your-personal-access-token"
}
}
}
}
Note: tool exposure depends on security configuration. With the default CONFLUENCE_READ_ONLY=true, mutating tools are intentionally hidden/blocked.
# Pages in a specific space
type=page AND space=TEAM
# Pages with a label
type=page AND label=documentation
# Recently modified pages
type=page AND lastModified > now("-7d")
# Title search
type=page AND title~"Meeting Notes"
# Pages created by current user
type=page AND creator=currentUser()
Pages use Confluence storage format (XHTML):
<p>This is a paragraph.</p>
<h1>Heading 1</h1>
<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>
<ac:structured-macro ac:name="code">
<ac:parameter ac:name="language">javascript</ac:parameter>
<ac:plain-text-body><![CDATA[console.log("Hello");]]></ac:plain-text-body>
</ac:structured-macro>
When a page body is very large (for example hundreds of KB), avoid sending the full body through confluence_update_page.
Recommended workflow:
confluence_get_page_body_chunk to inspect the relevant part of the page.confluence_patch_page for exact find/replace edits.confluence_replace_page_range for replacing a specific middle range.confluence_append_to_page for incremental append/prepend updates.Notes:
encodeURIComponent.Please see CONTRIBUTING.md for guidelines on how to contribute to this project.
For security policies and vulnerability reporting, see SECURITY.md.
See CHANGELOG.md for a history of changes.
Model Context Protocol (MCP) server for Atlassian Confluence. Enables AI assistants like Claude and Windsurf to read, create, search, and manage wiki pages on Cloud, on-premise Server, and Data Center
{ "mcpServers": { "atlassian-confluence-mcp-server": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}Tổng quan
Model Context Protocol (MCP) server for Atlassian Confluence. Enables AI assistants like Claude and Windsurf to read, create, search, and manage wiki pages on Cloud, on-premise Server, and Data Center.
Công cụ
Chưa có danh sách công cụ. Máy chủ từ xa sẽ có danh sách sau lần kiểm tra tình trạng đầu tiên.
Câu hỏi thường gặp
Sao chép cấu hình stdio cho Cursor, Claude Desktop, Claude Code hoặc VS Code trên trang này. Cấu hình dùng bản cài đặt của nhà phát hành, không phải proxy của PlugMCP.
Bản ghi này không liệt kê biến môi trường bắt buộc nào.
Atlassian Confluence chạy cục bộ qua stdio.
Kiểm tra lần cuối: 2026-11-10. Model Context Protocol (MCP) server for Atlassian Confluence. Enables AI assistants like Claude and Windsurf to read, create, search, and manage wiki pages on Cloud, on-premise Server, and Data Center.