Atlassian MCP Server for Jira and Confluence
Connect your AI agents to Jira and Confluence with an MCP server to query data and perform actions via the Model Context Protocol.
npx -y @phuc-nt/mcp-atlassian-serverOverview
This MCP (Model Context Protocol) server connects AI agents and tools to Atlassian Jira and Confluence. It implements the Model Context Protocol for exposing Atlassian actions and queries as machine-readable tools, so LLM agents can fetch issue data, run searches, or create and update Confluence pages in a standardized way.
By exposing Atlassian operations as tools, the server enables automation workflows such as summarizing tickets, generating release notes, triaging incoming issues, and creating meeting notes pages. Developers can run the server locally or in a container, configure access to their Jira/Confluence instances through API credentials, and register the server with an LLM that understands MCP tool endpoints.
Features
- Exposes Jira and Confluence operations via MCP-compatible tool endpoints
- Supports search and retrieval (issues, pages, attachments) and CRUD actions (create/update issues/pages)
- Tool descriptions and parameter schemas follow the Protocol so LLMs can plan and invoke actions
- Runs locally or in Docker for easy deployment
- Configurable with environment variables for Atlassian site, credentials, and server options
- Designed for integration with agent frameworks that support MCP / tools endpoints
Installation / Configuration
Prerequisites:
- Node.js (recommended >= 16) OR Docker
- Atlassian credentials: site URL, account email, and API token (Cloud) or appropriate credentials for server/DC
Clone and install:
Environment (example .env):
# Atlassian (Jira & Confluence)
ATLASSIAN_SITE=https://your-domain.atlassian.net
[email protected]
ATLASSIAN_API_TOKEN=your_api_token_here
# Server options
PORT=3000
MCP_BASE_PATH=/mcp/v1
LOG_LEVEL=info
Start the server (development):
# or
Docker:
# Build
# Run
Docker Compose sample:
version: "3.8"
services:
mcp-atlassian:
image: mcp-atlassian-server:latest
ports:
- "3000:3000"
environment:
ATLASSIAN_SITE: https://your-domain.atlassian.net
ATLASSIAN_EMAIL: [email protected]
ATLASSIAN_API_TOKEN: your_api_token_here
Registering with an LLM/Agent:
- Point your agent to the MCP server base URL (e.g., http://host:3000/mcp/v1)
- The agent should fetch the tools list and tool schemas to determine available operations
Available Tools / Resources
The server exposes a set of tools that map common Jira and Confluence APIs. Example tools:
| Tool name | Purpose | Key parameters |
|---|---|---|
| jira.search | Run JQL queries and return issue lists | jql, maxResults, fields |
| jira.getIssue | Retrieve a single issue by key | issueKey, fields |
| jira.createIssue | Create an issue in a project | projectKey, summary, description, issuetype, fields |
| jira.transitionIssue | Move issue through workflow | issueKey, transitionId, comment |
| confluence.search | Search Confluence content | cql, limit, expand |
| confluence.getPage | Retrieve page content and metadata | pageId, expand |
| confluence.createPage | Create a new Confluence page | spaceKey, title, body, parentId |
| confluence.updatePage | Update an existing page | pageId, version, body, title |
| confluence.attachFile | Upload an attachment to a page | pageId, filename, file (binary) |
Endpoints (typical):
- GET /mcp/v1/tools — list tools and metadata
- POST /mcp/v1/tools/{toolName}/invoke — invoke a specific tool with JSON parameters
Example: list tools
Example: invoke a search tool
Response payloads follow the Tool/Invocation schema (tool-dependent result objects).
Use Cases
- Generate release notes
- Agent queries Jira with jql:
project = XYZ AND fixVersion = "v1.2.0" - Fetches issues, groups by type, and composes release notes in Confluence by creating/updating a page.
- Auto-triage incoming issues
- Agent periodically runs
jira.searchfor newly created issues. - For each issue, it evaluates labels or components and invokes
jira.transitionIssueorjira.createIssueto assign and set priority.
- Meeting notes and action items
- After a meeting, an LLM summarizes