Confluence MCP Server
A Model Context Protocol (MCP) server for interacting with Confluence Data Center via REST API. This server provides a set of tools that allow AI models to interact with Confluence content.
Features
This MCP server provides the following operations for Confluence:
- Execute CQL (Confluence Query Language) searches
- Get page content by ID
- Get page content with body
- Find pages by space key
- Find page by title and space key
- Create new pages (with optional parent page)
- Update existing pages
- Delete pages
Installation
- Clone this repository
- Install dependencies:
pip install -r requirements.txtConfiguration
Create a .env file in the project root with the following variables:
CONFLUENCE_API_BASE=http://localhost:8090/rest/api
CONFLUENCE_USERNAME=your_username
CONFLUENCE_PASSWORD=your_passwordAdjust the values to match your Confluence instance.
Running the Server
Development Mode (Recommended)
The proper way to run an MCP server is using the MCP CLI tool with the development mode. This will start the MCP Inspector UI which allows you to test and debug the server:






