11services :
2- jira-mcp :
3- name : " Jira MCP Server"
4- description : " Model Context Protocol server for Jira integration"
5- triggeredBy :
6- - postDevcontainerStart
7- - postEnvironmentStart
8- commands :
9- start : |
10- echo "Setting up Jira MCP server..."
11-
12- # Clone and build Jira MCP if not already present
13- if [ ! -d "/home/node/jira-mcp" ]; then
14- echo "Cloning Jira MCP repository..."
15- cd /home/node
16- git clone https://github.com/MankowskiNick/jira-mcp.git
17- cd jira-mcp
18- echo "Installing dependencies..."
19- npm install
20- echo "Building project..."
21- npm run build
22- else
23- echo "Jira MCP already installed"
24- fi
25-
26- # Test MCP server connection if credentials are available
27- if [ -n "\$JIRA_API_TOKEN" ] && [ "\$JIRA_API_TOKEN" != "your_api_token_here" ]; then
28- echo "Testing MCP server connection..."
29- cd /home/node/jira-mcp
30-
31- # Test server initialization
32- if echo '{"jsonrpc": "2.0", "id": 1, "method": "initialize", "params": {"protocolVersion": "2024-11-05", "capabilities": {"roots": {"listChanged": true}}, "clientInfo": {"name": "test-client", "version": "1.0.0"}}}' | timeout 10 node build/index.js >/dev/null 2>&1; then
33- echo "MCP server connection test successful"
34- else
35- echo "MCP server connection test failed - check credentials"
36- fi
37- fi
38-
39- echo "Jira MCP server setup complete"
40- echo "Server location: /home/node/jira-mcp/"
41- echo "Configuration: Uses standardized MCP config files (.mcp/config.json, mcp.json, .mcp.yaml)"
42- echo "Project: MBA (coakley.atlassian.net)"
43- echo "Available tools: create-ticket, get-ticket, search-tickets, update-ticket, link-tickets, get-test-steps, add-test-steps"
44-
45- ready : |
46- if [ -f "/home/node/jira-mcp/build/index.js" ]; then
47- echo "Jira MCP server is ready"
48- exit 0
49- else
50- echo "Jira MCP server not ready"
51- exit 1
52- fi
53-
54- stop : |
55- echo "Jira MCP server stopped (no persistent process)"
562
573 postgres :
584 name : " PostgreSQL Database"
@@ -230,50 +176,31 @@ services:
230176 pkill -f "vite" || true
231177
232178tasks :
233- setupJiraMCP :
234- name : " Setup Jira MCP"
235- description : " Install and configure Jira MCP server for AI integration"
179+ setupAtlassianMCP :
180+ name : " Setup Official Atlassian MCP"
181+ description : " Configure Official Atlassian MCP server for Jira, Compass, and Confluence integration"
236182 triggeredBy :
237183 - manual
238184 - postEnvironmentStart
239185 command : |
240- echo "Setting up Jira MCP server..."
186+ echo "Setting up Official Atlassian MCP server..."
241187
242188 # Create config directory
243189 mkdir -p ~/.config/gitpod
244190
245- # Clone and build Jira MCP if not already present
246- if [ ! -d "/home/node/jira-mcp" ]; then
247- echo "Cloning Jira MCP repository..."
248- cd /home/node
249- git clone https://github.com/MankowskiNick/jira-mcp.git
250- cd jira-mcp
251- echo "Installing dependencies..."
252- npm install
253- echo "Building project..."
254- npm run build
255- else
256- echo "Jira MCP already installed"
257- fi
258-
259- # Create MCP configuration file
260- echo "Creating MCP configuration..."
191+ # Create MCP configuration file for Official Atlassian MCP
192+ echo "Creating Official Atlassian MCP configuration..."
261193 cat > ~/.config/gitpod/mcp-config.json << EOF
262194 {
263195 "mcpServers": {
264- "jira-mcp": {
265- "command": "node",
266- "args": ["/home/node/jira-mcp/build/index.js"],
267- "env": {
268- "JIRA_HOST": "\${JIRA_HOST:-coakley.atlassian.net}",
269- "JIRA_USERNAME": "\${JIRA_USERNAME:-joe@gitpod.io}",
270- "JIRA_API_TOKEN": "\${JIRA_API_TOKEN:-your_api_token_here}",
271- "JIRA_PROJECT_KEY": "\${JIRA_PROJECT_KEY:-MBA}",
272- "AUTO_CREATE_TEST_TICKETS": "true",
273- "JIRA_ACCEPTANCE_CRITERIA_FIELD": "customfield_10429",
274- "JIRA_STORY_POINTS_FIELD": "customfield_10040",
275- "JIRA_EPIC_LINK_FIELD": "customfield_10014"
276- }
196+ "atlassian-mcp": {
197+ "command": "npx",
198+ "args": [
199+ "-y",
200+ "mcp-remote",
201+ "https://mcp.atlassian.com/v1/sse"
202+ ],
203+ "env": {}
277204 }
278205 }
279206 }
@@ -288,53 +215,45 @@ tasks:
288215 cat > "$MCP_CLIENT_CONFIG" << EOF
289216 {
290217 "mcpServers": {
291- "jira-mcp": {
292- "command": "node",
293- "args": ["/home/node/jira-mcp/build/index.js"],
294- "env": {
295- "JIRA_HOST": "\${JIRA_HOST:-coakley.atlassian.net}",
296- "JIRA_USERNAME": "\${JIRA_USERNAME:-joe@gitpod.io}",
297- "JIRA_API_TOKEN": "\${JIRA_API_TOKEN:-your_api_token_here}",
298- "JIRA_PROJECT_KEY": "\${JIRA_PROJECT_KEY:-MBA}",
299- "AUTO_CREATE_TEST_TICKETS": "true",
300- "JIRA_ACCEPTANCE_CRITERIA_FIELD": "customfield_10429",
301- "JIRA_STORY_POINTS_FIELD": "customfield_10040",
302- "JIRA_EPIC_LINK_FIELD": "customfield_10014"
303- }
218+ "atlassian-mcp": {
219+ "command": "npx",
220+ "args": [
221+ "-y",
222+ "mcp-remote",
223+ "https://mcp.atlassian.com/v1/sse"
224+ ],
225+ "env": {}
304226 }
305227 }
306228 }
307229 EOF
308230
309- # Test the MCP server if credentials are available
310- if [ -n "\$JIRA_API_TOKEN" ] && [ "\$JIRA_API_TOKEN" != "your_api_token_here" ]; then
311- echo "Testing MCP server connection..."
312- cd /home/node/jira-mcp
313-
314- # Test server initialization
315- if echo '{"jsonrpc": "2.0", "id": 1, "method": "initialize", "params": {"protocolVersion": "2024-11-05", "capabilities": {"roots": {"listChanged": true}}, "clientInfo": {"name": "test-client", "version": "1.0.0"}}}' | timeout 10 node build/index.js >/dev/null 2>&1; then
316- echo "MCP server connection test successful"
317- else
318- echo "MCP server connection test failed - check credentials"
319- fi
231+ # Test mcp-remote availability
232+ echo "Testing mcp-remote availability..."
233+ if npx -y mcp-remote --version >/dev/null 2>&1; then
234+ echo "mcp-remote is available"
235+ else
236+ echo "mcp-remote installation may be needed on first use"
320237 fi
321238
322239 # Create a simple verification script
323240 echo '#!/bin/bash' > /tmp/verify-mcp-connection.sh
324- echo 'echo "Verifying MCP configuration..."' >> /tmp/verify-mcp-connection.sh
241+ echo 'echo "Verifying Official Atlassian MCP configuration..."' >> /tmp/verify-mcp-connection.sh
325242 echo 'echo "Server config: $([ -f ~/.config/gitpod/mcp-config.json ] && echo \"Found\" || echo \"Missing\")"' >> /tmp/verify-mcp-connection.sh
326243 echo 'echo "Generic client config: $([ -f ~/.config/mcp/client-config.json ] && echo \"Found\" || echo \"Missing\")"' >> /tmp/verify-mcp-connection.sh
327- echo 'echo "MCP server binary : $([ -f /home/node/jira- mcp/build/index.js ] && echo \"Found \" || echo \"Missing \")"' >> /tmp/verify-mcp-connection.sh
244+ echo 'echo "mcp-remote available : $(npx -y mcp-remote --version >/dev/null 2>&1 && echo \"Yes \" || echo \"No \")"' >> /tmp/verify-mcp-connection.sh
328245 chmod +x /tmp/verify-mcp-connection.sh
329246
330- echo "Jira MCP server and client setup complete"
247+ echo "Official Atlassian MCP server setup complete"
331248 echo "Server config: ~/.config/gitpod/mcp-config.json"
332249 echo "Generic client config: ~/.config/mcp/client-config.json"
333- echo "Server location: /home/node/jira-mcp/"
334- echo "Project: MBA (coakley.atlassian.net)"
335- echo "Available tools: create-ticket, get-ticket, search-tickets, update-ticket, link-tickets, get-test-steps, add-test-steps"
250+ echo "Server endpoint: https://mcp.atlassian.com/v1/sse"
251+ echo "Authentication: OAuth 2.1 flow (browser-based)"
252+ echo "Supported services: Jira, Compass, and Confluence"
253+ echo "Available tools: Dynamic based on user permissions"
336254 echo ""
337255 echo "Run '/tmp/verify-mcp-connection.sh' to verify the setup"
256+ echo "When connecting, you'll be prompted to authenticate via browser"
338257 echo "AI assistants may need to restart to pick up the new MCP configuration"
339258
340259 seedDatabase :
0 commit comments