Explore Confluence integration with TypeScript MCP server for querying and retrieving page content
The Confluence Communication Server MCP Server is a TypeScript-based protocol implementation that bridges AI applications and specific data sources, in this case, Confluence. As an MCP (Model Context Protocol) server, it enables seamless communication between AI tools such as Claude Desktop, Continue, Cursor, and others by adhering to a standardized communication framework. This allows these applications to interact with Confluence effectively, performing tasks like executing CQL queries for searching and retrieving page content.
The Confluence Communication Server MCP Server offers several core features aligned with its MCP capabilities:
cql
, limit
(default value: 10).pageId
.These features are implemented using TypeScript, ensuring robust and maintainable code. The server is designed with compatibility in mind, supporting multiple MCP clients such as Claude Desktop, Continue, Cursor, and others.
The architecture of the Confluence Communication Server MCP Server revolves around adhering to the Model Context Protocol (MCP). This protocol defines a set of rules and methods that ensure consistent communication between AI applications and data sources. The server is structured to handle stdio interactions, making it easy for connected agents like Claude Desktop to execute commands.
The core components include:
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
graph TD
A[MCP Client] --> B[send request to] --> C[MCP Server]
C -->|process request and generate response| D[MCP Server]
D --> E[Confluence API Client]
E -->|fetch data| F[Data Source]
F -->|data| G[MCP Server]
G --> H[return data/response to] --> A
To set up the Confluence Communication Server MCP Server, follow these steps:
Clone the Repository:
git clone https://github.com/confluence-communication-server/mcp-server.git
Install Dependencies:
npm install
Build the Server:
npm run build
Run for Development with Auto-Rebuild:
npm run watch
Configure MCP Client: For use with Claude Desktop, edit the configuration file located at ~/Library/Application Support/Claude/claude_desktop_config.json
or %APPDATA%/Claude/claude_desktop_config.json
.
Add the Server Configuration:
{
"mcpServers": {
"Confluence communication server": {
"command": "node",
"args": [
"/PATH_TO_THE_PROJECT/build/index.js"
],
"env": {
"CONFLUENCE_URL": "https://XXXXXXXX.atlassian.net/wiki",
"CONFLUENCE_API_MAIL": "Your email",
"CONFLUENCE_API_KEY": "KEY_FROM: https://id.atlassian.com/manage-profile/security/api-tokens"
}
}
}
}
A developer might use the execute_cql_search
function to find specific pages within Confluence with relevant documentation. This allows for quick access to critical information, enhancing productivity.
AI applications like Continue can retrieve page contents using get_page_content
. The fetched content can then be integrated into comprehensive documentation or reports generated by the application, ensuring up-to-date and accurate information is constantly available.
The Confluence Communication Server MCP Server supports several well-known MCP clients:
To ensure broad integration and support for various AI tools and applications:
MCP Client | Resources | Tools | Prompts | Status |
---|---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ | Full Support |
Continue | ✅ | ✅ | ✅ | Full Support |
Cursor | ❌ | ✅ | ❌ | Tools Only |
Here is a basic configuration snippet for the Confluence Communication Server:
{
"mcpServers": {
"Confluence communication server": {
"command": "node",
"args": [
"/PATH_TO_THE_PROJECT/build/index.js"
],
"env": {
"CONFLUENCE_URL": "https://XXXXXXXX.atlassian.net/wiki",
"CONFLUENCE_API_MAIL": "Your email",
"CONFLUENCE_API_KEY": "KEY_FROM: https://id.atlassian.com/manage-profile/security/api-tokens"
}
}
}
}
How do I set up the Confluence Communication Server MCP Server?
What are the supported MCP clients?
How do I execute a CQL query from an AI application?
execute_cql_search
function to run queries against Confluence.Can the server handle sensitive data?
What steps should I take if I encounter issues during setup or use?
Contributors can follow these guidelines:
For detailed instructions and more information on development, refer to the contribution guide.
Explore further resources within the broader MCP ecosystem:
By leveraging this comprehensive MCP server, developers and AI application users can enhance their workflows through seamless integration with Confluence data.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica