Jira Context MCP Server
Integrates Jira with Cursor IDE for AI-powered issue management, sprint tracking, library vulnerability analysis, and MySQL database queries through natural language.
README
Jira Context MCP Server
A powerful Model Context Protocol (MCP) server that integrates Jira with Cursor IDE, enabling AI-powered issue management, sprint tracking, and library vulnerability analysis.
š Features
- Jira Integration: Fetch issue details, manage sprints, track progress
- Sprint Management: View active sprints, generate reports, analyze backlog
- Library Vulnerability Analysis: Check Maven/NPM packages for vulnerabilities and upgrade recommendations
- Database Integration: Query MySQL databases directly from Cursor
- Smart URL Parser: Paste any Jira board/sprint URL and get instant insights
š Prerequisites
- Node.js 20.17.0 or higher
- A Jira account with API access
- Jira API token (Generate here)
āļø Installation
-
Clone the repository:
git clone https://github.com/Darshancisco/Appd_jira_context_mcp.git cd Appd_jira_context_mcp -
Install dependencies:
npm install -
Create
.envfile:cp .env.example .env -
Configure your
.envfile:JIRA_BASE_URL=https://your-domain.atlassian.net JIRA_USERNAME=your-email@example.com JIRA_API_TOKEN=your-api-token-here HTTP_PORT=3000 -
Build the project:
npm run build
š Running the Server
Start the MCP server:
npm start
The server will start on http://localhost:3000/sse
š Connect to Cursor IDE
Method 1: Direct Configuration in mcp.json (Recommended)
-
Locate your Cursor MCP configuration file:
- macOS:
~/.cursor/mcp.json - Windows:
%APPDATA%\.cursor\mcp.json - Linux:
~/.cursor/mcp.json
- macOS:
-
Add the MCP server configuration:
Edit the
mcp.jsonfile and add the following configuration:{ "mcpServers": { "jira-resolution": { "command": "node", "args": ["/absolute/path/to/Appd_jira_context_mcp/dist/index.js"], "cwd": "/absolute/path/to/Appd_jira_context_mcp", "env": { "JIRA_BASE_URL": "https://your-domain.atlassian.net", "JIRA_USERNAME": "your-email@example.com", "JIRA_API_TOKEN": "your-api-token-here", "DB_TYPE": "mysql", "DB_HOST": "localhost", "DB_PORT": "3306", "DB_USER": "root", "DB_PASSWORD": "your-database-password", "DB_NAME": "", "DB_SSL": "false" } } } } -
Replace the placeholders:
"/absolute/path/to/Appd_jira_context_mcp"ā Full path to where you cloned the repo"your-domain.atlassian.net"ā Your Jira instance URL"your-email@example.com"ā Your Jira username/email"your-api-token-here"ā Your Jira API token"your-database-password"ā Your MySQL password (if using database features)
-
Save the file and restart Cursor IDE
-
Verify connection:
- Open Cursor IDE
- The MCP server should automatically connect
- You can verify by typing commands in the chat
Method 2: Using Cursor Settings UI
- Open Cursor IDE
- Go to Settings ā Features ā Model Context Protocol
- Add a new MCP server with:
- Name: Jira Context MCP
- URL:
http://localhost:3000/sse(requires server to be running separately)
- Click Connect
Method 3: Using Command Palette
- Open Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) - Type "Connect to MCP Server"
- Enter:
http://localhost:3000/sse(requires server to be running separately)
Note: Method 1 (mcp.json) is recommended as it starts the server automatically and doesn't require running
npm startseparately.
š ļø Available Tools
Once connected, you can use these tools in Cursor:
Jira Issue Management
get_issue- Get detailed information about a Jira issueget_assigned_issues- Get issues assigned to youget_issues_by_type- Filter issues by type (Bug, Story, Epic, etc.)get_projects- List all available Jira projectsget_issue_types- List all issue types
Sprint & Board Management
analyze_jira_url- Parse any Jira URL (board/sprint/issue)get_boards- List all agile boardsget_sprints- Get sprints for a boardget_sprint_issues- Get all issues in a sprintget_backlog- Get backlog issuesget_sprint_report- Generate comprehensive sprint report
Library Vulnerability Tools
check_maven_library- Check Maven library for vulnerabilitiescheck_npm_library- Check NPM package for vulnerabilitiesanalyze_dependencies- Analyze project dependenciesrecommend_upgrade- Get smart upgrade recommendationsget_github_release_notes- Fetch release notes for library upgradesfind_library_usage- Find where a library is used in codebase
Database Tools
list_databases- List all MySQL databaseslist_db_tables- List tables in a databaseget_table_schema- Get table structurequery_database- Execute SQL queriessearch_table- Search across table columns
š” Example Usage
Analyze Your Sprint Board
Analyze my sprint board: https://jira.corp.appdynamics.com/secure/RapidBoard.jspa?rapidView=2823
Check Library Vulnerability
Check if org.springframework:spring-core version 5.3.0 has any vulnerabilities
Get Assigned Issues
Show me all issues assigned to me in project ABC
Sprint Report
Generate sprint report for board 2823
š Project Structure
.
āāā src/
ā āāā index.ts # Application entry point
ā āāā server.ts # MCP server implementation
ā āāā cli.ts # CLI interface
ā āāā services/ # Core services
ā ā āāā jira.ts # Jira API integration
ā ā āāā libraryManager.ts # Library vulnerability analysis
ā ā āāā DatabaseService.ts # MySQL integration
ā ā āāā ...
ā āāā types/ # TypeScript type definitions
ā āāā utils/ # Utility functions
āāā dist/ # Compiled JavaScript (generated)
āāā package.json # Dependencies
āāā tsconfig.json # TypeScript config
āāā .env # Environment variables (create this)
š§ Development
Run in development mode:
npm run dev
Build:
npm run build
Type checking:
npm run type-check
š Troubleshooting
Server won't start
- Ensure Node.js version is 20.17.0 or higher:
node --version - Check if port 3000 is available
- Verify
.envfile is configured correctly (if using Method 2/3) - Run
npm run buildto ensure thedist/folder exists
Can't connect in Cursor
- If using mcp.json: Make sure the paths are absolute and correct
- If using HTTP mode: Make sure the server is running (
npm start) - Verify the URL is
http://localhost:3000/sse - Check Cursor's MCP connection settings
- Restart Cursor IDE after modifying
mcp.json
Jira API errors
- Verify your API token is valid
- Ensure
JIRA_BASE_URLmatches your Jira instance - Check your Jira account has necessary permissions
- Make sure there are no extra spaces in your credentials
MCP server not showing tools
- Run
npm run buildto compile TypeScript - Check console for error messages
- Verify all environment variables are set correctly
š Security Note
Important: The mcp.json file contains sensitive credentials (API tokens, database passwords).
- Keep your
mcp.jsonfile secure and never commit it to version control - The
mcp.jsonfile is stored locally on your machine - Only you have access to these credentials
- Generate API tokens with minimum required permissions
š License
MIT License
š¤ Author
Darshan Hanumanthappa
- Email: darshan.hanumanthappa@gmail.com
- GitHub: @Darshancisco
š Acknowledgments
Built for AppDynamics engineering team to streamline Jira workflow integration with Cursor IDE.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.