mcpField
A
atlassian

atlassian

github.com/sanjay3290Productivity447311 installsUpdated 7w ago
Repository

About atlassian

atlassian is a command-line skill for working with Jira and Confluence. It supports OAuth 2.1 through the Atlassian MCP server or direct REST API access with an API token.

Key features

  1. 01Search and manage Jira issues
  2. 02Create, update, and transition Jira issues
  3. 03Search and manage Confluence pages and spaces
  4. 04Choose OAuth or API-token authentication
  5. 05Return machine-readable JSON output

Use cases

  1. 01Find Jira issues with JQL
  2. 02Update an issue and change its status
  3. 03Search or edit Confluence documentation

MCP support

With OAuth, it calls tools on the Atlassian MCP server; with an API token, it connects directly to the Atlassian REST API.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/sanjay3290/ai-skills --skill atlassian

After installing, type/atlassianin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

.env.example
requirements.txt
scripts/
api_client.py
auth.py
confluence.py
jira.py
mcp_client.py

Details

From the project README

Atlassian (Jira + Confluence)

Full Jira and Confluence integration with two authentication methods:

  • OAuth 2.1 via Atlassian MCP server — browser-based consent, auto-refresh tokens, calls MCP tools
  • API token — email + token stored in keyring, calls REST API directly

First-Time Setup

Option 1: OAuth 2.1 via MCP Server (Recommended)

No API tokens or instance URLs needed. Uses dynamic client registration and PKCE.

pip install -r requirements.txt
python scripts/auth.py login --oauth

A browser opens for Atlassian authorization. Select which products (Jira, Confluence, Compass) to grant access. Tokens are stored in the system keyring and auto-refresh when expired.

Check status:

python scripts/auth.py status
Option 2: API Token (Fallback)

For environments where browser-based OAuth isn't available.

pip install -r requirements.txt
python scripts/auth.py login

Follow the prompts to enter your Atlassian URL, email, and API token. Credentials are stored securely in the system keyring.

Create an API token at: https://id.atlassian.com/manage-profile/security/api-tokens

Check authentication status:

python scripts/auth.py status

Logout (clears both OAuth and API token credentials):

python scripts/auth.py logout

Backend Selection

The scripts automatically detect which backend to use based on your auth type:

  • OAuth → MCP backend (calls Atlassian MCP server tools)
  • API token → REST backend (calls Atlassian REST API directly)

All commands work identically regardless of backend.

Jira (scripts/jira.py)

Search issues with JQL
python scripts/jira.py search "project = DEV AND status = Open"
python scripts/jira.py search "assignee = currentUser() ORDER BY updated DESC" --limit 10
Get issue details
python scripts/jira.py get DEV-123
Create an issue
python scripts/jira.py create --project DEV --summary "Fix login bug" --type Bug
python scripts/jira.py create --project DEV --summary "New feature" --type Story \
  --description "Details here" --priority High --assignee "[email protected]" --labels "backend,urgent"
Update an issue
python scripts/jira.py update DEV-123 --summary "Updated summary" --priority High
python scripts/jira.py update DEV-123 --assignee "[email protected]"
Transition issue status
python scripts/jira.py transition DEV-123 "In Progress"
python scripts/jira.py transition DEV-123 "Done"
Add and list comments
python scripts/jira.py comment DEV-123 --add "This is a comment"
python scripts/jira.py comment DEV-123 --list
List projects and statuses
python scripts/jira.py list-projects
python scripts/jira.py list-statuses DEV
Test authentication
python scripts/jira.py auth-info
List available MCP tools (OAuth only)
python scripts/jira.py list-tools

Confluence (scripts/confluence.py)

Search pages
python scripts/confluence.py search "deployment guide"
python scripts/confluence.py search "type=page AND space=DEV AND text~\"deployment\""
python scripts/confluence.py search "onboarding" --limit 10
Read a page
python scripts/confluence.py read <page-id>
python scripts/confluence.py read <page-id> --json
List spaces
python scripts/confluence.py list-spaces
python scripts/confluence.py list-spaces --limit 50
Get space details
python scripts/confluence.py get-space <space-id>
List pages in a space
python scripts/confluence.py list-pages --space-id <space-id>
Create a page
python scripts/confluence.py create --title "New Page" --space-id <space-id>
python scripts/confluence.py create --title "Guide" --space-id <id> --body "<p>Content here</p>"
python scripts/confluence.py create --title "Child" --space-id <id> --parent-id <parent-id>
Update a page
python scripts/confluence.py update <page-id> --title "Updated Title"
python scripts/confluence.py update <page-id> --body "<p>New content</p>"
Get child pages
python scripts/confluence.py get-children <page-id>
Test authentication
python scripts/confluence.py auth-info
List available MCP tools (OAuth only)
python scripts/confluence.py list-tools

Operations Reference

Jira
CommandDescriptionRequired Args
searchSearch issues with JQLjql
getGet issue detailsissue_key
createCreate new issue--project, --summary, --type
updateUpdate existing issueissue_key
transitionChange issue statusissue_key, status
commentAdd or list commentsissue_key
list-projectsList accessible projects-
list-statusesList statuses for projectproject_key
auth-infoTest API connection-
list-toolsList MCP tools (OAuth only)-
Confluence
CommandDescriptionRequired Args
searchSearch using CQLquery
readGet page contentpage_id
list-spacesList all spaces-
get-spaceGet space detailsspace_id
list-pagesList pages in a space--space-id
createCreate new page--title, --space-id
updateUpdate existing pagepage_id
get-childrenGet child pagespage_id
auth-infoTest API connection-
list-toolsList MCP tools (OAuth only)-

JSON Output

Add --json flag to any script command for machine-readable output.

Token Management

Credentials stored securely using the system keyring:

  • macOS: Keychain
  • Windows: Windows Credential Locker
  • Linux: Secret Service API

Service name: atlassian-skill

OAuth tokens auto-refresh when expired (if refresh token is available).

Comments

Markdown supported