Sponsored by Deepsite.site

Atlassian MCP Server Client

Created By
pgupta17956 months ago
Content

Atlassian MCP Server Client

A command-line client for connecting to Model Context Protocol (MCP) servers, specifically designed to work with Atlassian's official MCP server integration. This client provides an interactive chat interface powered by OpenAI for seamless interaction with remote MCP servers.

๐Ÿš€ Features

  • Remote MCP Server Connection: Connect to any MCP server via mcp-remote
  • Interactive Chat Interface: Command-line chat interface with OpenAI integration
  • OAuth Support: Automatic OAuth handling for Atlassian services through mcp-remote
  • Tool Discovery: Automatically discovers and utilizes tools provided by the MCP server
  • Streaming Responses: Real-time streaming of AI responses
  • Cross-Platform: Works on Windows, macOS, and Linux

๐Ÿ“‹ Prerequisites

  • Node.js 18.0.0 or higher
  • npm package manager
  • OpenAI API key

๐Ÿ› ๏ธ Installation

  1. Clone the repository:

    git clone <repository-url>
    cd jira-mcp-server
    
  2. Install dependencies:

    npm install
    
  3. Set up environment variables:

    cp env.example .env
    
  4. Configure your OpenAI API key: Edit the .env file:

    # OpenAI Configuration
    OPENAI_API_KEY=your_openai_api_key
    

๐Ÿ” Getting Your OpenAI API Key

  1. Visit OpenAI API Keys
  2. Create a new API key
  3. Copy it to your .env file

๐Ÿš€ Usage

Connect to Atlassian's Official MCP Server

npm run dev

This will connect to https://mcp.atlassian.com/v1/sse by default.

Connect to a Custom MCP Server

npm run dev <server-url>

Example:

npm run dev wss://your-custom-mcp-server.com

Development Commands

  • npm run build - Compile TypeScript to JavaScript
  • npm run dev [server-url] - Run in development mode (defaults to Atlassian MCP server)
  • npm run clean - Remove build artifacts
  • npm run typecheck - Run TypeScript type checking

๐Ÿ’ฌ Interactive Chat

Once connected, you'll see an interactive prompt where you can:

  • Ask questions about your Atlassian workspace (if connected to Atlassian MCP server)
  • Use natural language to interact with any tools provided by the MCP server
  • Get AI-powered responses using the connected server's capabilities

Example Session

๐Ÿ”— Connecting to remote MCP server: https://mcp.atlassian.com/v1/sse
๐Ÿ” OAuth authentication will be handled automatically by mcp-remote
๐ŸŒ A browser window may open for authentication
๐Ÿค Connecting to MCP server...
๐Ÿ› ๏ธ Setting up tools...
โœ… Connected successfully with tools: [list-jira-issues, search-confluence, ...]

๐Ÿ’ฌ Chat with AI (type 'help' for commands, 'exit' to quit):
> What are my recent Jira issues?

๐Ÿค– Processing query...
Here are your recent Jira issues...

Special Commands

  • help - Show available commands and usage information
  • list-tools - Display all tools available from the connected MCP server
  • exit or quit - Exit the application

๐Ÿ”ง Configuration

Environment Variables

VariableDescriptionRequired
OPENAI_API_KEYYour OpenAI API keyโœ…

OAuth Authentication

When connecting to Atlassian's MCP server, OAuth authentication is handled automatically by mcp-remote. A browser window will open for you to authenticate with your Atlassian account if needed.

๐Ÿ—๏ธ Architecture

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚   CLI Client    โ”‚โ—„โ”€โ”€โ–บโ”‚   mcp-remote    โ”‚โ—„โ”€โ”€โ–บโ”‚   MCP Server    โ”‚
โ”‚   (this app)    โ”‚    โ”‚                 โ”‚    โ”‚   (Atlassian)   โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ”‚                       โ”‚                       โ”‚
         โ–ผ                       โ–ผ                       โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”    โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚   OpenAI API    โ”‚    โ”‚ OAuth Handler   โ”‚    โ”‚ Atlassian APIs  โ”‚
โ”‚                 โ”‚    โ”‚                 โ”‚    โ”‚                 โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ› ๏ธ How It Works

  1. Connection: The client uses mcp-remote to establish a connection to the specified MCP server
  2. Authentication: OAuth flows are handled automatically by mcp-remote
  3. Tool Discovery: Available tools are discovered from the MCP server
  4. Chat Interface: User queries are processed using OpenAI with the discovered tools
  5. Tool Execution: Tools are called on the remote MCP server as needed

๐Ÿ› Troubleshooting

Common Issues

  1. "OPENAI_API_KEY is not set"

    • Ensure your .env file contains a valid OpenAI API key
  2. "mcp-remote installation failed"

    • The application will try to install mcp-remote globally automatically
    • If it fails, install manually: npm install -g mcp-remote
  3. OAuth authentication fails

    • Ensure you have access to the Atlassian workspace
    • Check that your browser allows popups from the authentication domain
    • Verify network connectivity
  4. Connection timeout

    • Check if the MCP server URL is correct and accessible
    • Verify firewall settings allow outbound connections

Debug Mode

For verbose logging, you can check the mcp-remote logs or modify the source code to add more logging.

๐Ÿ”— Dependencies

  • @ai-sdk/openai: OpenAI integration for AI capabilities
  • @modelcontextprotocol/sdk: Official MCP SDK for client implementation
  • mcp-remote: Remote MCP server connection utility (auto-installed)
  • ai: AI SDK for tool integration and streaming

๐Ÿ“š Learn More


Note: This is a client application for connecting to MCP servers. For the actual MCP server implementation, refer to the official Atlassian MCP server documentation.

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Serper MCP ServerA Serper MCP Server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Playwright McpPlaywright MCP server
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Tavily Mcp
Baidu Map็™พๅบฆๅœฐๅ›พๆ ธๅฟƒAPI็Žฐๅทฒๅ…จ้ขๅ…ผๅฎนMCPๅ่ฎฎ๏ผŒๆ˜ฏๅ›ฝๅ†…้ฆ–ๅฎถๅ…ผๅฎนMCPๅ่ฎฎ็š„ๅœฐๅ›พๆœๅŠกๅ•†ใ€‚
Amap Maps้ซ˜ๅพทๅœฐๅ›พๅฎ˜ๆ–น MCP Server
ChatWiseThe second fastest AI chatbotโ„ข
DeepChatYour AI Partner on Desktop
Howtocook McpๅŸบไบŽAnduin2017 / HowToCook ๏ผˆ็จ‹ๅบๅ‘˜ๅœจๅฎถๅš้ฅญๆŒ‡ๅ—๏ผ‰็š„mcp server๏ผŒๅธฎไฝ ๆŽจ่่œ่ฐฑใ€่ง„ๅˆ’่†ณ้ฃŸ๏ผŒ่งฃๅ†ณโ€œไปŠๅคฉๅƒไป€ไนˆโ€œ็š„ไธ–็บช้šพ้ข˜๏ผ› Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
CursorThe AI Code Editor
WindsurfThe new purpose-built IDE to harness magic
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code