Skip to main content

Configuration

This guide covers IDE integration, environment variables, and advanced configuration options.

IDE Integration

Configuration File Locations

IDELocation
Claude Desktop (Windows)%APPDATA%\Claude\claude_desktop_config.json
Claude Desktop (macOS)~/Library/Application Support/Claude/claude_desktop_config.json
Claude Desktop (Linux)~/.config/Claude/claude_desktop_config.json
CursorSettings → MCP → + Add new global MCP server

Basic Configuration (uvx)

{
  "mcpServers": {
    "mcp-atlassian": {
      "command": "uvx",
      "args": ["mcp-atlassian"],
      "env": {
        "JIRA_URL": "https://your-company.atlassian.net",
        "JIRA_USERNAME": "your.email@company.com",
        "JIRA_API_TOKEN": "your_api_token"
      }
    }
  }
}

Docker with Environment File

{
  "mcpServers": {
    "mcp-atlassian": {
      "command": "docker",
      "args": [
        "run", "--rm", "-i",
        "--env-file", "/path/to/your/mcp-atlassian.env",
        "ghcr.io/sooperset/mcp-atlassian:latest"
      ]
    }
  }
}

Server/Data Center Configuration

{
  "mcpServers": {
    "mcp-atlassian": {
      "command": "uvx",
      "args": ["mcp-atlassian"],
      "env": {
        "JIRA_URL": "https://jira.your-company.com",
        "JIRA_PERSONAL_TOKEN": "your_pat",
        "JIRA_SSL_VERIFY": "false",
        "CONFLUENCE_URL": "https://confluence.your-company.com",
        "CONFLUENCE_PERSONAL_TOKEN": "your_pat",
        "CONFLUENCE_SSL_VERIFY": "false"
      }
    }
  }
}

Single Service Configuration

{
  "mcpServers": {
    "mcp-atlassian": {
      "command": "uvx",
      "args": ["mcp-atlassian"],
      "env": {
        "CONFLUENCE_URL": "https://your-company.atlassian.net/wiki",
        "CONFLUENCE_USERNAME": "your.email@company.com",
        "CONFLUENCE_API_TOKEN": "your_api_token"
      }
    }
  }
}

Environment Variables

Connection Settings

VariableDescription
JIRA_URLJira instance URL
JIRA_USERNAMEJira username (email for Cloud)
JIRA_API_TOKENJira API token (Cloud)
JIRA_PERSONAL_TOKENJira Personal Access Token (Server/DC)
JIRA_SSL_VERIFYSSL verification (true/false)
CONFLUENCE_URLConfluence instance URL
CONFLUENCE_USERNAMEConfluence username (email for Cloud)
CONFLUENCE_API_TOKENConfluence API token (Cloud)
CONFLUENCE_PERSONAL_TOKENConfluence Personal Access Token (Server/DC)
CONFLUENCE_SSL_VERIFYSSL verification (true/false)

Filtering Options

VariableDescriptionExample
JIRA_PROJECTS_FILTERLimit to specific Jira projectsPROJ,DEV,SUPPORT
CONFLUENCE_SPACES_FILTERLimit to specific Confluence spacesDEV,TEAM,DOC
ENABLED_TOOLSEnable only specific toolsconfluence_search,jira_get_issue

Server Options

VariableDescription
TRANSPORTTransport type (stdio, sse, streamable-http)
STATELESSEnable stateless mode for streamable-http (true/false)
PORTPort for HTTP transports (default: 8000)
HOSTHost for HTTP transports (default: 0.0.0.0)
READ_ONLY_MODEDisable write operations (true/false)
MCP_VERBOSEEnable verbose logging (true/false)
MCP_VERY_VERBOSEEnable debug logging (true/false)
MCP_LOGGING_STDOUTLog to stdout instead of stderr (true/false)
See .env.example for all available options.

Proxy Configuration

MCP Atlassian supports routing API requests through HTTP/HTTPS/SOCKS proxies.
VariableDescription
HTTP_PROXYHTTP proxy URL
HTTPS_PROXYHTTPS proxy URL
SOCKS_PROXYSOCKS proxy URL
NO_PROXYHosts to bypass proxy
JIRA_HTTPS_PROXYJira-specific HTTPS proxy
CONFLUENCE_HTTPS_PROXYConfluence-specific HTTPS proxy
Service-specific variables override global ones.

Custom HTTP Headers

Add custom HTTP headers to all API requests. Useful in corporate environments.
VariableDescription
JIRA_CUSTOM_HEADERSCustom headers for Jira requests
CONFLUENCE_CUSTOM_HEADERSCustom headers for Confluence requests
Format: Comma-separated key=value pairs.
JIRA_CUSTOM_HEADERS=X-Forwarded-User=service-account,X-Custom-Auth=token
CONFLUENCE_CUSTOM_HEADERS=X-Service=mcp-integration,X-ALB-Token=secret
Header values are masked in debug logs for security.

Tool Filtering

Control which tools are available:
# Enable specific tools
ENABLED_TOOLS="confluence_search,jira_get_issue,jira_search"

# Read-only mode (disables all write operations)
READ_ONLY_MODE=true
Command-line alternative:
uvx mcp-atlassian --enabled-tools "confluence_search,jira_get_issue"