Atlassian MCP Server

Atlassian MCP Server

Provides integration with Jira and Confluence, enabling issue and page management via natural language.

Category
访问服务器

README

Atlassian MCP Server

A custom Model Context Protocol (MCP) server that provides integration with your enterprise Jira and Confluence instances.

Features

Jira Tools

  • jira_search_issues - Search issues using JQL
  • jira_get_issue - Get detailed information about a specific issue
  • jira_create_issue - Create new issues
  • jira_update_issue - Update existing issues (summary, description, status)
  • jira_add_comment - Add comments to issues

Confluence Tools

  • confluence_search - Search pages using CQL
  • confluence_get_page - Get page content by ID or title
  • confluence_create_page - Create new pages
  • confluence_update_page - Update existing pages

Prerequisites

  • Node.js v18 or higher
  • An Atlassian Cloud account with access to Jira and/or Confluence
  • API token for authentication

Setup Instructions

Step 1: Install Dependencies

Navigate to the server directory and install dependencies:

cd atlassian-mcp-server
npm install

Step 2: Create API Token

  1. Go to https://id.atlassian.com/manage-profile/security/api-tokens
  2. Click Create API token
  3. Give it a label (e.g., "MCP Server")
  4. Copy the token (you won't be able to see it again!)

Step 3: Configure Environment Variables

  1. Copy the example environment file:

    cp .env.example .env
    
  2. Edit the .env file with your information:

    ATLASSIAN_DOMAIN=yourcompany.atlassian.net
    ATLASSIAN_EMAIL=your.email@company.com
    ATLASSIAN_API_TOKEN=your_api_token_here
    DEFAULT_JIRA_PROJECT=PROJ
    DEFAULT_CONFLUENCE_SPACE=DEV
    

    Important:

    • For ATLASSIAN_DOMAIN, only include the subdomain (e.g., mycompany.atlassian.net)
    • Do NOT include https:// in the domain
    • Use your actual Atlassian account email
    • Paste the API token you created in Step 2

Step 4: Build the Server

npm run build

Step 5: Test the Server (Optional)

You can test if the server starts correctly:

npm start

If you see "Atlassian MCP Server running on stdio", it's working! Press Ctrl+C to stop.

Step 6: Add to Claude Code Configuration

  1. Find your Claude Code configuration file:

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  2. Add the server configuration. If the file doesn't exist or is empty, create it with:

    {
      "mcpServers": {
        "atlassian": {
          "command": "node",
          "args": [
            "/Users/206632367@BWT3.COM/Documents/workspace/fd-github/atlassian-mcp-server/dist/index.js"
          ]
        }
      }
    }
    

    Note: Replace the path with the absolute path to your dist/index.js file.

    If you already have other MCP servers configured, just add the "atlassian" entry to the existing mcpServers object:

    {
      "mcpServers": {
        "existing-server": {
          ...
        },
        "atlassian": {
          "command": "node",
          "args": [
            "/Users/206632367@BWT3.COM/Documents/workspace/fd-github/atlassian-mcp-server/dist/index.js"
          ]
        }
      }
    }
    
  3. Save the file and restart Claude Code completely (quit and reopen).

Usage Examples

Once connected, you can ask Claude to interact with your Jira and Confluence:

Jira Examples

"Search for all open bugs in project ABC"
"Show me details of issue ABC-123"
"Create a task in project ABC with summary 'Update documentation'"
"Add a comment to issue ABC-123 saying 'Working on this now'"
"Update ABC-123 status to 'In Progress'"

Confluence Examples

"Search for pages about 'API documentation' in the DEV space"
"Show me the content of the page titled 'Getting Started' in space DOCS"
"Create a new page in space DEV titled 'Meeting Notes' with content..."
"Update page 123456 with new content..."

Troubleshooting

Authentication Errors

If you get 401 Unauthorized errors:

  • Verify your email is correct in .env
  • Ensure your API token is valid and hasn't expired
  • Check that you have access to the Jira/Confluence instance

Connection Errors

If Claude can't connect to the server:

  • Make sure you've run npm run build
  • Verify the path in claude_desktop_config.json is absolute and correct
  • Check that Node.js is in your PATH
  • Restart Claude Code completely

Tool Not Found

If Claude says it doesn't have access to Jira/Confluence tools:

  • Ensure the server is listed in your MCP configuration
  • Restart Claude Code
  • Check the server logs for any startup errors

Finding Your Claude Config File

macOS:

open ~/Library/Application\ Support/Claude/

Windows:

%APPDATA%\Claude\

Development

To make changes to the server:

  1. Edit files in src/
  2. Rebuild: npm run build
  3. Restart Claude Code to pick up changes

For development with auto-rebuild:

npm run watch

Security Notes

  • Your API token is stored locally in the .env file
  • Never commit .env to version control
  • The server only runs locally and communicates directly with your Atlassian instance
  • All authentication uses HTTPS

License

MIT

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选