Cover image
Try Now
2025-04-08

Ein FastMCP-basierter Server, der eine nahtlose Integration in die REST-API von Confluence bietet und programmatischen Zugriff auf Konfluenzräume, Seiten und Inhaltssuchfunktionen ermöglicht.

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

Confluence MCP Server

smithery badge

A FastMCP-based server that provides seamless integration with Confluence's REST API, enabling programmatic access to Confluence spaces, pages, and content search functionality.

Key Features

  • Space Management: List and filter Confluence spaces
  • Page Operations: Retrieve and manage page content
  • Search Functionality: Execute CQL (Confluence Query Language) searches
  • Space Navigation: List all pages within specific spaces
  • Authentication: Secure API token-based access

System Requirements

  • Python 3.8+
  • pip (Python package manager)
  • Active Confluence instance with API access
  • Valid Confluence API token

Installation

Installing via Smithery

To install confluence-mcp-server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @MahithChigurupati/confluence-mcp-server --client claude

Manual Installation

  1. Clone the Repository

    git clone https://github.com/MahithChigurupati/Confluence-MCP-Server.git
    cd Confluence-MCP-Server
    
  2. Set Up Virtual Environment (Recommended)

    python -m venv venv
    source venv/bin/activate  # On macOS/Linux
    # or
    .\venv\Scripts\activate  # On Windows
    
  3. Install Dependencies

    pip install -r requirements.txt
    

Configuration

  1. Create Environment File

    cp .env.example .env
    
  2. Configure Environment Variables

    CONFLUENCE_BASE_URL=https://your-instance.atlassian.net/wiki/rest/api
    USERNAME=your.email@company.com
    API_TOKEN=your-api-token-here
    
  3. Obtain Confluence API Token

    1. Visit Atlassian API Tokens
    2. Click "Create API Token"
    3. Enter a meaningful label (e.g., "MCP Server Access")
    4. Copy the generated token immediately (it won't be shown again)

Usage Guide

Starting the Server

python confluence.py

Available API Methods

1. List Spaces

response = await list_spaces(
    query="engineering",  # Optional: Filter spaces by name
    limit=25,            # Optional: Maximum number of spaces to return
    start=0             # Optional: Starting index for pagination
)

2. Get Page Content

response = await get_page_content(
    page_id="123456",   # Required: Confluence page ID
    version=2           # Optional: Specific version number
)

3. Search Content

response = await search_content(
    query="project plan",    # Required: Search query
    space_key="TEAM",       # Optional: Limit search to specific space
    limit=50,               # Optional: Maximum results
    start=0                 # Optional: Starting index
)

4. List Pages in Space

response = await list_pages_in_space(
    space_key="TEAM",       # Required: Space key
    limit=100,             # Optional: Maximum pages to return
    start=0               # Optional: Starting index
)

Integration with MCP Clients

Claude Desktop Configuration

{
  "mcpServers": {
    "confluence": {
      "command": "python path",
      "args": ["/path/to/Confluence-MCP-Server/confluence.py"]
    }
  }
}

Location: ~/.claude/claude_desktop_config.json (macOS/Linux) or %USERPROFILE%\.claude\config.json (Windows)

Cursor Configuration

{
  "mcpServers": {
    "confluence": {
      "command": "python path",
      "args": ["/path/to/Confluence-MCP-Server/confluence.py"]
    }
  }
}

use which python to find python path

use pwd inside cloned repository to get the path. Don't forget to add confluence.py in the end.

Location: ~/.cursor/mcp.json (macOS/Linux) or %USERPROFILE%\.cursor\config.json (Windows)

Error Handling

Common error codes and their meanings:

  • 401: Invalid API token or credentials
  • 403: Insufficient permissions
  • 404: Resource not found
  • 429: Rate limit exceeded

Troubleshooting

  1. Connection Issues

    • Verify CONFLUENCE_BASE_URL format
    • Check network connectivity
    • Confirm API token validity
  2. Authentication Errors

    • Ensure USERNAME matches Atlassian account email
    • Verify API_TOKEN is correctly copied
    • Check for special characters in .env file
  3. Permission Errors

    • Confirm user has required Confluence permissions
    • Verify space and page access rights

Support

For issues and feature requests, please create an issue in the repository's issue tracker.

License

MIT License. See LICENSE file for full terms.

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • apappascs
  • Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.

  • jae-jae
  • MCP -Server für den Fetch -Webseiteninhalt mit dem Headless -Browser von Dramatikern.

  • HiveNexus
  • Ein KI-Chat-Bot für kleine und mittelgroße Teams, die Modelle wie Deepseek, Open AI, Claude und Gemini unterstützt. 专为中小团队设计的 ai 聊天应用 , 支持 Deepseek 、 Open ai 、 claude 、 Gemini 等模型。

  • ravitemer
  • Ein leistungsstarkes Neovim -Plugin für die Verwaltung von MCP -Servern (Modellkontextprotokoll)

  • patruff
  • Brücke zwischen Ollama und MCP -Servern und ermöglicht es lokalen LLMs, Modellkontextprotokoll -Tools zu verwenden

    Reviews

    5 (1)
    Avatar
    user_Iv3HXXnS
    2025-04-17

    As a dedicated user of Confluence-MCP-Server, I am continually impressed by its robust features and seamless integration. Created by MahithChigurupati, this tool significantly enhances collaborative efficiency within my team. Highly recommend visiting the GitHub page (https://github.com/MahithChigurupati/Confluence-MCP-Server) to explore its extensive capabilities. It truly stands out in the realm of productivity applications!