Jira MCP Work tracking
Search issues with JQL, read details and comments, and create, comment on and transition issues in Jira.
Quick start
- Add a Jira connection with the settings below, then click Test configuration.
- Create an API key for your agent.
- Paste the key below, click Test endpoint, and copy the configuration for your platform.
| Endpoint | https://market.oshaani.com/jira (your default connection) or https://market.oshaani.com/jira/<connection-id> |
|---|---|
| Transport | Streamable HTTP (stateless, JSON responses). MCP protocol versions 2024-11-05 to 2025-11-25 and 2026-07-28. |
| Authentication | Authorization: Bearer <API key>, using a key from the API keys page. |
Agent configuration
initialize and tools/list against the endpoint, exactly like an agent. No credits are charged.
Any MCP client that supports remote (Streamable HTTP) servers with custom headers.
{
"name": "jira",
"transport": "streamable-http",
"url": "https://market.oshaani.com/jira",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
~/.cursor/mcp.json (all projects) or .cursor/mcp.json in a project.
{
"mcpServers": {
"jira": {
"url": "https://market.oshaani.com/jira",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
Settings > Developer > Edit Config (claude_desktop_config.json). Uses the mcp-remote bridge; needs Node.js.
{
"mcpServers": {
"jira": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://market.oshaani.com/jira",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer YOUR_API_KEY"
}
}
}
}
Run in your terminal, or put the JSON in .mcp.json at the project root.
claude mcp add --transport http jira https://market.oshaani.com/jira \
--header "Authorization: Bearer YOUR_API_KEY"
# .mcp.json
{
"mcpServers": {
"jira": {
"type": "http",
"url": "https://market.oshaani.com/jira",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
.vscode/mcp.json (GitHub Copilot agent mode). VS Code prompts for the key once and stores it securely.
{
"inputs": [
{
"type": "promptString",
"id": "oshaani-mcp-key",
"description": "oshaani MCP Marketplace API key",
"password": true
}
],
"servers": {
"jira": {
"type": "http",
"url": "https://market.oshaani.com/jira",
"headers": {
"Authorization": "Bearer ${input:oshaani-mcp-key}"
}
}
}
}
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"jira": {
"serverUrl": "https://market.oshaani.com/jira",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
Responses API remote MCP tool (Python SDK).
from openai import OpenAI
client = OpenAI()
response = client.responses.create(
model="gpt-4.1",
tools=[{
"type": "mcp",
"server_label": "jira",
"server_url": "https://market.oshaani.com/jira",
"headers": {"Authorization": "Bearer YOUR_API_KEY"},
"require_approval": "never", # or "always" to approve each tool call
}],
input="What can you do with these tools?",
)
print(response.output_text)
Messages API MCP connector (Python SDK).
import anthropic
client = anthropic.Anthropic()
response = client.beta.messages.create(
model="claude-sonnet-4-5",
max_tokens=1024,
messages=[{"role": "user", "content": "What can you do with these tools?"}],
mcp_servers=[{
"type": "url",
"url": "https://market.oshaani.com/jira",
"name": "jira",
"authorization_token": "YOUR_API_KEY",
}],
betas=["mcp-client-2025-04-04"],
)
print(response.content)
Official MCP Python SDK 2.x (pip install mcp); works inside any agent framework.
import asyncio
from mcp import ClientSession
from mcp.client.streamable_http import create_mcp_http_client, streamable_http_client
async def main():
headers = {"Authorization": "Bearer YOUR_API_KEY"}
async with create_mcp_http_client(headers=headers) as http:
async with streamable_http_client("https://market.oshaani.com/jira", http_client=http) as (read, write, *_):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
print([tool.name for tool in tools.tools])
asyncio.run(main())
Quick check from a terminal: lists the tools without charging credits.
curl -s https://market.oshaani.com/jira \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "MCP-Protocol-Version: 2025-06-18" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
Connection settings
Entered once per connection on market.oshaani.com. Secrets are encrypted and never shown again or sent to agents.
| Setting | Type | Description |
|---|---|---|
Jira URLurl
required |
string (uri) | e.g. https://your-company.atlassian.net or your Data Center URL min length 1, max length 2083 |
Deploymentdeployment
|
"cloud" | "data_center" default "cloud" |
Jira Cloud or Jira Data Center/Server |
Account emailemail
|
string | Jira Cloud only: the email of the account that owns the API token |
API tokenapi_token
required secret |
string | Jira Cloud: create at id.atlassian.com > Security > API tokens. Data Center: a personal access token. |
Verify TLS certificateverify_tls
|
boolean default true |
|
Allow creating, commenting on and transitioning issuesallow_write_actions
|
boolean default false |
Off by default: agents can only read data until this is enabled |
Tools (7)
search_issues
read-only
Search issues with JQL
| Argument | Type | Description |
|---|---|---|
jql required |
string | e.g. 'project = OPS AND assignee = currentUser() ORDER BY updated DESC' min length 1 |
max_results |
integer default 25 |
min 1, max 100 |
page_token |
string | next_page_token from a previous call, to get the next page |
get_issue
read-only
Get an issue with its description, sub-tasks, links and recent comments
| Argument | Type | Description |
|---|---|---|
key required |
string | Issue key, e.g. OPS-123 pattern ^[A-Za-z][A-Za-z0-9_]*-\d+$ |
max_comments |
integer default 10 |
min 0, max 50 |
list_projects
read-only
List projects visible to the account
| Argument | Type | Description |
|---|---|---|
query |
string | Filter by project name or key |
get_transitions
read-only
List the status transitions currently available for an issue
| Argument | Type | Description |
|---|---|---|
key required |
string | Issue key, e.g. OPS-123 pattern ^[A-Za-z][A-Za-z0-9_]*-\d+$ |
create_issue
Create an issue
| Argument | Type | Description |
|---|---|---|
project_key required |
string | pattern ^[A-Za-z][A-Za-z0-9_]*$ |
summary required |
string | min length 1, max length 255 |
issue_type |
string default "Task" |
e.g. Task, Bug, Story |
description |
string | Plain text or Jira wiki markup |
priority |
string | e.g. High, Medium, Low |
labels |
array of string |
add_comment
Add a comment to an issue
| Argument | Type | Description |
|---|---|---|
key required |
string | Issue key, e.g. OPS-123 pattern ^[A-Za-z][A-Za-z0-9_]*-\d+$ |
body required |
string | Plain text or Jira wiki markup min length 1, max length 32000 |
transition_issue
Move an issue to another status using a transition from get_transitions
| Argument | Type | Description |
|---|---|---|
key required |
string | Issue key, e.g. OPS-123 pattern ^[A-Za-z][A-Za-z0-9_]*-\d+$ |
transition required |
string | Transition ID or name, e.g. 'Done' or '31' min length 1 |
comment |
string |
Billing & errors
Each successful tool call costs 1 oshaani.com credit. initialize, tools/list, failed calls and timeouts are free.
| JSON-RPC code | Meaning |
|---|---|
-32054 (HTTP 401) | Missing, unknown or revoked API key |
-32053 (HTTP 404) | No Jira connection configured for your organisation, or the connection ID is wrong |
-32055 (HTTP 403) | Connection disabled or origin not allowed |
-32052 (HTTP 429) | Rate limit reached; retry after a minute |
-32050 | Not enough oshaani.com credits for the call |
-32051 | Billing temporarily unavailable; the call was not run |
Errors from Jira itself (bad IDs, permissions) come back as tool results with isError: true so the agent can read and correct them.
See the Jira API documentation.