Development · MODEL CONTEXT PROTOCOL
kompallik ATLASSIAN MCP
MCP to integrate with JIRA & CONFLUENCE
连接能力
kompallik ATLASSIAN MCP 为 AI Agent 提供什么
- Get JIRA ticket details
- Search for JIRA tickets using JQL
- Create new JIRA tickets
- Add comments to JIRA tickets
- Get Confluence page content
- Search for content in Confluence
- Node.js 16 or higher
- An Atlassian Cloud account
- An Atlassian API token
- Open Cline
- Go to Settings > MCP Servers
- Select the "Marketplace" tab
- Search for "Atlassian"
- Click "Install"
- Configure your Atlassian credentials when prompted
- Clone the repository
- Run the install script:
- Install dependencies
- Build the project
- Install globally
- Run the setup
- Create a `config.json` file in the `config` directory (you can copy from `config.sample.json`)
- Fill in your Atlassian details:
- `ATLASSIAN_BASE_URL`: Your Atlassian instance URL (e.g., `https://your-instance.atlassian.net`)
- `ATLASSIAN_EMAIL`: Your Atlassian account email
- `ATLASSIAN_TOKEN`: Your Atlassian API token
- `ATLASSIAN_CONFIG_PATH`: (Optional) Path to a custom config file location
- Log in to your Atlassian account at https://id.atlassian.com/manage-profile/security/api-tokens
- Click "Create API token"
- Give your token a name (e.g., "MCP Server")
- Copy the generated token (you won't be able to see it again)
- Open Cline
- Go to Settings > MCP Servers
- Select the "Marketplace" tab
- Search for "Atlassian"
- Click "Install"
- Configure your Atlassian credentials when prompted
- `ticket_key`: JIRA ticket key (e.g., "PROJ-123")
- `jql`: JQL query string
- `max_results`: Maximum number of results to return (default: 10)
- `project_key`: Project key (e.g., "PROJ")
- `summary`: Ticket summary/title
- `description`: Ticket description
- `issue_type`: Issue type (e.g., "Bug", "Task", "Story") (default: "Task")
- `ticket_key`: JIRA ticket key (e.g., "PROJ-123")
- `comment`: Comment text
- `page_id`: Confluence page ID
- `query`: Search query
- `limit`: Maximum number of results (default: 10)
- Push your changes to the GitHub repository using the provided script:
- Add an `icon.png` file in the `assets` directory if not already present
- Run the publish script:
- Follow the prompts to publish to npm and/or create a distribution package
- Submit your repository URL to the Cline MCP Marketplace team
安全
MCP 收录不等于安全审核
MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。
README
仓库文档
A Model Context Protocol (MCP) server for integrating with Atlassian JIRA and Confluence. This server provides tools to interact with JIRA tickets and Confluence pages through the MCP protocol.
- Get JIRA ticket details
- Search for JIRA tickets using JQL
- Create new JIRA tickets
- Add comments to JIRA tickets
- Get Confluence page content
- Search for content in Confluence
- Node.js 16 or higher
- An Atlassian Cloud account
- An Atlassian API token
- Open Cline
- Go to Settings > MCP Servers
- Select the "Marketplace" tab
- Search for "Atlassian"
- Click "Install"
- Configure your Atlassian credentials when prompted
npm install -g atlassian-mcp-server- Clone the repository
- Run the install script:
./install.shOr manually:
- Install dependencies
npm install- Build the project
npm run build- Install globally
npm install -g .- Run the setup
atlassian-mcp-setupYou can configure the server using the setup script, a configuration file, or environment variables.
Run the setup script to create your configuration file:
npx atlassian-mcp-setupOr if installed locally:
npm run setupThe script will guide you through the configuration process and create a config.json file in the config directory.
- Create a
config.jsonfile in theconfigdirectory (you can copy fromconfig.sample.json) - Fill in your Atlassian details:
{
"atlassian": {
"baseUrl": "https://your-instance.atlassian.net",
"email": "your-email@example.com",
"token": "your-api-token-here"
},
"server": {
"name": "atlassian-server",
"version": "0.1.0"
}
}Set the following environment variables:
ATLASSIAN_BASE_URL: Your Atlassian instance URL (e.g.,https://your-instance.atlassian.net)ATLASSIAN_EMAIL: Your Atlassian account emailATLASSIAN_TOKEN: Your Atlassian API tokenATLASSIAN_CONFIG_PATH: (Optional) Path to a custom config file location
- Log in to your Atlassian account at https://id.atlassian.com/manage-profile/security/api-tokens
- Click "Create API token"
- Give your token a name (e.g., "MCP Server")
- Copy the generated token (you won't be able to see it again)
atlassian-mcp-serverOr if installed from source:
npm start- Open Cline
- Go to Settings > MCP Servers
- Select the "Marketplace" tab
- Search for "Atlassian"
- Click "Install"
- Configure your Atlassian credentials when prompted
If you've installed the server manually, add the following to your MCP settings:
{
"mcpServers": {
"atlassian": {
"command": "atlassian-mcp-server",
"args": [],
"env": {
"ATLASSIAN_CONFIG_PATH": "/path/to/your/config.json"
},
"disabled": false
}
}
}Alternatively, you can provide the credentials directly in the settings:
{
"mcpServers": {
"atlassian": {
"command": "atlassian-mcp-server",
"args": [],
"env": {
"ATLASSIAN_BASE_URL": "https://your-instance.atlassian.net",
"ATLASSIAN_EMAIL": "your-email@example.com",
"ATLASSIAN_TOKEN": "your-api-token-here"
},
"disabled": false
}
}
}Get details of a JIRA ticket by key.
Parameters:
ticket_key: JIRA ticket key (e.g., "PROJ-123")
Search for JIRA tickets using JQL.
Parameters:
jql: JQL query stringmax_results: Maximum number of results to return (default: 10)
Create a new JIRA ticket.
Parameters:
project_key: Project key (e.g., "PROJ")summary: Ticket summary/titledescription: Ticket descriptionissue_type: Issue type (e.g., "Bug", "Task", "Story") (default: "Task")
Add a comment to a JIRA ticket.
Parameters:
ticket_key: JIRA ticket key (e.g., "PROJ-123")comment: Comment text
Get a Confluence page by ID.
Parameters:
page_id: Confluence page ID
Search for content in Confluence.
Parameters:
query: Search querylimit: Maximum number of results (default: 10)
This server is configured to be published to the Cline MCP Marketplace using the GitHub repository at: https://github.com/kompallik/ATLASSIAN-MCP
To publish updates:
- Push your changes to the GitHub repository using the provided script:
npm run push-github- Add an
icon.pngfile in theassetsdirectory if not already present - Run the publish script:
npm run publish-mcp- Follow the prompts to publish to npm and/or create a distribution package
- Submit your repository URL to the Cline MCP Marketplace team
MIT
社区