@solumon/confluence-mcp
MCP server for reading Confluence Server/DC documents with search, page content, metadata, spaces, page tree, and attachment/image support.
README
@solumon/confluence-mcp
用于读取 Confluence Server/DC 文档的 MCP 服务,支持图片。
功能特性
- 使用 CQL 搜索 Confluence 页面
- 获取页面内容(HTML 或 Wiki 格式)
- 获取页面元数据
- 列出空间
- 获取页面树结构
- 下载页面图片和附件
安装
本服务通过 npx 直接运行,无需单独安装。只需在下方配置中引用 @solumon/confluence-mcp,Cursor / Claude Code 启动时会自动拉取。
如需在命令行手动使用,也可全局安装:
npm install -g @solumon/confluence-mcp
配置
环境变量
CONFLUENCE_URL=http://your-confluence-server.com
CONFLUENCE_USERNAME=your_username
CONFLUENCE_PASSWORD=your_password
Cursor 配置
添加到 ~/.cursor/mcp.json:
{
"mcpServers": {
"confluence": {
"command": "npx",
"args": ["-y", "@solumon/confluence-mcp"],
"env": {
"CONFLUENCE_URL": "http://your-confluence-server.com",
"CONFLUENCE_USERNAME": "your_username",
"CONFLUENCE_PASSWORD": "your_password"
}
}
}
}
Claude Code 配置
添加到 ~/.claude.json:
{
"mcpServers": {
"confluence": {
"command": "npx",
"args": ["-y", "@solumon/confluence-mcp"],
"env": {
"CONFLUENCE_URL": "http://your-confluence-server.com",
"CONFLUENCE_USERNAME": "your_username",
"CONFLUENCE_PASSWORD": "your_password"
}
}
}
}
可用工具
| 工具 | 说明 |
|---|---|
confluence_search |
使用 CQL 搜索页面 |
confluence_get_page |
获取页面内容(HTML/Wiki) |
confluence_get_page_metadata |
获取页面元数据 |
confluence_list_spaces |
列出可用空间 |
confluence_get_page_tree |
获取页面树结构 |
confluence_list_attachments |
列出页面附件 |
confluence_list_page_images |
列出页面中引用的图片 |
confluence_get_page_images |
下载页面图片(Base64) |
confluence_get_attachment |
下载单个附件 |
使用示例
搜索页面
使用 confluence_search 在空间 "PROJ" 中搜索 "需求"
获取页面内容
使用 confluence_get_page 获取页面 123456 的内容
获取页面图片
使用 confluence_get_page_images 获取页面 123456 的所有图片
下载附件
使用 confluence_get_attachment 从页面 123456 下载 "screenshot.png"
许可证
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.