Skip to content

Commit 9886e91

Browse files
jrcoakona-agent
andcommitted
fix: replace problematic jira-mcp with official Atlassian MCP server
- Remove third-party jira-mcp that was failing to build due to tsc dependency conflicts - Replace with official Atlassian MCP server (https://mcp.atlassian.com/v1/sse) - Use OAuth 2.1 authentication instead of API tokens - Support Jira, Compass, and Confluence through single endpoint - Eliminate TypeScript build failures in devcontainer setup This resolves devcontainer build failures caused by the 'tsc' npm package conflicting with the TypeScript compiler in the third-party jira-mcp project. Co-authored-by: Ona <no-reply@ona.com>
1 parent fd63bc9 commit 9886e91

File tree

3 files changed

+33
-70
lines changed

3 files changed

+33
-70
lines changed

.devcontainer/setup.sh

Lines changed: 15 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -34,50 +34,31 @@ echo "🔧 Available commands:"
3434
echo " ./startup.sh - Start all services"
3535
echo " ./health-check.sh - Check service health"
3636

37-
# Setup Jira MCP server
38-
echo "🚀 Setting up Jira MCP server..."
37+
# Setup Official Atlassian MCP server
38+
echo "🚀 Setting up Official Atlassian MCP server..."
3939

4040
# Create config directory
4141
mkdir -p ~/.config/gitpod
4242

43-
# Clone and build Jira MCP if not already present
44-
if [ ! -d "/home/node/jira-mcp" ]; then
45-
echo "📦 Cloning Jira MCP repository..."
46-
cd /home/node
47-
git clone https://github.com/MankowskiNick/jira-mcp.git
48-
cd jira-mcp
49-
echo "📦 Installing dependencies..."
50-
npm install
51-
echo "🔨 Building project..."
52-
npm run build
53-
else
54-
echo "✓ Jira MCP already installed"
55-
fi
56-
57-
# Create MCP configuration file
58-
echo "⚙️ Creating MCP configuration..."
43+
# Create MCP configuration file for Official Atlassian MCP
44+
echo "⚙️ Creating Official Atlassian MCP configuration..."
5945
cat > ~/.config/gitpod/mcp-config.json << EOF
6046
{
6147
"mcpServers": {
62-
"jira-mcp": {
63-
"command": "node",
64-
"args": ["/home/node/jira-mcp/build/index.js"],
65-
"env": {
66-
"JIRA_HOST": "${JIRA_HOST:-coakley.atlassian.net}",
67-
"JIRA_USERNAME": "${JIRA_USERNAME:-joe@gitpod.io}",
68-
"JIRA_API_TOKEN": "${JIRA_API_TOKEN:-your_api_token_here}",
69-
"JIRA_PROJECT_KEY": "${JIRA_PROJECT_KEY:-MBA}",
70-
"AUTO_CREATE_TEST_TICKETS": "true",
71-
"JIRA_ACCEPTANCE_CRITERIA_FIELD": "customfield_10429",
72-
"JIRA_STORY_POINTS_FIELD": "customfield_10040",
73-
"JIRA_EPIC_LINK_FIELD": "customfield_10014"
74-
}
48+
"atlassian-mcp": {
49+
"command": "npx",
50+
"args": [
51+
"@modelcontextprotocol/server-fetch",
52+
"https://mcp.atlassian.com/v1/sse"
53+
],
54+
"env": {}
7555
}
7656
}
7757
}
7858
EOF
7959

80-
echo "Jira MCP server setup complete!"
60+
echo "Official Atlassian MCP server setup complete!"
8161
echo "📍 Configuration: ~/.config/gitpod/mcp-config.json"
82-
echo "📍 Server location: /home/node/jira-mcp/"
83-
echo "🎯 Project: MBA (coakley.atlassian.net)"
62+
echo "📍 Server endpoint: https://mcp.atlassian.com/v1/sse"
63+
echo "🔐 Authentication: OAuth 2.1 flow will be triggered when connecting"
64+
echo "🎯 Supports: Jira, Compass, and Confluence"

.mcp.yaml

Lines changed: 11 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,16 @@
11
mcpServers:
2-
jira-mcp:
3-
command: node
2+
atlassian-mcp:
3+
command: npx
44
args:
5-
- /home/node/jira-mcp/build/index.js
6-
env:
7-
JIRA_HOST: ${JIRA_HOST:-coakley.atlassian.net}
8-
JIRA_USERNAME: ${JIRA_USERNAME:-joe@gitpod.io}
9-
JIRA_API_TOKEN: ${JIRA_API_TOKEN:-your_api_token_here}
10-
JIRA_PROJECT_KEY: ${JIRA_PROJECT_KEY:-MBA}
11-
AUTO_CREATE_TEST_TICKETS: "true"
12-
JIRA_ACCEPTANCE_CRITERIA_FIELD: customfield_10429
13-
JIRA_STORY_POINTS_FIELD: customfield_10040
14-
JIRA_EPIC_LINK_FIELD: customfield_10014
5+
- "@modelcontextprotocol/server-fetch"
6+
- "https://mcp.atlassian.com/v1/sse"
7+
env: {}
158

169
tools:
17-
- create-ticket
18-
- get-ticket
19-
- search-tickets
20-
- update-ticket
21-
- link-tickets
22-
- get-test-steps
23-
- add-test-steps
10+
- jira-integration
11+
- compass-integration
12+
- confluence-integration
2413

25-
server_location: /home/node/jira-mcp/
26-
project:
27-
key: MBA
28-
host: coakley.atlassian.net
14+
server_endpoint: https://mcp.atlassian.com/v1/sse
15+
authentication: oauth2.1
16+
description: Official Atlassian MCP server supporting Jira, Compass, and Confluence

mcp.json

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
{
22
"mcpServers": {
3-
"jira-mcp": {
4-
"command": "node",
5-
"args": ["/home/node/jira-mcp/build/index.js"],
6-
"env": {
7-
"JIRA_HOST": "${JIRA_HOST:-coakley.atlassian.net}",
8-
"JIRA_USERNAME": "${JIRA_USERNAME:-joe@gitpod.io}",
9-
"JIRA_API_TOKEN": "${JIRA_API_TOKEN:-your_api_token_here}",
10-
"JIRA_PROJECT_KEY": "${JIRA_PROJECT_KEY:-MBA}",
11-
"AUTO_CREATE_TEST_TICKETS": "true",
12-
"JIRA_ACCEPTANCE_CRITERIA_FIELD": "customfield_10429",
13-
"JIRA_STORY_POINTS_FIELD": "customfield_10040",
14-
"JIRA_EPIC_LINK_FIELD": "customfield_10014"
15-
}
3+
"atlassian-mcp": {
4+
"command": "npx",
5+
"args": [
6+
"@modelcontextprotocol/server-fetch",
7+
"https://mcp.atlassian.com/v1/sse"
8+
],
9+
"env": {}
1610
}
1711
}
1812
}

0 commit comments

Comments
 (0)