Confluence MCP Server
Enables AI assistants to interact with Atlassian Confluence Cloud by providing tools to create, update, search, and delete pages. It facilitates seamless content management within Confluence spaces using Markdown and the Confluence REST API.
README
Confluence MCP Server
A Model Context Protocol (MCP) server for integrating AI assistants with Atlassian Confluence Cloud.
Features
- Create pages - Create new pages with Markdown content
- Update pages - Modify existing pages
- Read pages - Retrieve page content by ID
- Search pages - Find pages by title
- List pages - List all pages in a space
- Delete pages - Remove pages from Confluence
Installation
Option 1: From Source
git clone https://github.com/anu-june/confluence-mcp-server.git
cd confluence-mcp-server
npm install
Option 2: Global Install (after publishing to npm)
npm install -g @anu-june/confluence-mcp-server
Configuration
Environment Variables
| Variable | Description | Required |
|---|---|---|
CONFLUENCE_URL |
Your Confluence instance URL (e.g., https://yourname.atlassian.net) |
✅ |
CONFLUENCE_EMAIL |
Your Atlassian account email | ✅ |
CONFLUENCE_API_TOKEN |
Your Confluence API token (Generate here) | ✅ |
CONFLUENCE_SPACE_KEY |
Default space key (optional, can be passed per-tool) | ❌ |
IDE Configuration
Add to your MCP settings (VS Code, Cursor, Antigravity, etc.):
{
"mcpServers": {
"confluence": {
"command": "node",
"args": ["/path/to/confluence-mcp-server/src/index.js"],
"env": {
"CONFLUENCE_URL": "https://yourname.atlassian.net",
"CONFLUENCE_EMAIL": "your@email.com",
"CONFLUENCE_API_TOKEN": "your_api_token"
}
}
}
}
Available Tools
| Tool | Description | Parameters |
|---|---|---|
create_confluence_page |
Create a new page | spaceKey, title, content, parentId? |
update_confluence_page |
Update an existing page | pageId, title, content |
get_confluence_page |
Get page content by ID | pageId |
search_confluence_pages |
Search pages by title | spaceKey, query |
list_confluence_pages |
List all pages in space | spaceKey |
delete_confluence_page |
Delete a page | pageId |
Usage Examples
Once configured, you can ask your AI assistant:
- "Create a new page called 'Sprint Review' in the TEAM space"
- "List all pages in my DOCS space"
- "Update page 12345 with this new content..."
- "Search for pages containing 'architecture' in the DEV space"
Development
# Run locally
npm start
# Run with environment variables
CONFLUENCE_URL=https://yourname.atlassian.net \
CONFLUENCE_EMAIL=you@email.com \
CONFLUENCE_API_TOKEN=token \
npm start
License
MIT License - feel free to use and modify.
Related Projects
- mcp-atlassian - More comprehensive Atlassian integration (Confluence + Jira)
- Atlassian Remote MCP Server - Official Atlassian cloud-based MCP server
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.