Purpose
jira-mcp is an open-source Model Context Protocol (MCP) server for Jira and Atlassian. It connects Jira's project management capabilities to any MCP-compatible AI client, enabling users to operate issues, sprints, comments, users, and Confluence pages in Jira without leaving the AI assistant.
Compatible AI Clients
The project materials only state "compatible with any MCP client," and list Claude and Cursor as examples, while also mentioning that the server can be found in directories such as MCP Market, MCP Servers, Claude Marketplaces, and npm. No specific list of supported clients is provided.
Main Capabilities
- Project management: List projects and issue types.
- Issue CRUD: Create, read, update, and delete issues.
- Comments: Create, read, update, and delete comments, with pagination enhancements.
- Status transitions: Move issues between statuses.
- Assignment: Assign issues to users.
- User management: Search for and manage users.
- Sprint management: Full agile sprint lifecycle management.
- Wiki integration: Access Confluence pages via URL identifiers and convert HTML to text.
- Rich text support: Convert Markdown to ADF for formatted issue descriptions and comments.
- Validation: Validation using Yup schema.
- Authentication: Full support for Jira Cloud.
- Response optimization: Field filtering to save tokens.
- Type safety: Full TypeScript support.
Usage
There are two ways:
- Use npx (recommended): Configure the server in an MCP client (e.g., Claude Desktop) and configure the Jira API token. The server will automatically download and run when needed, with no additional installation required. The npm package name is
npx raalarcon-jira-mcp-server. - Local development: Clone the repository, install dependencies, build the project, then configure the MCP client to point to the full path of the built server.
Getting an API token: Go to Atlassian Account Settings, click "Create API token," fill in a name, and copy the generated token.
Rich Text (Markdown to ADF)
The server supports automatically converting Markdown to Atlassian Document Format (ADF) for issue descriptions and comments. Supported syntax includes: headings (# H1, ## H2, ### H3), text formatting (bold, italic), code (inline code and code blocks), lists (- bulleted lists, 1. numbered lists), links (text), quotes (> quoted text), checkboxes (- [x] completed task).
Available Tools
- Get projects: returns all projects accessible to the authenticated user. Optional parameters expand, recent (0-20).
- Get issue types: gets the available issue types for a project by projectKey.
- Create issue: parameters include summary (required), issueType (required), description, priority, assignee, labels, components, fixVersions, customFields.
- Get issue: gets details by issueKey (custom fields are filtered to save tokens), optional expand, fields.
- Update issue: updates summary, description, priority, assignee, labels, components, fixVersions, customFields by issueKey.
- Delete issue: deletes by issueKey, optional deleteSubtasks (default false).
- Add comment: adds by issueKey, body (supports ADF), optional visibility.
- Get comments: gets by issueKey, optional startAt (default 0), maxResults (1-100, default 50).
- Update comment: updates by commentId, body, optional visibility.
- Delete comment: deletes by commentId.
- Get transitions: gets available transitions by issueKey.
- Execute transition: transitions by issueKey, transitionId, optional comment, fields.
- Assign issue: assigns by issueKey, assignee (user account ID).
- Search users: optional query, projectKey, maxResults (1-100, default 50).
- Get current user: returns information about the currently authenticated user.
Sprint Management
- Get agile boards: optional projectKey, boardType (scrum, kanban), used to find the board ID required for sprint operations.
- Get sprints: gets by boardId, optional state (active, closed, future).
- Create sprint: name, originBoardId are required; startDate, endDate, goal are optional.
- Update sprint: updates name, startDate, endDate, goal, state by sprintId; closed sprints can only have name and goal updated.
- Close sprint: closes by sprintId, requires the sprint to be in active state, and it cannot be reopened after closing.
- Delete sprint: deletes by sprintId; incomplete issues in the sprint are moved to the backlog, and this is irreversible.
- Move issues to sprint: moves by issueKey, sprintId; can only be moved to an open or active sprint.
- Get sprint issues: gets the issue list by sprintId, optional maxResults (1-100, default 50).
Confluence Integration
Accesses a Confluence page via a URL identifier and returns formatted content: query (required) is the page code (for example F4CjNw). Features include: automatically following short URL redirects, converting HTML to plain text while preserving structure, displaying the page hierarchy, and comprehensive error handling.
Response Optimization
The server is optimized for token efficiency: returns only necessary fields; automatically filters custom fields in issue responses; uses short field names (for example desc instead of description); clear and concise success confirmations; maintains a consistent structured response format across all tools.
Error Handling
Includes robust error handling with descriptive information. Common errors include: authentication (invalid or expired credentials), permissions (insufficient permission for the operation), validation (invalid input data), resource (issue or project not found), API (rate limiting or Jira server error).
Project Structure and Development
The project structure is organized according to the repository instructions. Steps to add a new feature: create a validation schema in src/schemas/index.ts; implement the method in src/jira-client.ts; in src/tools/ Create the corresponding file for the MCP tool; register the tool in src/index.ts.
For testing, you can use MCP Inspector: npm install -g @modelcontextprotocol/inspector; build the project with npm run build; start npx @modelcontextprotocol/inspector; in the interface, configure: Transport as STDIO (default), Command as node, Args as build/index.js, and add the Jira credentials in Environment. CLI mode is also supported for automation and scripting, as well as a configuration file approach for complex settings.
Contribution Guidelines
Contributions are welcome. Steps: fork the repository on GitHub; clone it locally git clone https://github.com/raalarcon9705/jira-mcp.git then cd jira-mcp;npm install; create a branch git checkout -b feature/your-feature-name. Development requirements: all code uses TypeScript; avoid any, use correct Jira.js types; include comprehensive error handling; use Yup schema for input validation; add clear comments for complex logic; follow the existing code style and formatting.
Before a Pull Request, confirm: the code has no TypeScript errors, all tools work as expected, response optimization has been implemented, error handling is comprehensive, documentation is updated as needed, and examples do not contain personal data. Commit messages should be clear, and after pushing the branch, open a Pull Request.
Limitations
The project materials do not provide additional information about fees, pricing, platform support scope, performance results, or beyond the usage steps; anything not mentioned above is not currently provided.