Skip to main content
Glama

Confluence MCP

by cosmix

コンフルエンスMCP

Confluence 用のモデル コンテキスト プロトコル (MCP) サーバー。AI アシスタントが標準化されたインターフェースを通じて Confluence コンテンツを操作できるようになります。

ℹ️ Jira には別の MCP サーバーがあります

特徴

  • 個人用APIトークンを使用してConfluenceに認証する
  • Confluence のページとスペースを取得および検索する
  • Confluence コンテンツの作成と更新
  • ページのコメントを取得して追加する
  • 添付ファイルを取得してページに追加する
  • Confluence コンテンツを AI 向けにクリーンアップして変換する
  • API通信、エラー処理、データ変換を処理する
  • APIの不正使用を防ぐための基本的なレート制限

前提条件

  • Bun (v1.0.0以上)
  • APIアクセス権限を持つConfluenceアカウント

インストール

# Clone the repository git clone https://github.com/cosmix/confluence-mcp.git cd confluence-mcp # Install dependencies bun install # Build the project bun run build

構成

この MCP サーバーを使用するには、次の環境変数を設定する必要があります。

CONFLUENCE_API_TOKEN=your_api_token CONFLUENCE_BASE_URL=your_confluence_instance_url # e.g., https://your-domain.atlassian.net/wiki CONFLUENCE_USER_EMAIL=your_email

クロードデスクトップ/クライン構成

設定ファイルに次の構成を追加します。

{ "mcpServers": { "confluence": { "command": "bun", "args": ["/absolute/path/to/confluence-mcp/dist/index.js"], "env": { "CONFLUENCE_API_TOKEN": "your_api_token", "CONFLUENCE_BASE_URL": "your_confluence_instance_url/wiki", "CONFLUENCE_USER_EMAIL": "your_email" } } } }

発達

# Run in development mode bun run dev # Run tests bun test

利用可能なツール

Confluence MCP サーバーは次のツールを公開します。

get_page

ConfluenceページをIDで取得します。Formatはコンテンツの返される形式を示し、 textまたはmarkdownいずれかになります。includeMarkup includeMarkupを使用すると、元のConfluence Storage Format(XHTML)マークアップを取得できます。これは、書式設定を維持しながらページを更新するのに役立ちます。

{ "pageId": "123456", "format": "text", "includeMarkup": true }

検索ページ

CQL(Confluenceクエリ言語)を使用してConfluenceページを検索します。Formatはコンテンツの返される形式を示し、 textまたはmarkdownいずれかになります。includeMarkupパラメータincludeMarkup使用すると、各ページの元のConfluence Storage Format(XHTML)マークアップを取得できます。

{ "query": "space = DEV and label = documentation", "limit": 10, "format": "text", "includeMarkup": true }

スペースを取得する

利用可能なすべての Confluence スペースを一覧表示します。

{ "limit": 50 }

ページを作成

新しいConfluenceページを作成します。parentId parentIdオプションで、既存のページの下に子ページを作成するために使用できます。

{ "spaceKey": "DEV", "title": "New Page Title", "content": "<p>Page content in Confluence Storage Format (XHTML)</p>", "parentId": "123456" }

更新ページ

既存の Confluence ページを更新します。

{ "pageId": "123456", "title": "Updated Page Title", "content": "<p>Updated content in Confluence Storage Format (XHTML)</p>", "version": 1 }

get_comments

特定のConfluenceページのコメントを取得します。返されるコメントの形式はtextまたはmarkdown形式です。

{ "pageId": "123456", "limit": 25, "format": "text" }

コメントを追加

Confluence ページにコメントを追加します。スレッド形式の返信を作成する場合、 parentIdオプションです。

{ "pageId": "123456", "content": "<p>This is a new comment.</p>", "parentId": "789012" }

添付ファイルの取得

特定の Confluence ページの添付ファイルを取得します。

{ "pageId": "123456", "limit": 25 }

添付ファイルを追加

Confluenceページに添付ファイルを追加します。fileContentBase64 fileContentBase64 、ファイルコンテンツのBase64エンコードされた文字列である必要があります。

{ "pageId": "123456", "filename": "document.pdf", "fileContentBase64": "JVBERi0xLjQKJeLjz9MKMSAwIG9iago8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFI+P...", "comment": "Uploaded new version of the document" }

ライセンス

このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENCEファイルを参照してください。

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

AI アシスタントが Confluence コンテンツと対話し、ページやスペースの取得、検索、作成、更新などの操作をサポートできるようにするモデル コンテキスト プロトコル サーバー。

  1. 特徴
    1. 前提条件
      1. インストール
        1. 構成
          1. クロードデスクトップ/クライン構成
        2. 発達
          1. 利用可能なツール
            1. get\_page
            2. 検索ページ
            3. スペースを取得する
            4. ページを作成
            5. 更新ページ
            6. get\_comments
            7. コメントを追加
            8. 添付ファイルの取得
            9. 添付ファイルを追加
          2. ライセンス

            Related MCP Servers

            • A
              security
              F
              license
              A
              quality
              Enables AI assistants to interact with Confluence Cloud for managing spaces, pages, and content via the Model Context Protocol (MCP).
              Last updated -
              11
              13
              TypeScript
            • A
              security
              F
              license
              A
              quality
              A Model Context Protocol server that connects AI assistants like Claude to Notion workspaces, enabling them to view, search, create, and update Notion databases, pages, and content blocks.
              Last updated -
              12
              194
              JavaScript
              • Apple
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that enables AI assistants like Claude to interact with Outline document services, supporting document searching, reading, creation, editing, and comment management.
              Last updated -
              25
              19
              Python
              MIT License
            • A
              security
              F
              license
              A
              quality
              A Model Context Protocol server that enables AI assistants like Claude to access and search Atlassian Confluence content, allowing integration with your organization's knowledge base.
              Last updated -
              5
              264
              9
              TypeScript
              • Apple

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/cosmix/confluence-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server