mcp confluence

Local 2025-09-01 00:33:50 0

A model context server that provides prompts that can be used as slash commands for clients like Zed Editor, in order to add page contents as context to the AI assistant.


[!Important] This repository is still in early development stages, more prompts, resources and tools will be added in the future.

This repository contains the source code for a confluence context server. For now, the server only contains prompts aimed to be used as slash commands by Zed.

mcp-confluence MCP server

Installation

npm install -g mcp-confluence

Usage

The following environment variables must be set: - API_KEY: The API key to authenticate your confluence account. - DOMAIN_NAME: The domain name of your confluence account. example.atlassian.net - EMAIL: The email of your confluence account.

"confluence-context-server": {
  "command": "node",
  "args": [
    "node_modules/mcp-confluence/dist/index.js"
  ],
  "env": {
    "API_TOKEN": "",
    "DOMAIN_NAME": "",
    "EMAIL": ""
  }
}

Zed

Install the confluence-context-server extension. Then, add these settings to your zed settings.


"context_servers": {
    "confluence-context-server": {
      "settings": {
        "api_token": ,
        "domain_name": ,
        "email":
      }
    }
  }
2025-01-18 19-04-24

MCP Inspector

You can also use the MCP Inspector to interact with the server.

npm install @modelcontextprotocol/sdk

npx -y @modelcontextprotocol/inspector npx mcp-confluence

Prompts

Confluence Page

  • name: confluence-page
  • description: Get a confluence page by its id
  • arguments:
  • pageId: The id of the confluence page

Blog Post

  • name: blog-post
  • description: Get a blog post by its id
  • arguments:
  • blogId: The id of the blog post