Skip to main content
Glama

Atlassian Confluence MCP 서버

Atlassian Confluence Cloud용 Node.js/TypeScript 모델 컨텍스트 프로토콜(MCP) 서버입니다. AI 시스템(예: Claude 또는 Cursor AI와 같은 LLM)이 Confluence 공간, 페이지 및 콘텐츠와 실시간으로 안전하게 상호 작용할 수 있도록 지원합니다.

NPM 버전 빌드 상태

왜 이 서버를 사용해야 하나요?

  • 최소 입력, 최대 출력 : 간단한 식별자는 추가 플래그가 필요하지 않고 포괄적인 세부 정보를 제공합니다.

  • 지식 기반에 대한 완벽한 접근 : AI 도우미에게 문서, 위키, 지식 기반 콘텐츠에 대한 가시성을 제공합니다.

  • 풍부한 콘텐츠 형식 : Atlassian 문서 형식을 읽을 수 있는 Markdown으로 자동 변환합니다.

  • 안전한 로컬 인증 : 자격 증명을 사용하여 로컬에서 실행하고 원격 서버에 토큰을 저장하지 않습니다.

  • 직관적인 마크다운 응답 : 모든 출력에 대해 잘 구성되고 일관된 마크다운 형식이 적용됩니다.

Related MCP server: Confluence MCP

MCP란 무엇인가요?

모델 컨텍스트 프로토콜(MCP)은 AI 시스템을 외부 도구 및 데이터 소스에 안전하게 연결하기 위한 개방형 표준입니다. 이 서버는 Confluence Cloud용 MCP를 구현하여 AI 어시스턴트가 Confluence 콘텐츠와 프로그래밍 방식으로 상호 작용할 수 있도록 지원합니다.

필수 조건

  • Node.js (>=18.x): 다운로드

  • Confluence Cloud에 액세스할 수 있는 Atlassian 계정

설정

1단계: Atlassian API 토큰 받기

  1. Atlassian API 토큰 관리 페이지로 이동하세요: https://id.atlassian.com/manage-profile/security/api-tokens

  2. API 토큰 만들기를 클릭합니다.

  3. 설명적인 라벨을 지정합니다(예: mcp-confluence-access ).

  4. 만들기를 클릭합니다.

  5. 생성된 API 토큰을 즉시 복사하세요 . 다시 볼 수 없습니다.

2단계: 자격 증명 구성

옵션 A: MCP 구성 파일(권장)

~/.mcp/configs.json 편집하거나 생성합니다.

지엑스피1

  • <YOUR_SITE_NAME> : Confluence 사이트 이름(예: mycompany.atlassian.net 의 경우 mycompany ).

  • <YOUR_ATLASSIAN_EMAIL> : Atlassian 계정 이메일입니다.

  • <YOUR_COPIED_API_TOKEN> : 1단계의 API 토큰입니다.

옵션 B: 환경 변수

export ATLASSIAN_SITE_NAME="<YOUR_SITE_NAME>" export ATLASSIAN_USER_EMAIL="<YOUR_EMAIL>" export ATLASSIAN_API_TOKEN="<YOUR_API_TOKEN>"

3단계: 설치 및 실행

npx 로 빠르게 시작하기

npx -y @aashari/mcp-server-atlassian-confluence ls-spaces

글로벌 설치

npm install -g @aashari/mcp-server-atlassian-confluence mcp-atlassian-confluence ls-spaces

4단계: AI Assistant에 연결

MCP 호환 클라이언트(예: Claude, Cursor AI)를 구성하세요.

{ "mcpServers": { "confluence": { "command": "npx", "args": ["-y", "@aashari/mcp-server-atlassian-confluence"] } } }

MCP 도구

MCP 도구는 snake_case 이름과 camelCase 매개변수를 사용하고 Markdown 형식의 응답을 반환합니다.

  • conf_ls_spaces : 접근 가능한 Confluence 공간을 나열합니다( type : str opt, status : str opt, limit : num opt, cursor : str opt). 용도: 사용 가능한 공간을 확인합니다.

  • conf_get_space : 자세한 공간 정보를 가져옵니다( spaceKey : str 요청). 용도: 공간 콘텐츠 및 메타데이터에 액세스합니다.

  • conf_ls_pages : 필터링을 사용하여 페이지를 나열합니다( spaceIds : str[] opt, spaceKeys : str[] opt, title : str opt, status : str[] opt, sort : str opt, limit : num opt, cursor : str opt). 사용: 기준에 맞는 페이지를 찾습니다.

  • conf_get_page : 포괄적인 페이지 콘텐츠를 가져옵니다( pageId : 문자열 필요). 사용: 전체 페이지 콘텐츠를 마크다운으로 표시합니다.

  • conf_ls_page_comments : 페이지의 댓글을 나열합니다( pageId : 문자열 필수). 용도: 페이지 토론을 읽습니다.

  • conf_search : Confluence 콘텐츠를 검색합니다( cql : str opt, query : str opt, title : str opt, spaceKey : str opt, labels : str[] opt, contentType : str opt, limit : num opt, cursor : str opt). 용도: 특정 콘텐츠를 찾습니다.

conf_ls_spaces

글로벌 공간 나열:

{ "type": "global", "status": "current", "limit": 10 }

conf_get_space

공간 세부 정보 받기:

{ "spaceKey": "DEV" }

conf_ls_pages

공간 및 제목별 페이지 목록:

{ "spaceKeys": ["DEV"], "title": "API Documentation", "status": ["current"], "sort": "-modified-date" }

여러 공간에서 페이지 나열:

{ "spaceKeys": ["DEV", "HR", "MARKETING"], "limit": 15, "sort": "-modified-date" }

