mcp-confluence

mcp-confluence

Enables searching, reading, listing, creating, and updating Confluence pages via natural language in GitHub Copilot.

Category
Visit Server

README

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
confluence_search CQL full-text search across pages
confluence_get_page Fetch a page's full content as plain text
confluence_list_spaces List all accessible spaces
confluence_create_page Create a new child page under a parent
confluence_update_page Update the title and/or body of an existing page

Prerequisites

  • Node.js 18+
  • A Confluence Cloud instance
  • An Atlassian OAuth 2.0 (3LO) app with:
    • Callback URL: http://localhost:8080/callback
    • Scopes: read:confluence-content.all, read:confluence-space.summary, write:confluence-content

Setup

1. Install dependencies

npm install

2. Configure credentials

cp .env.example .env

Edit .env:

CONFLUENCE_CLIENT_ID=your-client-id
CONFLUENCE_CLIENT_SECRET=your-client-secret
CONFLUENCE_URL=https://your-org.atlassian.net/wiki

3. Authorise (one-time)

node auth.js

This 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+PMCP: 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_page before confluence_update_page to get the current version number — 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 mode 600.
  • .env is git-ignored.

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured