atlassian-ai-toolkit-mcp
Atlassian AI Toolkit
Atlassian Jira および Confluence 向けの AI ファースト SDK、CLI、MCP サーバー
型付き SDK、エージェントネイティブ CLI、Atlassian Cloud API 用の MCP サーバーを含む Bun モノレポです。
パッケージ
パッケージ | 説明 |
型、API クライアント、ビジネスロジックを備えたコア SDK | |
コマンドラインインターフェース (Stricli) | |
AI アシスタント向け MCP サーバー (FastMCP) |
Related MCP server: MCP Atlassian
CLI のインストール
推奨: スタンドアロンバイナリ
Node.js も npm も不要、PATH の競合もありません。Bun でビルドされた単一ファイルです。
macOS および Linux:
curl -fsSL https://raw.githubusercontent.com/spenserhale/atlassian-ai-toolkit/main/scripts/install.sh | shこのスクリプトは OS とアーキテクチャを検出し、最新リリースから対応するバイナリをダウンロードして SHA256 を検証し、$HOME/.local/bin/atlassian にインストールします。
ATLASSIAN_AI_TOOLKIT_VERSION=v0.1.0 でバージョンを固定するか、ATLASSIAN_AI_TOOLKIT_INSTALL=$HOME/bin でインストール先ディレクトリを変更できます。
Windows: 最新リリース から atlassian-windows-x64.exe をダウンロードし、PATH に配置してください。
利用可能なバイナリ: atlassian-linux-{x64,arm64}、atlassian-darwin-{x64,arm64}、atlassian-windows-x64.exe。
アップグレード
インストール済みバイナリを、最新の GitHub リリースからその場でアップグレードします (最初に SHA256 を検証します):
atlassian upgrade # apply the latest release
atlassian upgrade --dry-run # only show current vs latestWindows では、アップグレード前に実行中のインスタンスを終了するか、最新リリース から exe を再ダウンロードしてください。
シェルエイリアス
コマンドを短くするには、シェルプロファイル (~/.zshrc または ~/.bashrc) に次のエイリアスを追加します:
alias jira='atlassian jira'
alias conf='atlassian confluence'これで、jira get PROJ-123 は atlassian jira get PROJ-123 を実行し、conf get 123456 は atlassian confluence get 123456 を実行します。
設定
シェルで Atlassian Cloud の認証情報を設定します:
export ATLASSIAN_SITE_URL="https://your-site.atlassian.net"
export ATLASSIAN_EMAIL="you@example.com"
export ATLASSIAN_API_TOKEN="your-api-token"スコープ付き API トークンは https://id.atlassian.com/manage-profile/security/api-tokens で作成します。
添付ファイル
1 つ以上のファイルを Jira 課題にアップロードします。複数アップロードするには --file を繰り返します。保存されるファイル名はファイルのベース名で、MIME タイプは拡張子から推測されます。
# Attach a single file
atlassian jira attach PROJ-123 --file ./screenshot.png
# Attach several files and print the API response
atlassian jira attach PROJ-123 --file ./error.log --file ./har-capture.har --jsonMCP ツール jira_add_attachment は同じ paths に加え、エージェントがインラインで生成するコンテンツ用の files 配列を受け取ります (filename、content、encoding: utf8 | base64)。
Confluence ページでは、1 回の呼び出しにつき 1 つの添付ファイルを受け付けます:
atlassian confluence attachment upload --page 123456 --file ./diagram.pngサイトで添付ファイルが有効になっている必要があり、アップロードはサイトの最大添付ファイルサイズの制限を受けます。
破壊的操作
削除はデフォルトでプレビューされます。実際の削除には --force と、取得したリソースから得られる一致する --confirm 値が必要です。
# Preview the permanent Jira delete
atlassian jira delete PROJ-123
# Permanently delete the Jira issue
atlassian jira delete PROJ-123 --force --confirm PROJ-123
# Preview moving a Confluence page to trash
atlassian confluence delete 123456
# Move a Confluence page to trash
atlassian confluence delete 123456 --force --confirm 123456
# Permanently purge an already-trashed Confluence page
atlassian confluence delete 123456 --purge --force --confirm 123456ソースから始める
# Install dependencies
bun install
# Build all packages
bun run build
# Run the CLI
bun run dev:cli -- --help
# Run the MCP server (stdio mode for Claude Desktop)
bun run dev:mcpトークンは、ワークフローに必要な最小限の Jira および Confluence の権限にスコープする必要があります。サードパーティのリファレンス実装は refs/ にありますが、これは意図的に gitignore されており、このリポジトリが未レビューのコードをベンダリングしたり、ローカル認証情報を使って実行したりすることはありません。
アーキテクチャ
packages/sdk/ <-- Types, API client, business logic (foundation)
^ ^
| |
packages/cli/ packages/mcp/
(Stricli) (FastMCP)CLI と MCP サーバーはどちらも SDK の薄いラッパーです。REST API が変更された場合は SDK を更新するだけで、両方のコンシューマーが自動的に修正を受け取れます。
開発
# Run tests across all packages
bun test
# Build a specific package
cd packages/sdk && bun run build新しい API オペレーションの追加
packages/sdk/src/types.tsに型を追加するpackages/sdk/src/client.tsにクライアントメソッドを追加するpackages/cli/src/commands/に CLI コマンドを追加するpackages/mcp/src/tools/に MCP ツールを追加する
破壊的操作はデフォルトでプレビューパスにし、CLI では明示的な --force フラグ、MCP ツールでは force: true を必須にする必要があります。
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAn MCP server that enables AI agents to interact with Atlassian products (Confluence and Jira) for content management, issue tracking, and project management through a standardized interface.4,770 npm6MIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server that enables AI assistants to interact with Atlassian Jira and Confluence across Cloud and Server/Data Center environments. It supports tasks like searching and summarizing documentation, managing Jira issues, and creating content through natural language.MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for Atlassian Cloud (Confluence & Jira) with seamless OAuth 2.0 authentication. Enables AI agents to document work in Confluence, manage Jira issues, and understand project context.26 PyPI4MIT
- FlicenseNot gradedqualityCmaintenanceMCP server that provides AI assistants with access to Jira Cloud for issue management, search, and workflow operations.-