conf_get_page

페이지 콘텐츠 가져오기:

{ "pageId": "12345678" }

conf_ls_page_comments

목록 페이지 댓글:

{ "pageId": "12345678" }

간단 검색:

{ "query": "release notes Q1", "spaceKey": "PRODUCT", "contentType": "page", "limit": 5 }

고급 CQL 검색:

{ "cql": "space = DEV AND label = api AND created >= '2023-01-01'" }

CLI 명령

CLI 명령은 kebab-case 사용합니다. 자세한 내용을 보려면 --help 실행하세요(예: mcp-atlassian-confluence ls-spaces --help ).

  • ls-spaces : 공백을 나열합니다( --type , --status , --limit , --cursor ). 예: mcp-atlassian-confluence ls-spaces --type global .

  • get-space : 공간 세부 정보를 가져옵니다( --space-key ). 예: mcp-atlassian-confluence get-space --space-key DEV .

  • ls-pages : 페이지를 나열합니다( --space-keys , --title , --status , --sort , --limit , --cursor ). 예: mcp-atlassian-confluence ls-pages --space-keys DEV .

  • get-page : 페이지 콘텐츠를 가져옵니다( --page-id ). 예: mcp-atlassian-confluence get-page --page-id 12345678 .

  • ls-page-comments : 주석을 나열합니다( --page-id ). 예: mcp-atlassian-confluence ls-page-comments --page-id 12345678 .

  • 검색 : 콘텐츠를 검색합니다( --cql , --query , --space-key , --label , --type , --limit , --cursor ). 예: mcp-atlassian-confluence search --query "security" .

공간 나열

글로벌 공간 나열:

mcp-atlassian-confluence ls-spaces --type global --status current --limit 10

공간을 확보하세요

mcp-atlassian-confluence get-space --space-key DEV

목록 페이지

여러 개의 스페이스 키로:

mcp-atlassian-confluence ls-pages --space-keys DEV HR MARKETING --limit 15 --sort "-modified-date"

제목 필터 사용:

mcp-atlassian-confluence ls-pages --space-keys DEV --title "API Documentation" --status current

페이지 가져오기

mcp-atlassian-confluence get-page --page-id 12345678

목록 페이지 댓글

mcp-atlassian-confluence ls-page-comments --page-id 12345678

찾다

간단 검색:

mcp-atlassian-confluence search --query "security best practices" --space-key DOCS --type page --limit 5

CQL 검색:

mcp-atlassian-confluence search --cql "label = official-docs AND creator = currentUser()"

응답 형식

모든 응답은 다음을 포함하여 Markdown 형식으로 작성됩니다.

  • 제목 : 콘텐츠 유형 및 이름.

  • 콘텐츠 : 전체 페이지 콘텐츠, 검색 결과 또는 항목 목록입니다.

  • 메타데이터 : 작성자, 날짜, 라벨 및 기타 관련 정보.

  • 페이지 번호 매기기 : 페이지 번호가 매겨진 결과에 대한 탐색 정보입니다.

  • 링크 : 해당되는 경우 관련 자료에 대한 참조입니다.

공간 목록 응답

# Confluence Spaces Showing **5** global spaces (current) | Key | Name | Description | |---|---|---| | [DEV](#) | Development | Engineering and development documentation | | [HR](#) | Human Resources | Employee policies and procedures | | [MARKETING](#) | Marketing | Brand guidelines and campaign materials | | [PRODUCT](#) | Product | Product specifications and roadmaps | | [SALES](#) | Sales | Sales processes and resources | *Retrieved from mycompany.atlassian.net on 2025-05-19 14:22 UTC* Use `cursor: "next-page-token-123"` to see more spaces.

페이지 콘텐츠 응답

# API Authentication Guide **Space:** [DEV](#) (Development) **Created by:** Jane Smith on 2025-04-01 **Last updated:** John Doe on 2025-05-15 **Labels:** api, security, authentication ## Overview This document outlines the authentication approaches supported by our API platform. ## Authentication Methods ### OAuth 2.0 We support the following OAuth 2.0 flows: 1. **Authorization Code Flow** - For web applications 2. **Client Credentials Flow** - For server-to-server 3. **Implicit Flow** - For legacy clients only ### API Keys Static API keys are supported but discouraged for production use due to security limitations: | Key Type | Use Case | Expiration | |---|---|---| | Development | Testing | 30 days | | Production | Live systems | 90 days | ## Implementation Examples import requests def get_oauth_token(): return requests.post( 'https://api.example.com/oauth/token', data={ 'client_id': 'YOUR_CLIENT_ID', 'client_secret': 'YOUR_CLIENT_SECRET', 'grant_type': 'client_credentials' } ).json()['access_token'] *Retrieved from mycompany.atlassian.net on 2025-05-19 14:25 UTC*

개발

# Clone repository git clone https://github.com/aashari/mcp-server-atlassian-confluence.git cd mcp-server-atlassian-confluence # Install dependencies npm install # Run in development mode npm run dev:server # Run tests npm test

기여하다

기여를 환영합니다! 다음 내용을 알려주세요.

  1. 저장소를 포크합니다.

  2. 기능 브랜치를 생성합니다( git checkout -b feature/xyz ).

  3. 변경 사항 커밋( git commit -m "Add xyz feature" )

  4. 브랜치에 푸시합니다( git push origin feature/xyz ).

  5. 풀 리퀘스트를 엽니다.

자세한 내용은 CONTRIBUTING.md를 참조하세요.

특허

ISC 라이센스

Latest Blog Posts

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/aashari/mcp-server-atlassian-confluence'

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