MCP Atlassian Server

MCP Atlassian Server

Enables AI assistants to interact with Atlassian Jira and Confluence, supporting OAuth 2.0 authentication and multiple transports.

Category
访问服务器

README

MCP Atlassian Server

A simple, command-line Model Context Protocol (MCP) server for Atlassian Jira and Confluence. Connect any MCP-compatible AI assistant to your Atlassian instance with OAuth 2.0 authentication.

🚀 Quick Start

# 1. Clone and install
git clone https://github.com/your-username/mcp-nodejs-atlassian.git
cd mcp-nodejs-atlassian
npm install && npm run build

# 2. Set up authentication (interactive wizard)
npm run oauth-setup

# 3. Ready to use!
npx mcp-atlassian-nodejs --help

Optional: Install globally for cleaner commands:

npm install -g ./
mcp-atlassian --help

Now you can use the server in any MCP-compatible client without hardcoded paths!

Two ways to use:

  • With npx: npx mcp-atlassian-nodejs (no global install needed)
  • Globally: mcp-atlassian (after npm install -g ./)

🔧 Authentication

OAuth 2.0 (Recommended)

Run the interactive OAuth setup wizard:

npm run oauth-setup

What it does:

  • Walks you through creating an Atlassian OAuth app
  • Opens your browser for secure authorization
  • Auto-detects your Cloud ID
  • Generates all configuration automatically

Requirements:

  • Atlassian Cloud account
  • Port 8080 available for callback

Manual Setup (Alternative)

For API tokens, server deployments, or advanced configuration:

cp env.example .env
# Edit .env with your credentials

Atlassian Cloud:

CONFLUENCE_URL=https://your-company.atlassian.net/wiki
CONFLUENCE_USERNAME=your.email@company.com
CONFLUENCE_API_TOKEN=your_api_token
JIRA_URL=https://your-company.atlassian.net
JIRA_USERNAME=your.email@company.com
JIRA_API_TOKEN=your_api_token

Server/Data Center:

CONFLUENCE_URL=https://confluence.your-company.com
CONFLUENCE_PERSONAL_TOKEN=your_personal_token
JIRA_URL=https://jira.your-company.com
JIRA_PERSONAL_TOKEN=your_personal_token

🤖 AI Assistant Integration

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "atlassian": {
      "command": "npx",
      "args": ["mcp-atlassian-nodejs"]
    }
  }
}

Alternative: Global install for cleaner setup:

npm install -g ./

Then use:

{
  "mcpServers": {
    "atlassian": {
      "command": "mcp-atlassian"
    }
  }
}

Cursor

  1. Settings → MCP → Add global MCP server
  2. Command: npx
  3. Args: ["mcp-atlassian-nodejs"]

Alternative: After global install (npm install -g ./):

  • Command: mcp-atlassian
  • Args: []

Any MCP Client

The server supports standard MCP transports:

# stdio (default - for most AI assistants)
npm start

# HTTP Server-Sent Events
npm start -- --transport sse --port 8000

# HTTP Streamable
npm start -- --transport streamable-http --port 8000

🔧 Configuration

Command-Line Options

node dist/index.js --help                    # Show all options
node dist/index.js --oauth-setup             # OAuth wizard
node dist/index.js --read-only               # Safe mode
node dist/index.js --verbose                 # Debug logging
node dist/index.js --enabled-tools "search"  # Limit tools
node dist/index.js --transport sse --port 8000  # HTTP mode

Environment Variables

# Security
READ_ONLY_MODE=true              # Disable write operations
MCP_VERBOSE=true                 # Enable debug logging

# Filtering  
CONFLUENCE_SPACES_FILTER=DEV,TEAM,DOC     # Limit Confluence spaces
JIRA_PROJECTS_FILTER=PROJ,DEV,SUPPORT     # Limit Jira projects

# Tools
ENABLED_TOOLS=confluence_search,jira_get_issue  # Specific tools only

📚 Available Tools

Confluence

  • confluence_search - Search content across spaces
  • confluence_get_page - Get specific pages by ID/title
  • confluence_create_page - Create new pages
  • confluence_update_page - Update existing pages

Jira

  • jira_search_issues - Search issues with JQL
  • jira_get_issue - Get detailed issue info
  • jira_create_issue - Create new issues
  • jira_update_issue - Update existing issues

💬 Usage Examples

Ask your AI assistant:

  • "Search Confluence for API documentation"
  • "Get details of Jira issue PROJ-123"
  • "Create a bug report in the MOBILE project"
  • "Find all my open tickets from last sprint"
  • "Update PROJ-456 status to In Progress"

🖥️ Server Deployment

For production server deployment:

# Install on server
git clone https://github.com/your-username/mcp-nodejs-atlassian.git
cd mcp-nodejs-atlassian
npm ci --only=production
npm run build

# Set up environment
cp env.example .env
# Edit .env with production credentials

# Run with process manager (recommended)
npm install -g pm2
pm2 start dist/index.js --name "mcp-atlassian" -- --transport sse --port 8000 --host 0.0.0.0

# Or run directly
node dist/index.js --transport sse --port 8000 --host 0.0.0.0

🏢 Enterprise Features

  • OAuth 2.0 - Secure delegated access
  • API Tokens - Simple authentication
  • Personal Access Tokens - Server/Data Center support
  • Read-only mode - Safe operations
  • Access filtering - Limit spaces/projects
  • Multiple transports - stdio, SSE, HTTP
  • Process management - PM2/systemd compatible

🛠️ Development

npm run dev        # Development mode with hot reload
npm run build      # Build for production
npm test           # Run tests
npm run lint       # Code linting

🤝 Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines.

📄 License

MIT License - see LICENSE file for details.

🔗 Links


Simple, powerful Atlassian integration for AI assistants

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选