The MCP Atlassian server acts as a bridge between AI agents and Atlassian products (Confluence and Jira), providing standardized tools to search content, retrieve information, and interact with these platforms through a consistent interface.
Before installing the MCP Atlassian server, ensure you have:
Clone the repository:
git clone https://github.com/yourusername/mcp-atlassian.git
cd mcp-atlassian
Install dependencies:
npm install
# or using make
make install
Create a .env
file in the root directory with your Atlassian credentials:
ATLASSIAN_HOST=https://your-domain.atlassian.net
[email protected]
ATLASSIAN_API_TOKEN=your-api-token
Clone the repository:
git clone https://github.com/yourusername/mcp-atlassian.git
cd mcp-atlassian
Create a .env
file as described above.
Build and run the Docker container:
# Build the Docker image
make docker-build
# Run the Docker container
make docker-run
# Or use Docker Compose
make docker-compose
To start the MCP server:
# Using npm
npm start
# Using make
make start
# Using Docker
make docker-run
The server will listen for requests on stdin and respond on stdout.
The server provides several tools for interacting with Confluence:
search-confluence: Search for content in Confluence using CQL
query
(string)get-confluence-space: Get information about a specific Confluence space
spaceKey
(string)get-confluence-content: Get specific content by ID
contentId
(string)get-confluence-pages: Get all pages in a space
spaceKey
(string), limit
(number, optional)For Jira interactions, the following tools are available:
search-jira-issues: Search for issues using JQL
jql
(string), maxResults
(number, optional)get-jira-issue: Get a specific issue by key
issueKey
(string)get-jira-projects: Get all projects
get-jira-project: Get a specific project by key
projectKey
(string)get-jira-issue-types: Get all issue types
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.