Confluence Attachment
БесплатноНе проверенMCP server for AI assistants to download Confluence attachments
Описание
MCP server for AI assistants to download Confluence attachments
README
A Model Context Protocol (MCP) server that enables AI assistants to download and read attachments from Confluence pages.
Features
- 🔍 Page Search: Search Confluence pages by title
- 📄 Page Information: Get page details and attachment count
- 📎 Attachment Management: List and download attachments
- ⬇️ Batch Download: Download all attachments from a page
- 📖 Content Reading: Read and analyze downloaded files
- 📁 File Management: List and manage downloaded files
- 🐳 Docker Optimized: Multi-stage build with Alpine Linux
- 🔧 Modular Architecture: Clean, maintainable code structure
- 🛡️ Security: Non-root user execution
- 📊 Health Checks: Built-in container health monitoring
Quick Start
Prerequisites
- Python 3.11+
- Docker (recommended)
- Confluence API access
Docker Image
- Image Name:
confluence-attachment-mcp:latest - Size: ~183MB (optimized Alpine Linux)
- Base: Python 3.11-alpine
- Architecture: Multi-stage build for optimization
Environment Setup
Create a .env file:
CONFLUENCE_URL=https://your-domain.atlassian.net
[email protected]
CONFLUENCE_API_TOKEN=your-api-token
CONFLUENCE_SPACE_KEY=YOUR_SPACE_KEY
MCP_SERVER_NAME=confluence-attachments
MCP_SERVER_VERSION=1.0.0
Docker (Recommended)
# Build and run
./scripts/run.sh
# Or manually
docker build -f config/Dockerfile -t confluence-attachment-mcp:latest .
docker run -d --name confluence-mcp \
-e CONFLUENCE_URL="https://your-domain.atlassian.net/wiki" \
-e CONFLUENCE_USERNAME="[email protected]" \
-e CONFLUENCE_API_TOKEN="your-api-token" \
-e CONFLUENCE_SPACE_KEY="YOUR_SPACE_KEY" \
-v $(pwd)/downloads:/app/downloads \
confluence-attachment-mcp:latest
Local Development
# Install dependencies
pip install -r requirements.txt
# Run server
python main.py
MCP Configuration
Cursor Integration
Add to your Cursor MCP configuration:
{
"mcpServers": {
"confluence-attachments": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--name",
"confluence-attachments-mcp",
"-e",
"CONFLUENCE_URL",
"-e",
"CONFLUENCE_USERNAME",
"-e",
"CONFLUENCE_API_TOKEN",
"-e",
"CONFLUENCE_SPACE_KEY",
"-v",
"${workspaceFolder}/downloads:/app/downloads",
"confluence-attachment-mcp:latest"
],
"env": {
"MCP_VERBOSE": "true",
"CONFLUENCE_URL": "https://your-domain.atlassian.net/wiki",
"CONFLUENCE_USERNAME": "[email protected]",
"CONFLUENCE_API_TOKEN": "your-api-token-here",
"CONFLUENCE_SPACE_KEY": "YOUR_SPACE_KEY"
}
}
}
}
Available Tools
| Tool | Description | Parameters |
|---|---|---|
confluence_search_pages_by_title |
Search pages by title | title, space_key |
confluence_get_page_info |
Get page details | page_id |
confluence_get_page_attachments |
List page attachments | page_id |
confluence_download_attachment |
Download single attachment | page_id, attachment_title, filename |
confluence_download_all_attachments |
Download all attachments | page_id |
confluence_read_attachment_content |
Read file content | filename |
confluence_list_downloaded_files |
List downloaded files | None |
Usage Examples
Search for Project Documents
confluence_search_pages_by_title("Project Plan", "DEV")
Download Specific Attachment
confluence_download_attachment("12345", "pdf-test.pdf")
Download All Attachments
confluence_download_all_attachments("12345")
Read File Content
confluence_read_attachment_content("project_plan.pdf")
Project Structure
confluence-attachment-mcp/
├── src/
│ ├── mcp_server/ # MCP server implementation
│ ├── confluence/ # Confluence integration
│ └── utils/ # Utility classes
├── config/ # Configuration files
├── scripts/ # Build and deployment scripts
├── docs/ # Documentation
├── examples/ # Usage examples
├── main.py # Entry point
├── requirements.txt # Python dependencies
├── pyproject.toml # Project configuration
└── README.md # This file
Development
Setup Development Environment
# Install development dependencies
pip install -r requirements.txt
pip install -e .
# Run tests
pytest
# Code formatting
black src/
flake8 src/
mypy src/
Building Docker Image
# Build image
docker build -f config/Dockerfile -t confluence-attachment-mcp:latest .
# Run container
docker run -it --rm confluence-attachment-mcp:latest
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
- Create an issue for bugs or feature requests
- Check the documentation in the
docs/folder - Review existing issues for solutions
Changelog
v1.0.0
- Initial release
- Basic MCP server functionality
- Confluence attachment management
- Docker support
- Modular code architecture
- Multi-stage Docker optimization
- Security improvements (non-root user)
- Health check implementation
- Enhanced error handling
- File type detection and content reading
Установка Confluence Attachment
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/choipureum/confluence-attachment-mcp-serverFAQ
Confluence Attachment MCP бесплатный?
Да, Confluence Attachment MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Confluence Attachment?
Нет, Confluence Attachment работает без API-ключей и переменных окружения.
Confluence Attachment — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Confluence Attachment в Claude Desktop, Claude Code или Cursor?
Открой Confluence Attachment на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Opencode Omniroute Plugin
OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc
автор: GitHub ActionsRoblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
автор: paralovAntigravity Drawio
MCP server that enables AI assistants to create, parse, render, and validate Draw.io diagrams programmatically.
автор: S-SUJAN-SFetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
автор: lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
Compare Confluence Attachment with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
