Prerequisites

To get the most out of this guide, you’ll need to:

1. Create a Jira MCP Server

Use the following endpoint to create a new remote Jira MCP server instance:

Request

curl --request POST \
  --url https://api.klavis.ai/mcp-server/instance/create \
  --header 'Authorization: Bearer <YOUR_API_KEY>' \
  --header 'Content-Type: application/json' \
  --data '{
  "serverName": "Jira",
  "userId": "<YOUR_USER_ID>",
  "platformName": "<YOUR_PLATFORM_NAME>"
}'

Response

{
  "serverUrl": "https://jira-mcp-server.klavis.ai/sse?instance_id=<instance-id>",
  "instanceId": "<instance-id>"
}
serverUrl specifies the endpoint of the Jira MCP server, which allows you to interact with Jira projects and issues.
instanceId is used to get an authentication token. After you complete the OAuth flow, this token allows the MCP server to access Jira on your behalf.

2. Jira OAuth Flow

To enable your MCP server to access Jira, you need to authenticate with Jira’s OAuth flow.

Option 1: API Call

curl --request GET \
  --url 'https://api.klavis.ai/oauth/jira/authorize?instance_id=<YOUR_INSTANCE_ID>'

Option 2: Browser Redirect

Simply copy and paste the following URL into your web browser, replacing <YOUR_INSTANCE_ID> with your actual instance ID:

https://api.klavis.ai/oauth/jira/authorize?instance_id=<YOUR_INSTANCE_ID>

Explore MCP Server Tools