Skip to main content
Glama

JIRA MCP Server

by cosmix
jira-server-api.ts1.22 kB
// JiraServerApiService: Jira Server (Data Center) implementation // This class should override methods as needed for Jira Server differences import { JiraApiService } from "./jira-api.js"; export class JiraServerApiService extends JiraApiService { constructor(baseUrl: string, email: string, apiToken: string, authType: 'basic' | 'bearer' = 'basic') { // For Jira Server/Data Center: // - Basic Auth: username/password or API token (traditional method) // - Bearer Auth: Personal Access Tokens (PATs) available in Data Center 8.14.0+ super(baseUrl, email, apiToken, authType); } // Example: Override fetchJson to use /rest/api/2/ instead of /rest/api/3/ protected overrideApiPath(path: string): string { // Replace /rest/api/3/ with /rest/api/2/ for Jira Server return path.replace("/rest/api/3/", "/rest/api/2/"); } // Override fetchJson to use the correct API path protected async fetchJson<T>(url: string, init?: RequestInit): Promise<T> { const serverUrl = this.overrideApiPath(url); return super.fetchJson<T>(serverUrl, init); } // You may need to override other methods for Jira Server quirks (e.g., ADF support, field names) // Add overrides here as needed }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cosmix/jira-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server