npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mcp-confluence-data-center

v1.0.2

Published

MCP server for Confluence Server/Data Center

Readme

Confluence Server MCP

A Model Context Protocol (MCP) server that connects AI assistants to Confluence Server/Data Center. Search pages, manage content, handle attachments, and interact with your Confluence instance through natural language in Claude and other AI assistants.

Quick Start

Get Your Confluence Server Credentials

  1. Log into your Confluence Server instance
  2. Go to Profile > Settings > Personal Access Tokens
  3. Click Create token
  4. Give it a name and copy the generated token
  5. Note your Confluence Server URL (e.g., https://confluence.yourcompany.com)

Configuration

Claude Code

Add the server using the Claude Code CLI:

claude mcp add -s user \
    confluence-server \
    npx mcp-confluence-data-center@latest \
    -e "CONFLUENCE_URL=https://confluence.yourcompany.com" \
    -e "CONFLUENCE_TOKEN=your_personal_access_token"

Manual Configuration (Any MCP Client)

Add this configuration to your MCP client's configuration file:

{
  "mcpServers": {
    "confluence-server": {
      "command": "npx",
      "args": ["mcp-confluence-data-center@latest"],
      "type": "stdio",
      "env": {
        "CONFLUENCE_URL": "https://confluence.yourcompany.com",
        "CONFLUENCE_TOKEN": "your_personal_access_token"
      }
    }
  }
}

Available Tools

The server provides 16 MCP tools for Confluence Server operations. All tools are prefixed with confluence_ to avoid name collisions.

Search (1 tool)

  • confluence_search - Search content with CQL (Confluence Query Language)

Pages (6 tools)

  • confluence_get_page - Get page content (by ID, or by title + space key; supports historical versions)
  • confluence_get_page_children - Get child pages of a page
  • confluence_get_page_history - Get version history of a page
  • confluence_create_page - Create a new page
  • confluence_update_page - Update page content (auto-fetches version if not provided)
  • confluence_delete_page - Delete a page

Comments (2 tools)

  • confluence_get_comments - Get comments on a page
  • confluence_add_comment - Add a comment to a page

Labels (2 tools)

  • confluence_get_labels - Get labels on a page
  • confluence_add_label - Add labels to a page

Attachments (5 tools)

  • confluence_get_attachments - List attachments on a page
  • confluence_download_attachment - Download a single attachment
  • confluence_download_all_attachments - Download all attachments from a page
  • confluence_upload_attachment - Upload files to a page (supports multiple files)
  • confluence_delete_attachment - Delete an attachment

Example Queries

  • "Search for pages about deployment in the DOCS space"
  • "Get the contents of the Architecture Overview page in DOCS"
  • "Create a new page under the team space with meeting notes"
  • "Update the runbook page with the new procedure"
  • "Download all attachments from page 12345"
  • "Add the 'reviewed' label to the design document"
  • "Show me the version history of the API spec page"

Development

From Source

git clone https://github.com/evrimalacan/mcp-confluence-data-center.git
cd mcp-confluence-data-center
npm install
npm run build
npm run dev

See CLAUDE.md for detailed development guidelines.

Troubleshooting

Common Issues

"Authentication failed"

  • Verify your Personal Access Token is correct
  • Ensure the token has not expired

"Access forbidden"

  • Check your Confluence user has permission for the space or page
  • Verify space-level permissions

"Resource not found"

  • Confirm the page ID, space key, or attachment ID is correct
  • Check you have access to the specified resource

Documentation

License

MIT License - see LICENSE file for details.