Skip to main content
Glama
Confluence Communication Server

Confluence Communication Server

Confluence 通信服务器 MCP 服务器

铁匠徽章

与 Confluence 交互

这是一个基于 TypeScript 的 MCP 服务器,提供与 Confluence 交互的工具。它通过以下方式演示了 MCP 的核心概念:

  • 用于执行 CQL 查询以搜索页面的工具

  • 用于检索 Confluence 页面内容的工具

  • 用于更新 Confluence 页面内容的工具

特征

Related MCP server: Confluence MCP Server

Confluence 工具

  • 目的:运行 CQL 查询来搜索 Confluence 页面。

  • 参数: cql , limit (默认值:10)。

get_page_content

  • 目的:获取 Confluence 页面的内容。

  • 参数: pageId 。

update_page_content

  • 目的:更新 Confluence 页面的内容。

  • 参数: pageId 、 content 、 title (可选,如果您想更改它)。

发展

安装依赖项:

npm install

构建服务器:

npm run build

对于使用自动重建的开发:

npm run watch

安装

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 Confluence Communication Server MCP Server:

npx -y @smithery/cli install @KS-GEN-AI/confluence-mcp-server --client claude

要与 Claude Desktop 一起使用,请添加服务器配置:

在 MacOS 上: ~/Library/Application Support/Claude/claude_desktop_config.json
在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "Confluence communication server": {
      "command": "node",
      "args": ["/PATH_TO_THE_PROJECT/build/index.js"],
      "env": {
        "CONFLUENCE_URL": "https://XXXXXXXX.atlassian.net/wiki",
        "CONFLUENCE_API_MAIL": "Your email",
        "CONFLUENCE_API_KEY": "KEY_FROM: https://id.atlassian.com/manage-profile/security/api-tokens"
      }
    }
  }
}

调试

由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:

npm run inspector

检查器将提供一个 URL 来访问浏览器中的调试工具。

Available Tools

3 tools
get_page_contentB

Get the content of a Confluence page

Inputs: pageId (required).

update_page_contentC

Update the content of a Confluence page

Inputs: pageId (required), content (required), title.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: execute_cql_search handles search queries, get_page_content retrieves page content, and update_page_content modifies page content. There is no overlap or ambiguity between these functions, making tool selection straightforward for an agent.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern (execute_cql_search, get_page_content, update_page_content) with clear action verbs and descriptive nouns. This uniformity enhances readability and predictability across the tool set.

    Tool Count3/5

    With only 3 tools, the set feels thin for a Confluence server, lacking operations like creating or deleting pages, managing comments, or handling attachments. While the tools cover basic read/update/search, the scope is limited and may require workarounds for full domain coverage.

    Completeness2/5

    The tool set is significantly incomplete for Confluence communication, missing essential CRUD operations such as create_page and delete_page, as well as functionalities for comments, spaces, or user management. This will likely cause agent failures when attempting comprehensive workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers