Provides secure access to Atlassian Confluence content and spaces using its REST API.
A Model Context Protocol (MCP) server that provides secure access to Atlassian Confluence through its REST API.
To use this MCP server with Claude Code, add it to your MCP configuration file:
The easiest way to add this server is using the claude mcp add-json
command:
# First, build the server
npm run build
# Then add it using claude mcp add-json
claude mcp add-json confluence
When prompted, paste the following JSON configuration:
{
"command": "node",
"args": ["/path/to/confluence_mcp/dist/index.js"],
"env": {
"CONFLUENCE_BASE_URL": "https://your-domain.atlassian.net",
"CONFLUENCE_USERNAME": "your-email@domain.com",
"CONFLUENCE_API_TOKEN": "your-api-token",
"ALLOWED_SPACES": "SPACE1,SPACE2,SPACE3"
}
}
Alternatively, you can manually edit your MCP configuration file (~/.config/claude-code/mcp_servers_config.json
):
{
"mcpServers": {
"confluence": {
"command": "node",
"args": ["/path/to/confluence_mcp/dist/index.js"],
"env": {
"CONFLUENCE_BASE_URL": "https://your-domain.atlassian.net",
"CONFLUENCE_USERNAME": "your-email@domain.com",
"CONFLUENCE_API_TOKEN": "your-api-token",
"ALLOWED_SPACES": "SPACE1,SPACE2,SPACE3"
}
}
}
}
For development or if you prefer running TypeScript directly:
{
"command": "npx",
"args": ["tsx", "/path/to/confluence_mcp/src/index.ts"],
"env": {
"CONFLUENCE_BASE_URL": "https://your-domain.atlassian.net",
"CONFLUENCE_USERNAME": "your-email@domain.com",
"CONFLUENCE_API_TOKEN": "your-api-token",
"ALLOWED_SPACES": "SPACE1,SPACE2,SPACE3"
}
}
ALLOWED_SPACES
should be a comma-separated list of space keys you want to allow access tonpm run build
if using Option 1Once configured, you can use commands like:
Install dependencies:
npm install
Configure environment:
cp .env.example .env
# Edit .env with your Confluence credentials
Build and run:
npm run build
npm start
Or for development:
npm run dev
Create a .env
file with your Confluence credentials:
CONFLUENCE_BASE_URL=https://your-domain.atlassian.net
CONFLUENCE_USERNAME=your-email@domain.com
CONFLUENCE_API_TOKEN=your-api-token
ALLOWED_SPACES=SPACE1,SPACE2,SPACE3
DEBUG=false
# Type checking
npm run typecheck
# Linting
npm run lint
# Testing
npm test
# Build
npm run build
Trello integration for working with boards, lists in boards and cards in lists.
MCP server for the incident management platform Rootly.
Integrates with Notion's API to manage personal todo list
Integrates with the Minimax API for AI-powered image generation and text-to-speech.
Connect to the Taskade platform via MCP. Access tasks, projects, workflows, and AI agents in real-time through a unified workspace and API.
An MCP server for interacting with the YuQue knowledge base, enabling AI assistants to perform operations on documents and information.
Provides direct access to your Bear notes database for comprehensive note management, bypassing standard API limitations.
Interacting with Obsidian via REST API
Connects AI agents to the Feishu/Lark platform for automating tasks like document processing, conversation management, and calendar scheduling.
An MCP extension for the Claude Desktop application that enables automation and integration.