copilot-jira-mcp
by GiDanis
README.md
# ๐ซ Copilot Jira MCP Server
[](https://www.npmjs.com/package/copilot-jira-mcp)
[](https://opensource.org/licenses/MIT)
[](https://nodejs.org)
> **Official MCP (Model Context Protocol) server for seamless Jira integration with GitHub Copilot CLI**
Interact with Jira issues, search tickets, and manage your workflow directly from GitHub Copilot CLI using natural language!
---
## โจ Features
- ๐ **Smart Search** - Search Jira tickets using JQL or natural language
- ๐ **Issue Details** - Get comprehensive information about any ticket
- ๐ฌ **Comments** - Read and analyze issue comments
- ๐ **Subtasks & Links** - Navigate issue hierarchies
- ๐ **Attachments** - List and access issue attachments
- ๐ค **My Issues** - Quick access to your assigned tickets
- ๐ **Fast & Lightweight** - Minimal dependencies, maximum performance
- ๐ **Secure** - Credentials stored safely in environment variables
- ๐ **Universal** - Works with any Jira instance (Cloud or Server)
- ๐ฏ **AI-Powered** - Let Copilot understand and query your Jira naturally
---
## ๐ Quick Start
### Prerequisites
- **Node.js** 18 or higher ([Download](https://nodejs.org))
- **GitHub Copilot CLI** ([Setup Guide](https://githubnext.com/projects/copilot-cli))
- **Jira Account** with API access
### Installation
#### Option 1: Install from GitHub (Recommended) โญ
```bash
# Install globally from GitHub
npm install -g git+https://github.com/GiDanis/copilot-jira-mcp.git
# Run interactive setup
npx jira-mcp setup
```
#### Option 2: Clone and Install
```bash
# Clone repository
git clone https://github.com/GiDanis/copilot-jira-mcp.git
cd copilot-jira-mcp
# Install dependencies
npm install
# Run setup wizard
npm run setup
# Register with Copilot
npm run register
```
#### Option 3: NPM Package
```bash
# Install from NPM
npm install -g copilot-jira-mcp
```
### Configuration
The setup wizard will guide you through:
1. **Jira URL** - Your Jira instance URL (e.g., `https://your-company.atlassian.net`)
2. **Email** - Your Jira account email
3. **API Token** - Generate at [Atlassian API Tokens](https://id.atlassian.com/manage-profile/security/api-tokens)
Credentials are stored securely in environment variables:
- `JIRA_URL`
- `JIRA_EMAIL`
- `JIRA_API_TOKEN`
---
## ๐ Usage
Once installed, simply open Copilot and use natural language:
```bash
copilot
```
### Example Queries
**Get your tickets:**
```
> Show me my assigned Jira tickets
```
**Search issues:**
```
> Search Jira for open bugs in project IIAB
> Find all high priority tickets in sprint 23
> Show me tickets updated in the last week
```
**Get ticket details:**
```
> Get details for IIAB-12345
> Show me comments on ticket PROJ-789
> List subtasks for IIAB-456
```
**Advanced JQL:**
```
> Search Jira with JQL: project = IIAB AND status = "In Progress"
```
---
## ๐ ๏ธ Available Tools
The MCP server exposes these tools to Copilot:
| Tool | Description |
|------|-------------|
| `jira_search` | Search issues using JQL |
| `jira_get_issue` | Get detailed ticket information |
| `jira_get_comments` | Retrieve all comments |
| `jira_get_subtasks` | List all subtasks |
| `jira_get_attachments` | List attachments |
| `jira_get_my_issues` | Get your assigned tickets |
---
## ๐ Security
**Your credentials are NEVER committed or shared!**
โ
Stored in environment variables
โ
`.gitignore` prevents accidental commits
โ
No plaintext storage
โ
API tokens can be revoked anytime
**Best Practices:**
- Generate dedicated API tokens (don't reuse)
- Revoke tokens when not needed
- Never share `.env` files
- Use different tokens for different machines
See [SECURITY.md](SECURITY.md) for complete security guidelines.
---
## ๐ Documentation
- [Installation Guide](docs/installation.md) - Detailed setup instructions
- [Configuration](docs/configuration.md) - Advanced configuration options
- [Usage Examples](docs/usage.md) - More query examples
- [Troubleshooting](docs/troubleshooting.md) - Common issues and solutions
- [Contributing](CONTRIBUTING.md) - How to contribute
---
## ๐ง Manual Configuration
If you prefer manual setup:
### Windows (PowerShell)
```powershell
# Set environment variables
[Environment]::SetEnvironmentVariable("JIRA_URL", "https://your-company.atlassian.net", "User")
[Environment]::SetEnvironmentVariable("JIRA_EMAIL", "your.email@company.com", "User")
[Environment]::SetEnvironmentVariable("JIRA_API_TOKEN", "your-token-here", "User")
# Restart terminal
```
### Mac/Linux (Bash/Zsh)
```bash
# Add to ~/.bashrc or ~/.zshrc
export JIRA_URL="https://your-company.atlassian.net"
export JIRA_EMAIL="your.email@company.com"
export JIRA_API_TOKEN="your-token-here"
# Reload shell
source ~/.bashrc # or ~/.zshrc
```
### Register MCP Server
Edit `~/.copilot/mcp.json`:
```json
{
"mcpServers": {
"jira": {
"command": "node",
"args": ["/path/to/copilot-jira-mcp/src/index.js"],
"env": {
"JIRA_URL": "${JIRA_URL}",
"JIRA_EMAIL": "${JIRA_EMAIL}",
"JIRA_API_TOKEN": "${JIRA_API_TOKEN}"
}
}
}
}
```
---
## ๐ Troubleshooting
### "Missing Jira configuration" Error
**Solution:** Run the setup wizard:
```bash
npm run setup
```
### "Authentication failed" Error
**Causes:**
- Invalid API token
- Incorrect email
- Wrong Jira URL
**Solution:** Regenerate API token and run setup again.
### MCP Server Not Found
**Solution:** Re-register the server:
```bash
npm run register
```
For more help, see [Troubleshooting Guide](docs/troubleshooting.md).
---
## ๐ค Contributing
Contributions are welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
**Areas we'd love help with:**
- ๐ Internationalization
- ๐ฑ Additional Jira features (transitions, creating tickets, etc.)
- ๐งช Test coverage
- ๐ Documentation improvements
- ๐ Bug fixes
---
## ๐ License
MIT ยฉ 2026 Giuseppe Danise
See [LICENSE](LICENSE) for details.
---
## ๐ Acknowledgments
- Built with [Model Context Protocol SDK](https://github.com/anthropics/mcp)
- Inspired by the awesome GitHub Copilot CLI
- Thanks to the Jira REST API team
---
## โญ Support
If this project helps you, please give it a โญ on GitHub!
**Issues?** [Report them here](https://github.com/GiDanis/copilot-jira-mcp/issues)
**Questions?** [Start a discussion](https://github.com/GiDanis/copilot-jira-mcp/discussions)
---
## ๐ Links
- [GitHub Repository](https://github.com/GiDanis/copilot-jira-mcp)
- [NPM Package](https://www.npmjs.com/package/copilot-jira-mcp) (Coming Soon)
- [Jira REST API Docs](https://developer.atlassian.com/cloud/jira/platform/rest/v3/)
- [Model Context Protocol](https://modelcontextprotocol.io)
---
**Made with โค๏ธ for developers who love automation**
TDQS
A3.7/5.0
Scored across 3 tools
Disambiguation5/5
Each tool targets a distinct retrieval mode: by key, by JQL query, and by assignee. Although search could mimic get_my_tickets with a JQL, the dedicated tool adds convenience and clarity.
Naming Consistency5/5
All tools follow a consistent 'jira_<verb>_<noun>' pattern, making the tool set predictable and easy to navigate.
Tool Count4/5
With only 3 tools, the set is concise but reasonable for a read-only Jira assistant. It is within the ideal range, though slightly sparse.
Completeness2/5
The server only supports reading tickets. Missing create, update, transition, and comment operations leaves significant gaps for typical Jira workflows, so the surface feels incomplete.
Maintenance
ActivityInactive
ResponsivenessNo issues