Skip to main content
Glama
Wasim-Shaikh25

Jira MCP OAuth gateway

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
JIRA_PATNoPAT or API token your site provides; sent as Authorization: Bearer.
JIRA_BASE_URLYesRoot URL of your Jira site (example: https://jira.company.com or https://intranet.example.com/jira if you use a context path).
CONFLUENCE_PATNoConfluence PAT; same host config only rule as Jira PATs.
JIRA_API_TOKENNoAlternative to JIRA_PAT.
JIRA_LOGIN_URLNoLogin page URL (default {JIRA_BASE_URL}/login.jsp).
JIRA_LOGIN_POLL_MSNoDuring jira_login, how often to probe /rest/api/.../myself so login can finish early (default 2000 ms).2000
PREFER_SSO_COOKIESNoDefault on: if an SSO cookie file exists, only cookies are sent (not PAT). Set 0 / false for PAT-first.on
CONFLUENCE_BASE_URLNoConfluence root URL for add_attachment_from_confluence.
JIRA_MCP_SERVER_KEYNoIf several MCP entries share the same path to src/index.js, set this to that entry's id (e.g. jira-local) so merge/PAT discovery matches the right block.
CONFLUENCE_API_TOKENNoAlternative to CONFLUENCE_PAT.
JIRA_DEFAULT_PROJECTNoDefault project key when create_ticket is called without project / boardName / boardId and board-based resolution is ambiguous or unavailable.
JIRA_REST_API_PREFIXNoREST base path (default /rest/api/3). Use /rest/api/2 if your server only exposes v2./rest/api/3
JIRA_DESCRIPTION_FORMATNoauto (default: plain string for v2, ADF for v3), adf, or plain — overrides description encoding if your site differs.auto
JIRA_LOGIN_WAIT_SECONDSNoBrowser SSO wait, in seconds (default 90).90
CONFLUENCE_MCP_SERVER_KEYNoOptional; used to name the Confluence cookie file for add_attachment_from_confluence.
JIRA_MAX_ATTACHMENT_BYTESNoMax upload size in bytes (default 10 MiB).10485760

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
jira_loginA

SSO login in a browser (Playwright); saves cookies for REST. If IdP redirects or automation block a session, use JIRA_PAT + PREFER_SSO_COOKIES=0 in mcp.json or delete the reported cookie file. When JIRA_PAT is set, REST prefers it unless PREFER_SSO_COOKIES and cookies override.

execute_jqlC

Run a JQL search and return issues (summary fields).

get_ticketA

Get full issue JSON from Jira. Uses JIRA_REST_API_PREFIX (e.g. /rest/api/2 or /rest/api/3). If you see 401, set JIRA_PAT or run jira_login once.

read_ticketC

Read a ticket as a compact object (summary, plain-text description, status, assignee, etc.).

get_taskB

Same as get_ticket — returns full issue JSON (alias for task-type issues).

read_taskC

Same as read_ticket — compact issue view (alias for task-type issues).

get_only_ticket_name_and_descriptionA

Return only summary and plain-text description for an issue.

create_ticketA

Create an issue in a project. project is optional if the destination is unambiguous: set JIRA_DEFAULT_PROJECT in MCP env, pass boardName or boardId (Jira Software Agile boards), or omit when your account sees exactly one project across boards—otherwise the tool fails with a clear error listing boards (use list_boards). Description is plain text: v3 → ADF, v2 → string (JIRA_REST_API_PREFIX, JIRA_DESCRIPTION_FORMAT). Does not set sprint/backlog placement—use the UI or Agile REST for that.

edit_ticketB

Update issue fields (summary, description, labels, parent).

delete_ticketB

Delete an issue (requires permission).

list_projectsA

List Jira projects. Uses /project/search on REST v3; on REST v2 uses GET /project (v2 has no project search endpoint).

list_boardsA

List Jira Software boards (GET /rest/agile/1.0/board). Use names/ids with create_ticket when project is ambiguous. Returns 404 if Agile is disabled or your site has no Software boards—in that case pass project or JIRA_DEFAULT_PROJECT.

assign_ticketC

Assign an issue by Atlassian account ID.

query_assignableB

List users assignable for a project.

get_all_statusesB

Return all issue statuses from Jira.

add_attachment_from_confluenceA

Download an attachment from Confluence (CONFLUENCE_BASE_URL + CONFLUENCE_PAT or SSO cookies) and upload it to a Jira issue.

add_attachment_from_public_urlA

Download a file from a public URL and attach it to a Jira issue.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/Wasim-Shaikh25/jira-mcp-auth'

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