mcp-confluence
Provides tools for searching, reading, creating, and updating pages in Confluence Cloud, as well as listing spaces.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-confluencesearch for pages about Q4 planning"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-confluence
A minimal Node.js MCP server that connects GitHub Copilot in VS Code to Confluence Cloud via the REST API. No third-party Atlassian wrappers — every line is owned by you.
Features
Tool | Description |
| CQL full-text search across pages |
| Fetch a page's full content as plain text |
| List all accessible spaces |
| Create a new child page under a parent |
| Update the title and/or body of an existing page |
Related MCP server: Confluence Node MCP Server
Prerequisites
Node.js 18+
A Confluence Cloud instance
An Atlassian OAuth 2.0 (3LO) app with:
Callback URL:
http://localhost:8080/callbackScopes:
read:confluence-content.all,read:confluence-space.summary,write:confluence-content
Setup
1. Install dependencies
npm install2. Configure credentials
cp .env.example .envEdit .env:
CONFLUENCE_CLIENT_ID=your-client-id
CONFLUENCE_CLIENT_SECRET=your-client-secret
CONFLUENCE_URL=https://your-org.atlassian.net/wiki3. Authorise (one-time)
node auth.jsThis opens your browser, completes the OAuth flow, and saves tokens to ~/.confluence-mcp/tokens.json (permissions 600). You only need to do this once — the server refreshes tokens automatically.
4. Add to VS Code
Open your MCP configuration (Cmd+Shift+P → MCP: Open User Configuration) and add:
{
"servers": {
"confluence": {
"type": "stdio",
"command": "node",
"args": ["/absolute/path/to/confluence-mcp/server.js"],
"env": {
"CONFLUENCE_CLIENT_ID": "your-client-id",
"CONFLUENCE_CLIENT_SECRET": "your-client-secret",
"CONFLUENCE_URL": "https://your-org.atlassian.net/wiki"
}
}
}
}Reload the VS Code window and the tools will appear in Copilot Chat.
Usage examples
Search pages: confluence_search("ancestor = 214728778")
Read a page: confluence_get_page("214728778")
List spaces: confluence_list_spaces()
Create a child page: confluence_create_page(spaceKey="DPT", parentId="214728778", title="My Page", body="Hello world")
Update a page: confluence_update_page(pageId="123456", title="Updated Title", body="New content", version=3)Tip: Always call
confluence_get_pagebeforeconfluence_update_pageto get the currentversionnumber — the API requires it.
Security
Credentials are never stored in the repository.
The token file (
~/.confluence-mcp/tokens.json) lives outside the project and is created with mode600..envis git-ignored.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/paifas/mcp-confluence'
If you have feedback or need assistance with the MCP directory API, please join our Discord server