MCP-DOCKER-Atlassian
MCP Server that runs on Docker with connect to Atlassian.
shane-reaume
README
MCP-DOCKER-Atlassian
Docker-based setup for the MCP Atlassian integration to use with VS Code's Copilot MCP extension.
This repository contains configuration and scripts to easily run the MCP Atlassian server in a Docker container, providing access to Confluence and Jira resources via the Model Context Protocol.
Note: Previous MyPy type checking issues inherited from the upstream project have been resolved. The type checking system is now fully functional and passing all checks.
Prerequisites
- Docker installed and running
- Visual Studio Code with the Copilot Chat extension
- Atlassian Cloud account with API token
- Generate token at: https://id.atlassian.net/manage-profile/security/api-tokens
- Save the token securely - it cannot be viewed again after creation
Quick Start
-
Clone the repository:
git clone https://github.com/shane-reaume/MCP-DOCKER-Atlassian.git cd MCP-DOCKER-Atlassian -
Set up your credentials: Copy the example environment file and edit it:
cp .env.example .env # Edit .env with your Atlassian credentialsImportant: Do not use quotes around values in the .env file
-
Make scripts executable:
chmod +x *.sh -
Start the MCP server:
./start-mcp.shThe server will be available at http://localhost:9001/sse Stop the MCP server:
./stop-mcp.sh -
Configure VS Code: Add this to your VS Code
settings.json:"mcpManager.servers": [ { "name": "Atlassian-MCP", "type": "sse", "url": "http://localhost:9001/sse", "enabled": true } ] -
Stop the server when done:
./stop-mcp.sh
Available Scripts
- start-mcp.sh: Builds the Docker image and starts the container
- stop-mcp.sh: Stops the running container
- check-mcp.sh: Diagnostic tool to verify the server is running correctly
- cleanup.sh: Removes old containers and images
- update-remote.sh: Helper for managing git remotes
- mcp-manager.sh: Additional management commands
Available MCP Commands
Once connected, you can use commands like:
@mcp confluence_search "search term"@mcp confluence_get_page "Page Title"@mcp jira_get_issue "PROJECT-123"@mcp jira_search "project = PROJECT AND status = 'In Progress'"
Troubleshooting
-
SSE Connection Issues
- Ensure the Docker container is running:
docker ps | grep mcp-atlassian - Check container logs:
docker logs mcp-atlassian - Verify the port is accessible:
curl http://localhost:9001/health
- Ensure the Docker container is running:
-
Authentication Issues
- Ensure your API token is correct and not surrounded by quotes in .env
- Check that your email matches the one used to generate the API token
- Verify you have appropriate permissions in Confluence/Jira
-
Common Errors
- "SSE error: TypeError: fetch failed": Restart VS Code and the MCP server
- "Current user not permitted": Check API token and permissions
- Empty results: Verify space/project access and try more general searches first
Environment Variables
Key environment variables in .env:
MCP_TRANSPORT: Set to 'sse' for VS Code integrationMCP_PORT: Default 9001, change if port is in useCONFLUENCE_URL: Your Atlassian instance URLCONFLUENCE_USERNAME: Your Atlassian emailCONFLUENCE_API_TOKEN: Your API tokenCONFLUENCE_SPACES_FILTER: Optional space restrictions
See .env.example for all available options.
Based On
This setup is based on the MCP-Atlassian project, customized for Docker-based deployment.
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.
MCP Package Docs Server
Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.
Claude Code MCP
An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.
@kazuph/mcp-taskmanager
Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.
Linear MCP Server
Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.
mermaid-mcp-server
A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.
Jira-Context-MCP
MCP server to provide Jira Tickets information to AI coding agents like Cursor
Linear MCP Server
A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.
Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.