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. 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 b
Add this skill
npx mdskills install tqiqbal/mcp-confluence-serverComprehensive Confluence integration with clear tool descriptions and setup, but overly broad permissions.
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.
This MCP server provides the following operations for Confluence:
pip install -r requirements.txt
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_password
Adjust the values to match your Confluence instance.
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:
mcp dev confluence.py
This will start the MCP Inspector at http://127.0.0.1:6274 by default.
MCP servers are designed to be run with the MCP CLI tool or integrated with Claude Desktop. Direct execution with Python is not the standard way to run an MCP server, but the script includes a fallback mode for testing:
python confluence.py
However, this mode has limited functionality and is only intended for basic testing.
To install the server in Claude Desktop:
mcp install confluence.py
Execute a CQL query on Confluence to search pages.
Parameters:
cql: CQL query stringlimit: Number of results to return (default: 10)Get the content of a Confluence page.
Parameters:
pageId: Confluence Page IDGet a page with its body content.
Parameters:
pageId: Confluence Page IDFind pages by space key.
Parameters:
spaceKey: Confluence Space Keylimit: Maximum number of results to return (default: 10)expand: Optional comma-separated list of properties to expandFind a page by title and space key.
Parameters:
title: Page titlespaceKey: Confluence Space KeyCreate a new page in Confluence.
Parameters:
title: Page titlespaceKey: Confluence Space Keycontent: Page content in storage format (HTML)parentId: Optional parent page IDUpdate an existing page in Confluence.
Parameters:
pageId: Confluence Page IDcontent: New page content in storage format (HTML)title: Optional new title for the pagespaceKey: Optional space key (only needed if changing space)Delete a page by ID.
Parameters:
pageId: Confluence Page IDOnce the server is running and connected to an AI model, you can interact with Confluence using natural language. For example:
MIT
Install via CLI
npx mdskills install tqiqbal/mcp-confluence-serverConfluence MCP Server is a free, open-source AI agent skill. 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. 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 b
Install Confluence MCP Server with a single command:
npx mdskills install tqiqbal/mcp-confluence-serverThis downloads the skill files into your project and your AI agent picks them up automatically.
Confluence MCP Server works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Gemini Cli, Amp, Roo Code, Goose. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.