Set up the MCP Atlassian server with command-line OAuth in 5 minutes.
git clone https://github.com/your-username/mcp-nodejs-atlassian.git
cd mcp-nodejs-atlassian
npm install && npm run build- Go to Atlassian Developer Console
- Click "Create" → "OAuth 2.0 integration"
- Name it "MCP Integration"
- Set Callback URL:
http://localhost:8080/callback - Add these Scopes:
read:jira-workwrite:jira-workread:confluence-content.allwrite:confluence-contentoffline_access
- Copy your Client ID and Client Secret
npm run oauth-setupThe wizard will:
- Ask for your Client ID and Client Secret
- Open your browser for authorization
- Auto-detect your Cloud ID
- Generate all config automatically
npm startDone! Your MCP server is running.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"atlassian": {
"command": "npx",
"args": ["mcp-atlassian-nodejs"]
}
}
}For cleaner setup (optional):
npm install -g ./Then use:
{
"mcpServers": {
"atlassian": {
"command": "mcp-atlassian"
}
}
}- Settings → MCP → Add global MCP server
- Command:
npx - Args:
["mcp-atlassian-nodejs"]
Alternative (after global install):
- Command:
mcp-atlassian - Args:
[]
If you prefer API tokens:
cp env.example .env
# Edit .env with your API tokens from:
# https://id.atlassian.com/manage-profile/security/api-tokensAsk your AI assistant:
- "Search Confluence for API documentation"
- "Get details of Jira issue PROJ-123"
- "Create a bug report in project MOBILE"
- "Find all my open tickets"
- "Update PROJ-456 status to In Progress"
npm start -- --read-only # Safe mode
npm start -- --enabled-tools "search" # Limit tools
npm start -- --transport sse --port 8000 # HTTP mode
npm start -- --verbose # Debug loggingOAuth Issues:
- Ensure port 8080 is available
- Check callback URL matches exactly
- Verify all required scopes are enabled
Connection Issues:
- Run
npm start -- --verbosefor logs - Test tokens with curl:
curl -u username:token https://your-company.atlassian.net/rest/api/2/myselfPermission Issues:
- Check user access to spaces/projects
- Verify token permissions in Atlassian
Simple command-line setup - no extensions needed!