confluence-mcp-server
by: KS-GEN-AI
A test of confluence mcp server
📌Overview
Purpose: To provide a TypeScript-based server for interacting with Confluence through core MCP concepts and functionalities.
Overview: The Confluence Communication Server is designed to facilitate interactions with Confluence by allowing users to execute CQL queries and retrieve page content easily. It exemplifies the Model Context Protocol (MCP) server setup while streamlining communication with Confluence platforms.
Key Features:
-
Execute CQL Search: This feature allows users to run CQL queries to search for Confluence pages, maximizing efficiency in finding relevant content. It supports parameters such as
cql
andlimit
. -
Get Page Content: This functionality enables the retrieval of a specific Confluence page's content by its
pageId
, ensuring that users can access detailed information as needed.
Confluence Communication Server MCP Server
This TypeScript-based MCP server provides tools to interact with Confluence and demonstrates core MCP concepts by offering:
- Execution of CQL queries to search pages
- Retrieval of Confluence page content
Features
Confluence Tools
execute_cql_search
- Purpose: Run a CQL query to search for Confluence pages.
- Parameters:
cql
,limit
(default: 10)
get_page_content
- Purpose: Fetch the content of a Confluence page.
- Parameters:
pageId
Development
Install dependencies:
npm install
Build the server:
npm run build
For development with auto-rebuild:
npm run watch
Installation
To use with Claude Desktop, add the server config:
On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"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"
}
}
}
}
Debugging
Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:
npm run inspector
The Inspector will provide a URL to access debugging tools in your browser.