Model Context Protocol (MCP) server for Atlassian Cloud products (Confluence and Jira). This integration is designed specifically for Atlassian Cloud instances and does not support Atlassian Server or Data Center deployments.
Note: The MCP server filters resources to only show Confluence spaces and Jira projects that the user is actively interacting with, based on their contributions and assignments. This makes the integration more efficient and focused on relevant content.
confluence://{space_key}
: Access Confluence spacesjira://{project_key}
: Access Jira projects
-
confluence_search
- Search Confluence content using CQL
- Inputs:
query
(string): CQL query stringlimit
(number, optional): Results limit (1-50, default: 10)
- Returns: Array of search results with page_id, title, space, url, last_modified, type, and excerpt
-
confluence_get_page
- Get content of a specific Confluence page
- Inputs:
page_id
(string): Confluence page IDinclude_metadata
(boolean, optional): Include page metadata (default: true)
- Returns: Page content and optional metadata
-
confluence_get_comments
- Get comments for a specific Confluence page
- Input:
page_id
(string): Confluence page ID
- Returns: Array of comments with author, creation date, and content
-
confluence_create_page
- Create a new Confluence page
- Inputs:
space_key
(string): The key of the space to create the page intitle
(string): The title of the pagecontent
(string): The content of the page in Markdown formatparent_id
(string, optional): Optional parent page ID
- Returns: Created page details with metadata
- Note: Uses markdown-to-confluence library for proper Confluence storage format conversion
-
confluence_update_page
- Update an existing Confluence page
- Inputs:
page_id
(string): The ID of the page to updatetitle
(string): The new title of the pagecontent
(string): The new content of the page in Markdown formatminor_edit
(boolean, optional): Whether this is a minor edit (default: false)version_comment
(string, optional): Optional comment for this version (default: "")
- Returns: Updated page details with metadata
- Note: Uses markdown-to-confluence library for proper Confluence storage format conversion
-
jira_get_issue
- Get details of a specific Jira issue
- Inputs:
issue_key
(string): Jira issue key (e.g., 'PROJ-123')expand
(string, optional): Fields to expandcomment_limit
(integer, optional): Maximum number of comments to include (0 or null for no comments)
- Returns: Issue details including content and metadata
-
jira_search
- Search Jira issues using JQL
- Inputs:
jql
(string): JQL query stringfields
(string, optional): Comma-separated fields (default: "*all")limit
(number, optional): Results limit (1-50, default: 10)
- Returns: Array of matching issues with metadata
-
jira_get_project_issues
- Get all issues for a specific Jira project
- Inputs:
project_key
(string): Project keylimit
(number, optional): Results limit (1-50, default: 10)
- Returns: Array of project issues with metadata
-
jira_create_issue
- Create a new issue in Jira
- Inputs:
project_key
(string): The JIRA project key (e.g. 'PROJ')summary
(string): Summary/title of the issueissue_type
(string): Issue type (e.g. 'Task', 'Bug', 'Story')description
(string, optional): Issue descriptionadditional_fields
(string, optional): JSON string of additional fields
- Returns: Created issue details with metadata
-
jira_update_issue
- Update an existing Jira issue
- Inputs:
issue_key
(string): Jira issue keyfields
(string): JSON object of fields to updateadditional_fields
(string, optional): JSON string of additional fields
- Returns: Updated issue details with metadata
-
jira_delete_issue
- Delete an existing Jira issue
- Inputs:
issue_key
(string): Jira issue key (e.g. PROJ-123)
- Returns: Success confirmation message
On macOS:
brew install uv
When using uv
, no specific installation is needed. We will use uvx
to directly run mcp-atlassian.
uvx mcp-atlassian
Alternatively you can install mcp-atlassian via pip:
pip install mcp-atlassian
To install Atlassian Integration for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install mcp-atlassian --client claude
The MCP Atlassian integration supports using either Confluence, Jira, or both services. You only need to provide the environment variables for the service(s) you want to use.
-
Get API tokens from: https://id.atlassian.com/manage-profile/security/api-tokens
-
Add to your
claude_desktop_config.json
using one of the following methods:
Note: For all configuration methods, include only the environment variables needed for your services:
- For Confluence only: Include
CONFLUENCE_URL
,CONFLUENCE_USERNAME
, andCONFLUENCE_API_TOKEN
- For Jira only: Include
JIRA_URL
,JIRA_USERNAME
, andJIRA_API_TOKEN
- For both services: Include all six variables
Using uvx
{
"mcpServers": {
"mcp-atlassian": {
"command": "uvx",
"args": ["mcp-atlassian"],
"env": {
"CONFLUENCE_URL": "https://your-domain.atlassian.net/wiki",
"CONFLUENCE_USERNAME": "your.email@domain.com",
"CONFLUENCE_API_TOKEN": "your_api_token",
"JIRA_URL": "https://your-domain.atlassian.net",
"JIRA_USERNAME": "your.email@domain.com",
"JIRA_API_TOKEN": "your_api_token"
}
}
}
}
Using pip
{
"mcpServers": {
"mcp-atlassian": {
"command": "python",
"args": ["-m", "mcp-atlassian"],
"env": {
"CONFLUENCE_URL": "https://your-domain.atlassian.net/wiki",
"CONFLUENCE_USERNAME": "your.email@domain.com",
"CONFLUENCE_API_TOKEN": "your_api_token",
"JIRA_URL": "https://your-domain.atlassian.net",
"JIRA_USERNAME": "your.email@domain.com",
"JIRA_API_TOKEN": "your_api_token"
}
}
}
}
Using docker
There are two ways to configure the Docker environment:
- Using environment variables directly in the config:
{
"mcpServers": {
"mcp-atlassian": {
"command": "docker",
"args": ["run", "--rm", "-i", "mcp/atlassian"],
"env": {
"CONFLUENCE_URL": "https://your-domain.atlassian.net/wiki",
"CONFLUENCE_USERNAME": "your.email@domain.com",
"CONFLUENCE_API_TOKEN": "your_api_token",
"JIRA_URL": "https://your-domain.atlassian.net",
"JIRA_USERNAME": "your.email@domain.com",
"JIRA_API_TOKEN": "your_api_token"
}
}
}
}
- Using an environment file:
{
"mcpServers": {
"mcp-atlassian": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"--env-file",
"/path/to/your/.env",
"mcp/atlassian"
]
}
}
}
The .env file should contain:
CONFLUENCE_URL=https://your-domain.atlassian.net/wiki
CONFLUENCE_USERNAME=your.email@domain.com
CONFLUENCE_API_TOKEN=your_api_token
JIRA_URL=https://your-domain.atlassian.net
JIRA_USERNAME=your.email@domain.com
JIRA_API_TOKEN=your_api_token
To integrate the MCP server with Cursor IDE:
Configure the server:
- Open Cursor Settings
- Navigate to
Features
>MCP Servers
- Click
Add new MCP server
- Enter this configuration:
name: mcp-atlassian type: command command: uvx mcp-atlassian --confluence-url=https://your-domain.atlassian.net/wiki --confluence-username=your.email@domain.com --confluence-token=your_api_token --jira-url=https://your-domain.atlassian.net --jira-username=your.email@domain.com --jira-token=your_api_token
If you've cloned the repository and want to run a local version of mcp-atlassian
:
Configure in Claude Desktop:
{
"mcpServers": {
"mcp-atlassian": {
"command": "uv",
"args": [
"--directory", "/path/to/your/mcp-atlassian",
"run", "mcp-atlassian",
"--confluence-url=https://your-domain.atlassian.net",
"--confluence-username=your.email@domain.com",
"--confluence-token=your_api_token",
"--jira-url=https://your-domain.atlassian.net",
"--jira-username=your.email@domain.com",
"--jira-token=your_api_token"
]
}
}
}
You can use the MCP inspector to debug the server:
npx @modelcontextprotocol/inspector uvx mcp-atlassian
For development installations:
cd path/to/mcp-atlassian
npx @modelcontextprotocol/inspector uv run mcp-atlassian
View logs with:
tail -n 20 -f ~/Library/Logs/Claude/mcp*.log
For local development testing:
- Use the MCP inspector (see Debugging)
- Test with Claude Desktop or Cursor IDE using the configuration above
Docker build:
docker build -t mcp/atlassian .
- Never share API tokens
- Keep .env files secure and private
- See SECURITY.md for best practices
Licensed under MIT - see LICENSE file. This is not an official Atlassian product.