一个基于Java+Maven+Spring AI + Spring Boot实现的Confluence操作MCP Server
{
"mcpServers": {
"confluence-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
一个基于Java+Maven+Spring AI + Spring Boot实现的Confluence操作MCP Server
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
License not specified.
Is it maintained?
Last commit 68 days ago.
Will it work with my client?
Transport: stdio. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
This server is missing a description. Tools and install config are also missing.If you've used it, help the community.
Add informationHave you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Persistent memory using a knowledge graph
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Pre-build reality check. Scans GitHub, HN, npm, PyPI, Product Hunt — returns 0-100 signal.
Monitor browser logs directly from Cursor and other MCP compatible IDEs.
MCP Security Weekly
Get CVE alerts and security updates for Confluence Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
基于Spring Boot 4.0构建的企业级Confluence MCP服务器,提供标准的Model Context Protocol接口,支持Confluence内容搜索和页面访问。
| 组件 | 技术选型 | |---------------|---------------------| | 开发语言 | Java 17+ | | 核心框架 | Spring Boot 4.x | | MCP协议支持 | Spring AI MCP | | 构建工具 | Maven | | 测试框架 | JUnit 5, Mockito | | HTTP客户端 | Apache HttpClient 5 |
# 1. 克隆项目
git clone https://github.com/your-org/confluence-mcp-server.git
cd confluence-mcp-server
# 2. 构建项目
mvn clean package
# 3. 配置环境变量
export CONFLUENCE_URL=your_confluence_url
export CONFLUENCE_USERNAME=your_username
export CONFLUENCE_PASSWORD=your_password
# 4. 运行应用
java -jar target/confluence-mcp-server-*.jar
# 开发模式
mvn spring-boot:run
创建 application.yml 或使用环境变量:
server:
port: 9091
spring:
application:
name: confluence-mcp-server
ai:
mcp:
server:
enabled: true
name: confluence_mcp_server
version: 1.0.0
sse-endpoint: /mcp/sse
sse-message-endpoint: /api/v1/mcp
confluence:
url: ${CONFLUENCE_URL:https://your-confluence.com}
username: ${CONFLUENCE_USERNAME}
password: ${CONFLUENCE_PASSWORD}
default-space: ${CONFLUENCE_DEFAULT_SPACE:RP}
default-content-type: ${CONFLUENCE_DEFAULT_CONTENT_TYPE:page,blogpost}
default-search-limit: ${CONFLUENCE_DEFAULT_SEARCH_LIMIT:10}
connection-timeout: ${CONFLUENCE_CONNECTION_TIMEOUT:30000}
read-timeout: ${CONFLUENCE_READ_TIMEOUT:30000}
在Confluence中搜索内容
参数:
searchKeyword: 搜索关键词(必需)space: 空间标识contentType: 内容类型(page/blogpost)limit: 结果数量限制获取指定页面内容
参数:
pageId: Confluence页面ID(必需)src/
├── main/
│ ├── java/com/confluence/mcp/
│ │ ├── config/ # 配置类
│ │ │ ├── ConfluenceConfig.java
│ │ │ ├── HttpClientConfig.java
│ │ │ └── McpConfig.java
│ │ ├── exception/ # 异常处理
│ │ │ ├── ConfluenceException.java
│ │ │ └── ExceptionHandlerUtil.java
│ │ ├── tool/ # MCP工具实现
│ │ │ └── ConfluenceTool.java
│ │ ├── util/ # 工具类
│ │ │ ├── HttpClientUtil.java
│ │ │ └── JsonParserUtil.java
│ │ └── ConfluenceMcpServerApplication.java
│ └── resources/
│ └── application.yml
└── test/
└── java/com/confluence/mcp/
└── tool/ # 测试类
├── ConfluenceToolMockTest.java
└── ConfluenceToolTest.java
# 运行所有测试
mvn test
# 运行特定测试类
mvn test -Dtest=ConfluenceToolTest
# 生成测试报告
mvn jacoco:report
GitHub Actions自动化流水线包含:
MIT License - 详见 LICENSE 文件
欢迎提交Issue和Pull Request!贡献前请确保: