Atlassian Connector (Jira & Confluence)
Connect PraisonAI agents to Jira and Confluence using Atlassian's official remote MCP server with OAuth 2.1
Connect your PraisonAI agents to both Jira and Confluence through one official remote Atlassian MCP connector — search tickets, inspect sprint boards, read Confluence runbooks, and draft updates with OAuth 2.1.
| Setting | Value |
|---|---|
| Catalog ID | atlassian |
| Endpoint | https://mcp.atlassian.com/v2/mcp |
| Transport | Streamable HTTP (Remote) |
| Authentication | OAuth 2.1 (Atlassian Cloud site consent) |
from praisonaiagents import Agent, MCP
agent = Agent(
name="Engineering PM",
instructions="Cross-reference Jira tickets with Confluence runbooks.",
tools=MCP(
"https://mcp.atlassian.com/v2/mcp",
oauth=True,
server_name="atlassian",
),
)
agent.start("List open P1 bugs in Jira and link any matching Confluence runbooks")The user asks to match production Jira bugs with Confluence runbooks; PraisonAI calls Atlassian’s remote MCP tools across both products in a single session.
graph LR
User["👤 User"] --> Agent["🤖 PraisonAI Agent"]
Agent --> Auth["🔐 Atlassian OAuth 2.1"]
Auth --> Atl["📘 Atlassian Remote MCP<br/>mcp.atlassian.com/v2/mcp"]
Atl --> Result["✅ Jira & Confluence"]
classDef input fill:#6366F1,stroke:#7C90A0,color:#fff
classDef agent fill:#8B0000,stroke:#7C90A0,color:#fff
classDef auth fill:#F59E0B,stroke:#7C90A0,color:#fff
classDef ok fill:#10B981,stroke:#7C90A0,color:#fff
class User input
class Agent agent
class Auth auth
class Atl,Result okHow It Works
Atlassian’s v2 remote MCP server exposes Jira and Confluence tools behind Atlassian Cloud OAuth 2.1. Permissions automatically follow your Atlassian Cloud user role — the agent can only see projects and spaces you can access.
sequenceDiagram
participant User
participant CLI as praisonai CLI
participant AtlAuth as Atlassian OAuth 2.1
participant Store as mcp-auth.json
participant AtlMCP as Atlassian MCP v2
participant Agent as PraisonAI Agent
User->>CLI: praisonai connectors add atlassian --auth
CLI->>AtlAuth: Start OAuth 2.1 PKCE consent
AtlAuth-->>User: Choose Atlassian Cloud site and approve
AtlAuth-->>Store: Save OAuth token (0600)
User->>Agent: Query Jira issues and Confluence pages
Agent->>Store: Load cached token
Agent->>AtlMCP: Call Jira and Confluence tools
AtlMCP-->>Agent: Ticket details and wiki pages
Agent-->>User: Combined engineering summaryStep-by-Step Setup
- Prerequisites
- An Atlassian Cloud site (Jira Cloud and/or Confluence Cloud)
- Permission in your Atlassian org to authorize OAuth apps
- Install PraisonAI with MCP support
bash pip install "praisonai[mcp]" - Add and authenticate Atlassian
CLI (Interactive OAuth)
bash praisonai connectors add atlassian --authSelect the Atlassian Cloud site you want to connect when your browser opens.
Headless / SSH (–manual)
bash praisonai connectors add atlassian --auth --manualPraisonAI Dashboard
Enable catalog connectors in your PraisonAIUI
config.yaml:yaml mcp: enabled: true allow: catalog: trueRun
praisonai dashboard, open Connectors / MCP, and click Connect on Atlassian. - Verify and list discovered tools
bash praisonai mcp sync atlassian - Run your agent
python from praisonaiagents import Agent, MCP agent = Agent( name="Jira & Confluence Helper", instructions="Summarize Jira issues with keys and link relevant Confluence docs.", tools=MCP("https://mcp.atlassian.com/v2/mcp", oauth=True, server_name="atlassian"), ) agent.start("Summarize all In Progress issues in project ENG")
Scope Tools for Safety
Require human approval whenever an agent can transition Jira issues or edit Confluence pages:
from praisonaiagents import Agent, MCP
agent = Agent(
name="Safe Jira Triage",
instructions="Inspect tickets and ask approval before any write action.",
tools=MCP(
"https://mcp.atlassian.com/v2/mcp",
oauth=True,
server_name="atlassian",
approval="always",
),
)Common Workflows
- Release Notes from Jira:
"Query all Done issues in release v2.4 and group them into Features and Bug Fixes." - Runbook Lookup:
"Search Confluence for incident response procedures related to database failover."
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| Atlassian consent screen says app blocked | Org admin restricts third-party OAuth apps | Ask your Atlassian org admin to approve the Atlassian Rovo MCP Server connection |
401 Unauthorized on praisonai connectors test atlassian | connectors test does not attach stored OAuth tokens | Verify with praisonai mcp sync atlassian |
| Connected wrong Atlassian Cloud site | Multiple sites under one account | Run praisonai connectors logout atlassian --yes then praisonai connectors auth atlassian and choose the target site |
Best Practices
Mention project keys and space keys in instructions
Specify Jira project keys (e.g., ENG) and Confluence space keys in instructions to keep JQL and CQL queries fast and focused.
Verify exact tool names before setting –allow
Run praisonai mcp sync atlassian to list the exact Jira and Confluence tool names available for your Atlassian plan.
Use approval='always' for ticket transitions
Keep approval="always" enabled when allowing agents to comment on customer-facing Jira Service Management tickets or publish Confluence edits.