Jira & Confluence MCP: 24 tools for issues, sprints, comments, transitions & wiki. Run via npx.
io.github.raalarcon9705/jira-mcp โ Jira & Confluence MCP Server
This MCP server provides 24 tools for Jira and Confluence workflows, covering issues, sprints, comments, transitions, and wiki content. It is designed to run via npx and is presented as an MCP-compatible model-context-protocol server.
The most complete open sourceModel Context Protocol (MCP) server for Jira & Atlassian. Connect any MCP-compatible AI client to your Jira instance in seconds โ manage issues, sprints, comments, transitions, users, and Confluence pages without leaving your AI assistant.
Once configured in your MCP client, the server will automatically start when needed. No additional setup required!
Rich Text Support with Markdown
The server now supports automatic Markdown to ADF conversion for issue descriptions and comments. Simply use Markdown syntax and it will be automatically converted to Atlassian Document Format (ADF).
Supported Markdown Elements
Headers: # H1, ## H2, ### H3
Text formatting: **bold**, *italic*
Code: `inline code` and code blocks
Lists: - bullet lists and 1. numbered lists
Links: [text](url)
Blockquotes: > quoted text
Checkboxes: - [x] completed task
Example Usage
javascript
// Create issue with Markdown descriptioncreate_issue({
projectKey: 'PROJ',
summary: 'Bug Report',
description: `# Bug Report
## Description
This is a **critical** bug affecting the login system.
## Steps to Reproduce
1. Go to login page
2. Enter invalid credentials
3. Click login button
## Code Example
\`\`\`javascript
function login(username, password) {
return authenticate(username, password);
}
\`\`\`
> **Note**: This bug was reported by multiple users.`,
});
// Create comment with Markdowncreate_comment({
issueKey: 'PROJ-123',
body: `## Update
**Status**: Fixed โ
- [x] Identified root cause
- [x] Implemented fix
- [x] Tested solution
The issue has been resolved.`,
});
Development
bash
npm run dev
Production
bash
npm run build
npm start
Testing with npx
You can also test the server directly with npx:
bash
# Test the server
npx raalarcon-jira-mcp-server
# Or use with MCP Inspector
npx @modelcontextprotocol/inspector
# Then configure: command: "npx", args: ["-y", "raalarcon-jira-mcp-server"]
Available Tools
Projects
get_projects
Retrieves all projects accessible to the authenticated user.
Parameters:
expand (optional): Additional data to include
recent (optional): Number of recent projects (0-20)
Response: Array of projects with essential fields:
Gets details of a specific issue (custom fields removed for token efficiency).
Parameters:
issueKey (required): Issue key (e.g., PROJ-123)
expand (optional): Additional information
fields (optional): Specific fields to return
Response: Complete issue object with custom fields filtered out
update_issue
Updates an existing issue.
Parameters:
issueKey (required): Issue key to update
summary (optional): New summary
description (optional): New description
priority (optional): New priority
assignee (optional): New assignee
labels (optional): New labels
components (optional): New components
fixVersions (optional): New fix versions
customFields (optional): Custom fields
Response: Issue PROJ-123 updated successfully
delete_issue
Deletes an issue.
Parameters:
issueKey (required): Issue key to delete
deleteSubtasks (optional): Delete subtasks too (default: false)
Response: Issue PROJ-123 deleted successfully
Comments
create_comment
Adds a comment to an issue.
Parameters:
issueKey (required): Issue key
body (required): Comment text (supports ADF format)
visibility (optional): Visibility settings
Response: Comment 12345 created successfully
get_comments
Gets all comments for an issue.
Parameters:
issueKey (required): Issue key
startAt (optional): Start index (default: 0)
maxResults (optional): Max comments (1-100, default: 50)
Response: Optimized comment structure:
json
{"total":5,"start":0,"max":50,"items":[{"id":"12345","author":"John Doe","authorId":"account-id","created":"2025-01-01T10:00:00.000Z","text":"Comment text content"}]}
update_comment
Updates an existing comment.
Parameters:
issueKey (required): Issue key
commentId (required): Comment ID
body (required): New comment text
visibility (optional): New visibility settings
Response: Comment 12345 updated successfully
delete_comment
Deletes a comment.
Parameters:
issueKey (required): Issue key
commentId (required): Comment ID
Response: Comment 12345 deleted successfully
Transitions
get_transitions
Gets available transitions for an issue.
Parameters:
issueKey (required): Issue key
Response: Array of transitions with essential fields:
json
[{"id":"21","name":"In Progress","desc":"The assignee is currently working on this activity","toName":"In Progress","toId":"3","available":true,"category":"In Progress"}]
transition_issue
Moves an issue to a different state.
Parameters:
issueKey (required): Issue key
transitionId (required): Transition ID
comment (optional): Comment to add during transition
๐ฌ Discussions: Use GitHub Discussions for questions
๐ Issues: Use GitHub Issues for bugs and feature requests
๐ Documentation: Check the README and CONTRIBUTING.md
Publishing to npm
To publish this MCP server to npm for distribution:
Login to npm:
bash
npm login
Run the publish script:
bash
./publish.sh
Or publish manually:
bash
npm run build
npm publish
The package will be available as raalarcon-jira-mcp-server and users can install it with:
bash
npx raalarcon-jira-mcp-server
License
MIT
Support
To report bugs or request features, please open an issue in the repository.
Note: This MCP server is designed to work with Jira Cloud. For Jira Server/Data Center, additional modifications are required for authentication and some endpoints.