Gathering detailed insights and metrics for @aashari/mcp-server-atlassian-confluence
Gathering detailed insights and metrics for @aashari/mcp-server-atlassian-confluence
Gathering detailed insights and metrics for @aashari/mcp-server-atlassian-confluence
Gathering detailed insights and metrics for @aashari/mcp-server-atlassian-confluence
Node.js/TypeScript MCP server for Atlassian Confluence. Provides tools enabling AI systems (LLMs) to list/get spaces & pages (content formatted as Markdown) and search via CQL. Connects AI seamlessly to Confluence knowledge bases using the standard MCP interface.
npm install @aashari/mcp-server-atlassian-confluence
Typescript
Module System
Node Version
NPM Version
TypeScript (96.05%)
JavaScript (3.95%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
19 Stars
413 Commits
9 Forks
1 Watchers
10 Branches
3 Contributors
Updated on Jul 13, 2025
Latest Version
1.31.2
Package Id
@aashari/mcp-server-atlassian-confluence@1.31.2
Unpacked Size
570.62 kB
Size
93.01 kB
File Count
113
NPM Version
10.9.2
Node Version
22.16.0
Published on
Jun 22, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
26
A Node.js/TypeScript Model Context Protocol (MCP) server for Atlassian Confluence Cloud. Enables AI systems (e.g., LLMs like Claude or Cursor AI) to securely interact with your Confluence spaces, pages, and content in real time.
Model Context Protocol (MCP) is an open standard for securely connecting AI systems to external tools and data sources. This server implements MCP for Confluence Cloud, enabling AI assistants to interact with your Confluence content programmatically.
mcp-confluence-access
).Edit or create ~/.mcp/configs.json
:
1{ 2 "confluence": { 3 "environments": { 4 "ATLASSIAN_SITE_NAME": "<YOUR_SITE_NAME>", 5 "ATLASSIAN_USER_EMAIL": "<YOUR_ATLASSIAN_EMAIL>", 6 "ATLASSIAN_API_TOKEN": "<YOUR_COPIED_API_TOKEN>" 7 } 8 } 9}
<YOUR_SITE_NAME>
: Your Confluence site name (e.g., mycompany
for mycompany.atlassian.net
).<YOUR_ATLASSIAN_EMAIL>
: Your Atlassian account email.<YOUR_COPIED_API_TOKEN>
: The API token from Step 1.1export ATLASSIAN_SITE_NAME="<YOUR_SITE_NAME>" 2export ATLASSIAN_USER_EMAIL="<YOUR_EMAIL>" 3export ATLASSIAN_API_TOKEN="<YOUR_API_TOKEN>"
npx
1npx -y @aashari/mcp-server-atlassian-confluence ls-spaces
1npm install -g @aashari/mcp-server-atlassian-confluence 2mcp-atlassian-confluence ls-spaces
Configure your MCP-compatible client (e.g., Claude, Cursor AI):
1{ 2 "mcpServers": { 3 "confluence": { 4 "command": "npx", 5 "args": ["-y", "@aashari/mcp-server-atlassian-confluence"] 6 } 7 } 8}
MCP tools use snake_case
names, camelCase
parameters, and return Markdown-formatted responses.
type
: str opt, status
: str opt, limit
: num opt, cursor
: str opt). Use: View available spaces.spaceKey
: str req). Use: Access space content and metadata.spaceIds
: str[] opt, spaceKeys
: str[] opt, title
: str opt, status
: str[] opt, sort
: str opt, limit
: num opt, cursor
: str opt). Use: Find pages matching criteria.pageId
: str req). Use: View full page content as Markdown.pageId
: str req). Use: Read page discussions.cql
: str opt, query
: str opt, title
: str opt, spaceKey
: str opt, labels
: str[] opt, contentType
: str opt, limit
: num opt, cursor
: str opt). Use: Find specific content.conf_ls_spaces
List Global Spaces:
1{ "type": "global", "status": "current", "limit": 10 }
conf_get_space
Get Space Details:
1{ "spaceKey": "DEV" }
conf_ls_pages
List Pages by Space and Title:
1{ 2 "spaceKeys": ["DEV"], 3 "title": "API Documentation", 4 "status": ["current"], 5 "sort": "-modified-date" 6}
List Pages from Multiple Spaces:
1{ 2 "spaceKeys": ["DEV", "HR", "MARKETING"], 3 "limit": 15, 4 "sort": "-modified-date" 5}
conf_get_page
Get Page Content:
1{ "pageId": "12345678" }
conf_ls_page_comments
List Page Comments:
1{ "pageId": "12345678" }
conf_search
Simple Search:
1{ 2 "query": "release notes Q1", 3 "spaceKey": "PRODUCT", 4 "contentType": "page", 5 "limit": 5 6}
Advanced CQL Search:
1{ "cql": "space = DEV AND label = api AND created >= '2023-01-01'" }
This server supports two transport modes for different integration scenarios:
1# Run with STDIO transport (default for AI assistants) 2TRANSPORT_MODE=stdio npx @aashari/mcp-server-atlassian-confluence 3 4# Using npm scripts (after installation) 5npm run mcp:stdio
1# Run with HTTP transport (default when no CLI args) 2TRANSPORT_MODE=http npx @aashari/mcp-server-atlassian-confluence 3 4# Using npm scripts (after installation) 5npm run mcp:http 6 7# Test with MCP Inspector 8npm run mcp:inspect
Transport Configuration:
TRANSPORT_MODE
: Set to stdio
or http
(default: http
for server mode, stdio
for MCP clients)PORT
: HTTP server port (default: 3000)DEBUG
: Enable debug logging (default: false)Authentication:
ATLASSIAN_SITE_NAME
: Your Confluence site nameATLASSIAN_USER_EMAIL
: Your Atlassian account emailATLASSIAN_API_TOKEN
: Your Atlassian API tokenCLI commands use kebab-case
. Run --help
for details (e.g., mcp-atlassian-confluence ls-spaces --help
).
--type
, --status
, --limit
, --cursor
). Ex: mcp-atlassian-confluence ls-spaces --type global
.--space-key
). Ex: mcp-atlassian-confluence get-space --space-key DEV
.--space-keys
, --title
, --status
, --sort
, --limit
, --cursor
). Ex: mcp-atlassian-confluence ls-pages --space-keys DEV
.--page-id
). Ex: mcp-atlassian-confluence get-page --page-id 12345678
.--page-id
). Ex: mcp-atlassian-confluence ls-page-comments --page-id 12345678
.--cql
, --query
, --space-key
, --label
, --type
, --limit
, --cursor
). Ex: mcp-atlassian-confluence search --query "security"
.List Global Spaces:
1mcp-atlassian-confluence ls-spaces --type global --status current --limit 10
1mcp-atlassian-confluence get-space --space-key DEV
By Multiple Space Keys:
1mcp-atlassian-confluence ls-pages --space-keys DEV HR MARKETING --limit 15 --sort "-modified-date"
With Title Filter:
1mcp-atlassian-confluence ls-pages --space-keys DEV --title "API Documentation" --status current
1mcp-atlassian-confluence get-page --page-id 12345678
1mcp-atlassian-confluence ls-page-comments --page-id 12345678
Simple Search:
1mcp-atlassian-confluence search --query "security best practices" --space-key DOCS --type page --limit 5
CQL Search:
1mcp-atlassian-confluence search --cql "label = official-docs AND creator = currentUser()"
All responses are Markdown-formatted, including:
1# Confluence Spaces
2
3Showing **5** global spaces (current)
4
5| Key | Name | Description |
6|---|---|---|
7| [DEV](#) | Development | Engineering and development documentation |
8| [HR](#) | Human Resources | Employee policies and procedures |
9| [MARKETING](#) | Marketing | Brand guidelines and campaign materials |
10| [PRODUCT](#) | Product | Product specifications and roadmaps |
11| [SALES](#) | Sales | Sales processes and resources |
12
13*Retrieved from mycompany.atlassian.net on 2025-05-19 14:22 UTC*
14
15Use `cursor: "next-page-token-123"` to see more spaces.
1# API Authentication Guide
2
3**Space:** [DEV](#) (Development)
4**Created by:** Jane Smith on 2025-04-01
5**Last updated:** John Doe on 2025-05-15
6**Labels:** api, security, authentication
7
8## Overview
9
10This document outlines the authentication approaches supported by our API platform.
11
12## Authentication Methods
13
14### OAuth 2.0
15
16We support the following OAuth 2.0 flows:
17
181. **Authorization Code Flow** - For web applications
192. **Client Credentials Flow** - For server-to-server
203. **Implicit Flow** - For legacy clients only
21
22### API Keys
23
24Static API keys are supported but discouraged for production use due to security limitations:
25
26| Key Type | Use Case | Expiration |
27|---|---|---|
28| Development | Testing | 30 days |
29| Production | Live systems | 90 days |
30
31## Implementation Examples
32
33 import requests
34
35 def get_oauth_token():
36 return requests.post(
37 'https://api.example.com/oauth/token',
38 data={
39 'client_id': 'YOUR_CLIENT_ID',
40 'client_secret': 'YOUR_CLIENT_SECRET',
41 'grant_type': 'client_credentials'
42 }
43 ).json()['access_token']
44
45*Retrieved from mycompany.atlassian.net on 2025-05-19 14:25 UTC*
1# Clone repository 2git clone https://github.com/aashari/mcp-server-atlassian-confluence.git 3cd mcp-server-atlassian-confluence 4 5# Install dependencies 6npm install 7 8# Run in development mode 9npm run dev:server 10 11# Run tests 12npm test
Contributions are welcome! Please:
git checkout -b feature/xyz
).git commit -m "Add xyz feature"
).git push origin feature/xyz
).See CONTRIBUTING.md for details.
No vulnerabilities found.
No security vulnerabilities found.