davidgomezcol/cursor-mcp-server
3.1
If you are the rightful owner of cursor-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This document provides a structured overview of a custom MCP server designed to integrate Jira issue summaries into Cursor's context API.
Cursor MCP Server (Python + FastAPI)
Custom MCP server to inject Jira issue summaries into Cursor's context API.
Features
- Parses Jira ticket from branch name
- Queries Jira REST API for summary and details
- Prepares context for Cursor AI
- Provides connection testing and health endpoints
- Includes caching to minimize Jira API requests
Setup
Prerequisites
- Python 3.11+
- Jira account with API token
Installation
- Clone the repository:
git clone <repository-url>
cd cursor-mcp-server
Setup Server and Environment Variables
- Create a virtual environment and activate it:
python -m venv venv
source venv/bin/activate
- Install required dependencies
pip install -r requirements.txt
- Create an
.env
file with the following variables:
# Jira configuration
JIRA_SERVER=https://your-company.atlassian.net
JIRA_EMAIL=your-email@company.com
JIRA_API_TOKEN=your-jira-api-token
# Server configuration
PORT=3000
LOG_LEVEL=INFO
Cursor Configuration
Setting up the MCP Server in Cursor
- Open Cursor and go to Settings
- Navigate to the Plugins or Extensions section
- Find the MCP configuration section
- Add the following JSON configuration:
{
"mcpServers": {
"jira": {
"url": "http://localhost:3000/context",
"enabled": true,
"description": "Jira issue context provider"
}
}
}