execute_cql_search
Execute a CQL query on Confluence to search pages
Search Confluence with CQL, read a page's content, and write an update back — three tools over an Atlassian Cloud wiki.
LABSCO SUMMARY
Exposing Confluence's query language rather than a simplified search box means an assistant can ask for pages in one space, modified since a date, by a given author — which is how you find the right document in a wiki that has thousands. Writing is included, and it is a whole-body replacement, so treat update_page_content as the last step of a read-edit-write sequence rather than a way to add a line.
A small MCP server for Confluence Cloud. Search runs through CQL, Confluence's own query language, so the filtering happens on the server rather than by pulling pages down and reading them; content can then be fetched by page id and written back.
execute_cql_searchget_page_contentupdate_page_contentAn Atlassian account with access to the wiki, plus an API token created from the Atlassian security settings. Three values are needed: CONFLUENCE_URL for the wiki base URL, CONFLUENCE_API_MAIL for the account email, and CONFLUENCE_API_KEY for the token. The npm package name is jira_communication_server (0.2.0) and it is marked private, so build from a clone with npm install and npm run build. update_page_content replaces a page's body, so read the current content first if you mean to append rather than overwrite.
Build from source
USE CASES
Run a CQL query scoped to a space and a date range instead of a keyword search across the whole wiki, then read the top result.
Read the current page, work out the changes in the conversation, and write the revised body back with the same or a new title.
Search for the related pages, pull their content, and have the model produce the overview that the wiki never had.
Query by last-modified date in CQL to list the documents nobody has touched, and open the ones that matter.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
execute_cql_searchExecute a CQL query on Confluence to search pages
get_page_contentGet the content of a Confluence page
update_page_contentUpdate the content of a Confluence page
BEFORE YOU INSTALL
3 tools when we connected.
CONTEXT COST
Rated by the size of the 3 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
git clone https://github.com/KS-GEN-AI/confluence-mcp-server
cd confluence-mcp-server
npm install
npm run build{
"mcpServers": {
"Confluence communication server": {
"command": "node",
"args": [
"<YOUR_PATH_TO_PROJECT>/build/index.js"
],
"env": {
"CONFLUENCE_URL": "https://<YOUR_SUBDOMAIN>.atlassian.net/wiki",
"CONFLUENCE_API_MAIL": "<YOUR_CONFLUENCE_API_MAIL>",
"CONFLUENCE_API_KEY": "KEY_FROM: https://id.atlassian.com/manage-profile/security/api-tokens"
}
}
}
}