Confluence Mcp Server — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Confluence Mcp Server (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Model Context Protocol (MCP) server for Confluence Cloud search and management. Enables Claude Code to connect to your Confluence instance for searching, reading, and managing documentation with built-in best-practice linting.
confluence_ping - Test connection and verify authenticationconfluence_whoami - Get authenticated user informationconfluence_list_spaces - List accessible Confluence spacesconfluence_search - Search using CQL (Confluence Query Language)confluence_get_page_by_title - Find pages by exact titleconfluence_list_pages - List pages in a spaceconfluence_get_page - Get full page content and metadataconfluence_get_page_metadata - Get metadata without bodyconfluence_get_children - Get child pagesconfluence_create_page - Create new pages (with dry-run)confluence_update_page - Update existing pages (with dry-run)confluence_add_labels - Add labels to pagesconfluence_remove_labels - Remove labels from pagesconfluence_archive_page - Archive pages (with dry-run)All write operations support dryRun: true for previewing changes.
confluence_lint_page - Check pages for best practice violationsconfluence_suggest_improvements - Get actionable improvement suggestionsChecks for:
cd ~/repos/confluence-mcp-server
npm installCreate a .env file from the template:
cp .env.example .envEdit .env with your Confluence details:
# Your Confluence Cloud instance
CONFLUENCE_BASE_URL=https://your-domain.atlassian.net
# Your Atlassian account email
[email protected]
# API token (generate at https://id.atlassian.com/manage-profile/security/api-tokens)
CONFLUENCE_API_TOKEN=your-api-token-here
# Enable write operations (default: false)
CONFLUENCE_WRITE_ENABLED=false
# Optional: Restrict write operations to specific spaces
# CONFLUENCE_ALLOWED_SPACES=TEAM,DOCS,WIKI
# Optional: Enable audit logging (default: true)
CONFLUENCE_AUDIT_LOG=true.env fileEdit ~/.claude.json and add to the global mcpServers section:
{
"mcpServers": {
"confluence": {
"type": "stdio",
"command": "/Users/joshuamullet/repos/confluence-mcp-server/start-mcp-server.sh",
"args": [],
"env": {}
}
}
}Important:
start-mcp-server.shmcpServers, NOT inside a project's mcpServers"type": "stdio" fieldFully restart Claude Code to load the new MCP server:
# Exit current session
/exit
# Start new session
claude-codeIn Claude Code, check that the server is loaded:
/mcpYou should see confluence listed with connection status.
Test your Confluence connection:
Can you ping the Confluence server and show me the current user?Claude will call confluence_ping and confluence_whoami to verify connectivity.
Search all spaces:
Search Confluence for pages about "API documentation"Search specific space:
Search for pages in the TEAM space that contain "deployment"Advanced CQL:
Search Confluence using this CQL: type=page AND space=DOCS AND lastModified >= "2025-01-01"Get page by title:
Get the page titled "Getting Started" from the TEAM spaceGet page by ID:
Show me the content of Confluence page 123456List pages:
List all pages in the DOCS spaceGet page tree:
Show me all child pages of page 123456Lint a page:
Lint Confluence page 123456 for best practice issuesGet improvement suggestions:
Suggest improvements for Confluence page 123456Example output:
{
"pageId": "123456",
"pageTitle": "API Documentation",
"totalFindings": 3,
"findings": [
{
"severity": "warning",
"category": "metadata",
"message": "Missing owner or contact information",
"recommendation": "Add an 'Owner' or 'Contact' section"
},
{
"severity": "info",
"category": "labels",
"message": "Page has no labels",
"recommendation": "Add labels to improve discoverability"
}
]
}Important: Write operations require CONFLUENCE_WRITE_ENABLED=true in your .env file.
Create a page:
Create a new page in the TEAM space titled "New Feature" with this content:
<h1>Overview</h1>
<p>This is a new feature.</p>Update a page (dry-run first):
Update page 123456 with a new title "Updated Title" - show me what will change firstAdd labels:
Add labels "documentation" and "api" to page 123456.env (gitignored, never committed)CONFLUENCE_WRITE_ENABLED=truetail -f ~/.claude/logs/*.log/mcp~/.claude.json configuration:mcpServers section?start-mcp-server.sh absolute and correct?"type": "stdio" present? cd ~/repos/confluence-mcp-server
node mcp-server.jsShould output: Confluence MCP Server running on stdio
tail -f ~/.claude/logs/*.logCONFLUENCE_BASE_URL is correct (should be https://your-domain.atlassian.net)CONFLUENCE_EMAIL matches your Atlassian account curl -u "your-email:your-token" "https://your-domain.atlassian.net/wiki/rest/api/space"CONFLUENCE_WRITE_ENABLED=true in .env.envError: Missing required environment variables
Solution:
.env file exists in the server directoryCQL (Confluence Query Language) examples:
type=page AND space=TEAM
type=page AND title~"API"
type=page AND space=DOCS AND lastModified >= "2025-01-01"
type=page AND label="documentation"
creator=currentUser()See Confluence CQL documentation for more.
Most list operations support pagination:
{
"limit": 25, // Results per page (max 100)
"start": 0 // Offset (0 = first page, 25 = second page, etc.)
}All write operations support dry-run:
{
"pageId": "123456",
"title": "New Title",
"dryRun": true // Preview changes without applying
}Returns what would be changed without making actual modifications.
confluence-mcp-server/
├── mcp-server.js # Main MCP server (loads dotenv first)
├── start-mcp-server.sh # Shell wrapper for Claude Code
├── tools/
│ ├── confluence-client.js # Confluence REST API client
│ └── best-practices.js # Linting and suggestions
├── package.json
├── .env # Your credentials (gitignored)
├── .env.example # Template
├── .gitignore
└── README.mdTest individual API calls:
cd ~/repos/confluence-mcp-server
node -e "
import('./tools/confluence-client.js').then(async ({ ConfluenceClient }) => {
const client = new ConfluenceClient(
process.env.CONFLUENCE_BASE_URL,
process.env.CONFLUENCE_EMAIL,
process.env.CONFLUENCE_API_TOKEN
);
const result = await client.ping();
console.log(result);
});
"ISC
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.