home / mcp / confluence mcp server

Confluence MCP Server

Provides commands to create, read, update, search, list, and delete Confluence pages via MCP clients.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "anu-june-confluence-mcp-server": {
      "command": "node",
      "args": [
        "/path/to/confluence-mcp-server/src/index.js"
      ],
      "env": {
        "CONFLUENCE_URL": "https://yourname.atlassian.net",
        "CONFLUENCE_EMAIL": "[email protected]",
        "CONFLUENCE_API_TOKEN": "your_api_token"
      }
    }
  }
}

You can run a dedicated MCP server to connect your AI assistant with Confluence Cloud, enabling you to create, update, read, search, list, and delete Confluence pages through natural language commands and your MCP client workflows.

How to use

You interact with the Confluence MCP Server through an MCP client. After you configure the server, you can issue commands to manage Confluence pages across your spaces. Typical workflows include creating a page with a given title and content, updating an existing page, retrieving page content by ID, searching pages by title, listing all pages in a space, and deleting pages when needed.

How to install

Prerequisites: you need Node.js and npm installed on your machine. Ensure you have access to your Confluence Cloud instance and have a Confluence API token ready.

Option 1: From source

Clone the project and install dependencies

git clone https://github.com/anu-june/confluence-mcp-server.git
cd confluence-mcp-server
npm install

Option 2: Global install after publishing to npm

npm install -g @anu-june/confluence-mcp-server

Available tools

create_confluence_page

Create a new Confluence page with specified space, title, and content, optionally attaching a parent page.

update_confluence_page

Update an existing Confluence page by ID with a new title and content.

get_confluence_page

Retrieve the content of a page by its page ID.

search_confluence_pages

Search pages within a space by a title query.

list_confluence_pages

List all pages within a specified space.

delete_confluence_page

Delete a page by its ID.