Add a Jira instance at runtime
jira_add_instanceRegister an additional Jira instance in memory for the current session and infer authentication from supplied credentials, enabling routing to multiple Jira sites.
Instructions
Register an additional Jira instance for this session (kept in memory; add it to your MCP config to make it permanent). Auth is inferred: email+token → basic (Jira Cloud API token), token only → bearer (Data Center PAT), nothing → browser SSO. Note: a token passed here is visible to the assistant; prefer configuring secrets in the MCP config.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"url": "<url>"
},
"name": "jira_add_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Base URL, e.g. https://acme.atlassian.net or https://jira.corp.local/jira | |
| auth | No | ||
| name | Yes | Short unique name, e.g. 'work' or 'client-a'. | |
| No | Account email (Cloud) or username (Data Center basic auth). | ||
| token | No | API token (Cloud) or personal access token (Data Center). | |
| replace | No | Overwrite an existing instance with the same name. | |
| projects | No | Project keys hosted on this instance (enables routing). | |
| readOnly | No | ||
| apiVersion | No | ||
| deployment | No | ||
| description | No | ||
| makeDefault | No | ||
| defaultProject | No |