返回市场
汇聚-mcp-服务器

汇聚-mcp-服务器

作者:KS-GEN-AI13 星标更新:2025-05-12

项目介绍

Confluence Communication Server MCP Server

smithery 徽章

与 Confluence 交互

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

  • 执行 CQL 查询以搜索页面的工具
  • 获取 Confluence 页面内容的工具
  • 更新 Confluence 页面内容的工具
<a href="https://glama.ai/mcp/servers/850t5hxya0"> <img width="380" height="200" src="https://gips3.baidu.com/it/u=1650224307,2428317961&fm=3081&app=3081&f=PNG?w=760&h=400" alt="Confluence Communication Server MCP 服务器" /> </a>

功能

Confluence 工具

execute_cql_search

  • 目的:运行一个 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 自动安装 Confluence Communication Server MCP 服务器到 Claude Desktop:

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": "您的邮箱",
        "CONFLUENCE_API_KEY": "从 https://id.atlassian.com/manage-profile/security/api-tokens 获取的密钥"
      }
    }
  }
}

调试

由于 MCP 服务器通过标准 I/O 进行通信,调试可能会很困难。我们推荐使用 MCP Inspector,它作为一个包脚本可用:

npm run inspector

Inspector 将提供一个 URL,您可以在浏览器中访问调试工具。