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

confluence-mcp-server

v1.1.0

Published

Confluence MCP server for Cloud/Server/Data Center search/read/create/update

Readme

confluence-mcp-server

一个面向 Confluence Cloud / Server / Data Center 的 MCP 服务,提供页面搜索、CQL 查询、读取、创建、更新和用户身份查询能力。

功能

  • confluence_search_pages: 按关键词搜索页面
  • confluence_execute_cql_search: 执行原生 CQL 查询
  • confluence_get_page: 按页面 ID 获取内容(storage 格式)
  • confluence_create_page: 创建页面(支持可选 parentId
  • confluence_update_page: 更新页面内容并自动递增版本
  • confluence_get_current_user: 获取当前认证用户(whoami)

环境要求

  • Node.js 18+
  • 可访问的 Confluence Cloud / Server / Data Center

快速开始

npm install
npm run build
npm start

通过 npx 使用(推荐)

发布到 npm 后,可在 MCP 客户端中直接使用 npx 启动,无需手动克隆仓库:

{
  "mcpServers": {
    "confluence": {
      "command": "npx",
      "args": ["-y", "confluence-mcp-server"],
      "env": {
        "CONF_MODE": "server",
        "CONF_BASE_URL": "https://confluence.example.com",
        "CONF_USERNAME": "your-username",
        "CONF_TOKEN": "your-token",
        "CONF_DEFAULT_SPACE": "DOC"
      }
    }
  }
}

环境变量

  • CONF_BASE_URL: Confluence 基础地址,例如 https://confluence.example.com
  • CONF_MODE: 部署模式,cloudserver(默认 server
  • CONF_AUTH_MODE: 认证模式,auto / basic / bearer(默认 auto
  • CONF_USERNAME: 登录用户名(Cloud 必填;Server 在 basic 模式或使用密码时必填)
  • CONF_PASSWORD: 用户密码(与 CONF_TOKEN 组合按模式使用)
  • CONF_TOKEN: 访问令牌(Cloud 下作为 API Token;Server 下默认走 Bearer)
  • CONF_DEFAULT_SPACE: 默认空间 Key(可选)

MCP 客户端配置示例

{
  "mcpServers": {
    "confluence": {
      "command": "node",
      "args": ["dist/index.js"],
      "env": {
        "CONF_MODE": "server",
        "CONF_BASE_URL": "https://confluence.example.com",
        "CONF_USERNAME": "your-username",
        "CONF_TOKEN": "your-token",
        "CONF_DEFAULT_SPACE": "DOC"
      }
    }
  }
}

说明

  • 该项目当前聚焦 Confluence 能力,不包含 Jira 工具。
  • Cloud 模式固定使用 Basic(CONF_USERNAME + CONF_TOKEN/CONF_PASSWORD)。
  • Server 模式可用 Bearer 或 Basic(CONF_AUTH_MODE=auto 时优先 Bearer)。
  • Cloud 模式 API 基础路径为 /wiki/rest/api,Server 模式为 /rest/api