Back to Home
BootcampToProd icon

embabel-confluence-mcp-server

Verified Safe

by BootcampToProd

Overview

A demo Model Context Protocol (MCP) server built with Embabel Framework to connect AI agents (like Claude Desktop) with the Atlassian Confluence REST API for documentation management.

Installation

Run Command
mvn spring-boot:run

Environment Variables

  • OPENAI_API_KEY
  • CONFLUENCE_BASE_URL
  • CONFLUENCE_AUTH_TOKEN

Security Notes

The `createDocument` method in `ConfluenceService.java` constructs JSON payloads using naive string formatting (`String.formatted`). This approach is vulnerable to JSON injection attacks if the `spaceKey`, `title`, or `content` parameters contain special characters (e.g., double quotes, backslashes) that are not properly escaped. A malicious or malformed input could lead to invalid JSON being sent to the Confluence API, potentially causing errors or unintended data manipulation. Best practice would be to use a robust JSON serialization library (e.g., Jackson ObjectMapper) to safely construct payloads.

Similar Servers

Stats

Interest Score0
Security Score5
Cost ClassLow
Stars0
Forks0
Last Update2025-12-31

Tags

EmbabelConfluenceMCP ServerAI AgentSpring Boot