Jira MCP Server
Provides tools for interacting with Jira, enabling management of issues, projects, comments, workflows, and JQL-based searches.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Jira MCP ServerShow me the open bugs in project PROJ"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Jira MCP Server
A clean and focused Model Context Protocol (MCP) server that provides seamless integration between AI assistants and Jira, enabling natural language interaction with your Jira projects, issues, and workflows.
๐ฏ Features
11 Comprehensive Tools for full Jira interaction
Natural Language Interface - Ask AI to manage your Jira work
Real-time Updates - Get current project status and issue information
Secure Authentication - API token-based authentication
Cross-platform - Works with any MCP-compatible client
Easy Setup - Simple configuration and testing
๐ ๏ธ Available Tools
Tool | Description | Example Usage |
| Get detailed issue info |
|
| Search with JQL |
|
| Create new issue |
|
| Update existing issue |
|
| Add comment to issue |
|
| Get all comments |
|
| Move through workflow |
|
| Get project info |
|
| Get available types |
|
| Get assigned issues |
|
| Get project issues |
|
๐ Quick Start (5 minutes)
Prerequisites
Python 3.8 or higher
Jira account with API access
MCP-compatible client (Cursor, VS Code, etc.)
1. Clone and Setup
cd jira-mcp-server
pip install -r requirements.txt2. Configure Credentials
Create a .env file with your Jira details:
JIRA_SERVER=https://your-company.atlassian.net
JIRA_EMAIL=your-email@company.com
JIRA_API_TOKEN=your-api-tokenGetting Your API Token:
Go to https://id.atlassian.com/manage-profile/security/api-tokens
Click "Create API token"
Copy the token to your
.envfile
3. Test Connection
python3 test_connection.py4. Configure MCP Client
For Cursor:
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"jira": {
"type": "stdio",
"command": "python3",
"args": ["/full/path/to/jira-mcp-server/server.py"],
"env": {
"JIRA_SERVER": "https://your-company.atlassian.net",
"JIRA_EMAIL": "your-email@company.com",
"JIRA_API_TOKEN": "your-api-token"
}
}
}
}For VS Code:
Add to your VS Code MCP configuration:
{
"mcpServers": {
"jira": {
"type": "stdio",
"command": "python3",
"args": ["/full/path/to/jira-mcp-server/server.py"],
"env": {
"JIRA_SERVER": "https://your-company.atlassian.net",
"JIRA_EMAIL": "your-email@company.com",
"JIRA_API_TOKEN": "your-api-token"
}
}
}
}Important:
Use the full absolute path to
server.py!The
"type": "stdio"field is required for proper MCP communicationIf using a virtual environment, use the full path to the Python interpreter:
"/path/to/venv/bin/python3"
5. Start the Server
python3 server.py6. Restart and Test
Restart your MCP client and try these commands:
"Show me all open issues in project XYZ"
"Create a new task for fixing the login bug"
"Search for high priority bugs assigned to me"
๐ Project Structure
jira-mcp-server/
โโโ server.py # Main MCP server implementation
โโโ test_connection.py # Connection test script
โโโ requirements.txt # Python dependencies
โโโ .env # Environment variables (create this)
โโโ README.md # This file๐ Related Projects
Jira Weekly Reports - Generate automated weekly team summaries from Jira tickets
๐ฏ Usage Examples
Get Your Issues
# Get issues assigned to you
get_my_issues(max_results=10)Search for Specific Issues
# Find high priority bugs
search_issues(jql="project = PROJ AND priority = High AND type = Bug")
# Find recent updates
search_issues(jql="project = PROJ AND updated >= -7d")Create New Issue
create_issue(
project_key="PROJ",
issue_type="Task",
summary="Implement new feature",
description="Add support for advanced filtering",
priority="Medium"
)Update Issue Status
transition_issue(
issue_key="PROJ-12345",
transition_name="In Progress"
)Get Issue Details
# Get details for issue PROJ-12345
get_issue(issue_key="PROJ-12345")Search Issues
# Search for open issues in PROJ project
search_issues(jql="project = PROJ AND status = Open", max_results=10)๐ JQL Query Examples
Common Patterns
# Your assigned issues
assignee = currentUser()
# Issues in specific project
project = PROJ
# Open issues
status = Open
# Issues updated in last 7 days
updated >= -7d
# High priority issues
priority = High
# Issues with specific component
component = "Backend"
# Status filters
status IN ("In Progress", "Code Review")
# Date filters
created >= "2025-01-01"
# Priority filters
priority IN ("High", "Critical")
# Combined queries
project = PROJ AND status = Open AND priority = High
assignee = currentUser() AND updated >= -3d๐งช Testing Your Setup
1. Connection Test
python3 test_connection.pyโ Should show: "Successfully connected to Jira"
2. Start Server (Optional Test)
python3 server.pyโ Should start the MCP server and wait for connections.
3. Individual Tool Test
# Test search functionality
python3 -c "
import asyncio
from server import JiraMCPServer
async def test():
server = JiraMCPServer()
await server._init_jira_client()
result = await server._search_issues('project = PROJ', max_results=3)
print(f'Found {len(result)} results')
asyncio.run(test())
"๐ Starting the Server
Simply run the server directly:
python3 server.pyNote: Make sure you've completed the setup steps above (installing dependencies, creating .env file, and testing connection) before starting the server.
๐ Security Best Practices
Never commit
.envfile - Add to.gitignoreUse API tokens instead of passwords
Rotate tokens regularly
Limit token permissions to minimum required
Use environment variables for sensitive data
๐ Troubleshooting
Common Issues
Authentication Error
Check your API token is correct
Ensure your email matches your Jira account
Verify token hasn't expired
Connection Error
Check your internet connection
Verify JIRA_SERVER URL is correct
Ensure firewall allows HTTPS connections
Permission Error
Check your Jira permissions
Verify you have access to the project/issue
Contact your Jira administrator
"Permission denied" errors
Run:
chmod +x server.py test_connection.py
"Module not found" errors
Run:
pip install -r requirements.txt
Cursor doesn't see the server
Double-check the absolute path in your MCP config
Restart Cursor completely
Check that the
.envfile has the correct credentials"No tools or prompts" error: Ensure
"type": "stdio"is included in your MCP configurationVirtual environment: Use the full path to your Python interpreter (e.g.,
/path/to/venv/bin/python3)
Debug Mode
Enable debug logging by modifying the logging level in server.py:
logging.basicConfig(level=logging.DEBUG)๐ ๏ธ Development
Adding New Tools
Add tool definition to
list_tools()methodAdd handler in
call_tool()methodImplement the actual tool method
Update this README
Error Handling
The server includes comprehensive error handling:
Connection errors
Authentication failures
Invalid issue keys
JQL syntax errors
Permission errors
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ค Contributing
Fork the repository
Create a feature branch
Make your changes
Add tests if applicable
Submit a pull request
๐ Success!
Your Jira MCP server is now properly configured and ready to use! You can:
โ Search and view Jira issues
โ Create and update issues
โ Manage comments and transitions
โ Get project information
โ Handle your assigned work
The server provides a powerful interface between AI assistants and your Jira workflow, making it easier to manage projects and track progress.
๐ What's Next?
Once it's working, you can:
Ask about specific issues: "What's the status of PROJ-123?"
Create issues: "Create a bug report for the navbar not working"
Search with JQL: "Find all issues in project ABC that are in review"
Add comments: "Add a comment to PROJ-456 saying testing is complete"
Transition issues: "Move PROJ-789 to Done"
Enjoy your new Jira integration! ๐
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sthirugn/jira-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server