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.

SettingValue
Catalog IDatlassian
Endpointhttps://mcp.atlassian.com/v2/mcp
TransportStreamable HTTP (Remote)
AuthenticationOAuth 2.1 (Atlassian Cloud site consent)
python
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.

Diagram

👤 User

🤖 PraisonAI Agent

🔐 Atlassian OAuth 2.1

📘 Atlassian Remote MCP
mcp.atlassian.com/v2/mcp

✅ Jira & Confluence


How 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.

Diagram
PraisonAI AgentAtlassian MCP v2mcp-auth.jsonAtlassian OAuth 2.1praisonai CLIUserPraisonAI AgentAtlassian MCP v2mcp-auth.jsonAtlassian OAuth 2.1praisonai CLIUserpraisonai connectors add atlassian –authStart OAuth 2.1 PKCE consentChoose Atlassian Cloud site and approveSave OAuth token (0600)Query Jira issues and Confluence pagesLoad cached tokenCall Jira and Confluence toolsTicket details and wiki pagesCombined engineering summary

Step-by-Step Setup

  1. Prerequisites
    • An Atlassian Cloud site (Jira Cloud and/or Confluence Cloud)
    • Permission in your Atlassian org to authorize OAuth apps
  2. Install PraisonAI with MCP support
    bash
    pip install "praisonai[mcp]"
  3. Add and authenticate Atlassian

    CLI (Interactive OAuth)

    bash
    praisonai connectors add atlassian --auth

    Select the Atlassian Cloud site you want to connect when your browser opens.

    Headless / SSH (–manual)

    bash
    praisonai connectors add atlassian --auth --manual

    PraisonAI Dashboard

    Enable catalog connectors in your PraisonAIUI config.yaml:

    yaml
    mcp:
      enabled: true
      allow:
        catalog: true

    Run praisonai dashboard, open Connectors / MCP, and click Connect on Atlassian.

  4. Verify and list discovered tools
    bash
    praisonai mcp sync atlassian
  5. 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:

python
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

SymptomCauseFix
Atlassian consent screen says app blockedOrg admin restricts third-party OAuth appsAsk your Atlassian org admin to approve the Atlassian Rovo MCP Server connection
401 Unauthorized on praisonai connectors test atlassianconnectors test does not attach stored OAuth tokensVerify with praisonai mcp sync atlassian
Connected wrong Atlassian Cloud siteMultiple sites under one accountRun 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.


Related