confluence-mcp-server

anu-june/confluence-mcp-server

3.2

If you are the rightful owner of confluence-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

A Model Context Protocol (MCP) server designed for integrating AI assistants with Atlassian Confluence Cloud.

Tools
6
Resources
0
Prompts
0

Confluence MCP Server

A Model Context Protocol (MCP) server for integrating AI assistants with Atlassian Confluence Cloud.

Features

  • Create pages - Create new pages with Markdown content
  • Update pages - Modify existing pages
  • Read pages - Retrieve page content by ID
  • Search pages - Find pages by title
  • List pages - List all pages in a space
  • Delete pages - Remove pages from Confluence

Installation

Option 1: From Source

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

Configuration

Environment Variables

VariableDescriptionRequired
CONFLUENCE_URLYour Confluence instance URL (e.g., https://yourname.atlassian.net)
CONFLUENCE_EMAILYour Atlassian account email
CONFLUENCE_API_TOKENYour Confluence API token (Generate here)
CONFLUENCE_SPACE_KEYDefault space key (optional, can be passed per-tool)

IDE Configuration

Add to your MCP settings (VS Code, Cursor, Antigravity, etc.):

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

Available Tools

ToolDescriptionParameters
create_confluence_pageCreate a new pagespaceKey, title, content, parentId?
update_confluence_pageUpdate an existing pagepageId, title, content
get_confluence_pageGet page content by IDpageId
search_confluence_pagesSearch pages by titlespaceKey, query
list_confluence_pagesList all pages in spacespaceKey
delete_confluence_pageDelete a pagepageId

Usage Examples

Once configured, you can ask your AI assistant:

  • "Create a new page called 'Sprint Review' in the TEAM space"
  • "List all pages in my DOCS space"
  • "Update page 12345 with this new content..."
  • "Search for pages containing 'architecture' in the DEV space"

Development

# Run locally
npm start

# Run with environment variables
CONFLUENCE_URL=https://yourname.atlassian.net \
CONFLUENCE_EMAIL=you@email.com \
CONFLUENCE_API_TOKEN=token \
npm start

License

MIT License - feel free to use and modify.

Related Projects