Confluence MCP Server
Provides tools for reading and analyzing Confluence document content, including extracting and converting text, tables, code blocks, and images, with capabilities to retrieve page content, structure, child pages, and attachments.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Confluence MCP Serverget the content of our API documentation page for analysis"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Confluence MCP Server
An MCP Server for reading and analyzing Confluence documentation content. Supports extraction and conversion of text, tables, code blocks, images, and more.
Features
get_confluence_page — Retrieve the full page content (in Markdown format) for Q&A and analysis
get_page_structure — Get an overview of the page structure (table of contents, presence of tables/code/images)
get_child_pages — Get a list of child pages
get_page_attachments — Get a list of attachments
Related MCP server: Confluence MCP Server
Installation
1. Create a virtual environment and install
cd confluence-mcp
python -m venv .venv
# Windows
.venv\Scripts\activate
# Linux/Mac
source .venv/bin/activate
pip install -e .2. Configure environment variables
Copy .env.example to .env and edit it:
cp .env.example .env# Confluence Server 地址(不要尾部斜杠)
CONFLUENCE_BASE_URL=https://confluence.yourcompany.com
# Personal Access Token
# 获取方式: Confluence → 右上角头像 → 设置 → Personal Access Tokens → 创建
CONFLUENCE_PAT=your_token_here
# 内网自签证书时设为 false
CONFLUENCE_VERIFY_SSL=true3. Test run
# 直接运行看是否正常启动
python -m confluence_mcp.server
# 或使用 mcp dev 工具调试
mcp dev confluence_mcp/server.pyIntegration with VS Code / Copilot Chat
Add the following to your VS Code settings.json:
{
"mcp": {
"servers": {
"confluence": {
"command": "python",
"args": ["-m", "confluence_mcp.server"],
"cwd": "C:\\Users\\wang2\\mcp\\confluence-mcp",
"env": {
"CONFLUENCE_BASE_URL": "https://confluence.yourcompany.com",
"CONFLUENCE_PAT": "your_token_here",
"CONFLUENCE_VERIFY_SSL": "true"
}
}
}
}
}You can also omit the env settings in
settings.jsonand let the server read from the.envfile instead.
Integration with Claude Desktop
Add the following to claude_desktop_config.json:
{
"mcpServers": {
"confluence": {
"command": "C:\\Users\\wang2\\mcp\\confluence-mcp\\.venv\\Scripts\\python.exe",
"args": ["-m", "confluence_mcp.server"],
"cwd": "C:\\Users\\wang2\\mcp\\confluence-mcp",
"env": {
"CONFLUENCE_BASE_URL": "https://confluence.yourcompany.com",
"CONFLUENCE_PAT": "your_token_here"
}
}
}
}Usage
Once configured, simply ask in Copilot Chat or Claude:
帮我看一下这个文档的内容:https://confluence.yourcompany.com/display/TEAM/Some+Page
这个文档里关于部署流程是怎么写的?
总结一下这个页面:https://confluence.yourcompany.com/pages/viewpage.action?pageId=12345The LLM will automatically call get_confluence_page to retrieve the content and then answer your questions based on that content.
Regarding Intranet Request Blocking
This tool uses a browser User-Agent and full browser request headers in its HTTP requests to bypass potential non-browser request blocking. If you are still being blocked, you may need to:
Whitelist the request source IP
Or contact IT to confirm if the REST API requires additional configuration
Supported URL Formats
https://confluence.example.com/pages/viewpage.action?pageId=12345https://confluence.example.com/display/SPACE/Page+Titlehttps://confluence.example.com/spaces/SPACE/pages/12345/Page+Titlehttps://confluence.example.com/wiki/spaces/SPACE/pages/12345/...
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables querying and retrieving content from Confluence through CQL searches and page content fetching, allowing Claude to seamlessly access information stored in Confluence workspaces.314MIT
- Flicense-qualityDmaintenanceProvides tools for AI agents to interact with Atlassian Confluence, enabling search, space listing, and CRUD operations on pages via natural language.6
- Flicense-qualityCmaintenanceProvides read access to Confluence Server/Data Center pages, sections, tables, and search via the Confluence REST API v1.
- Flicense-qualityBmaintenanceEnables Claude Code to read and search Confluence pages, with support for images and multi-site configurations.1
Related MCP Connectors
Connect to Atlassian Jira, Confluence, and Compass to search, create, and manage your work.
Confluence MCP — wraps the Confluence Cloud REST API v2 (OAuth)
Connect your team's living knowledge base — docs, data, issues, CRM — to Claude and ChatGPT.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/OnClickListener2048/confluence-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server