Jira Connector
Executable Jira Cloud connector using Atlassian's fixed API gateway with search, projects, and approved issue creation.
Credential setup
api_key_headerEnter `Basic <base64(email:api_token)>`; the fixed api.atlassian.com gateway prevents tenant-host injection.
Setup docs: https://id.atlassian.com/manage-profile/security/api-tokens
After adding this connector, attach the credential on the server page, then run astrail tools list.
Hosted MCP endpoint
/api/mcp/preset-jiraPrivate servers require an Astrail API key in the Authorization header.
MCP client snippets
ConnectClaude Desktop config
{
"mcpServers": {
"jira-connector": {
"url": "/api/mcp/preset-jira"
}
}
}cURL initialize
curl -sS -X POST "/api/mcp/preset-jira" \
-H 'Content-Type: application/json' \
--data '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}'cURL tools/list
curl -sS -X POST "/api/mcp/preset-jira" \
-H 'Content-Type: application/json' \
--data '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}'cURL tools/call
curl -sS -X POST "/api/mcp/preset-jira" \
-H 'Content-Type: application/json' \
--data '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"jira_search_issues","arguments":{"cloud_id":1,"jql":"example","maxResults":"example","nextPageToken":"example","fields":"example"}}}'Runtime behavior
healthynot_checkedsafe_rest_executionnot recordednot recordednot recordednonestructured fallbackstandardauth_required / oauth_requiredmapping_requiredAstrail does not evaluate generated TypeScript inside Next.js. Hosted calls are routed through stored tool metadata and endpoint maps.
Tools
5jira_search_issuesSearch Jira Cloud issues with JQL.
jira_get_issueRetrieve a Jira Cloud issue.
jira_list_projectsList Jira Cloud projects visible to the connected identity.
jira_get_projectRetrieve a Jira Cloud project.
jira_create_issueCreate a Jira Cloud issue after approval using provider-native fields.
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { z } from "zod";
const server = new McpServer({ name: "Jira Connector", version: "1.0.0" });
// Curated Astrail connector for: jira_search_issues, jira_get_issue, jira_list_projects, jira_get_project, jira_create_issue.
// The hosted endpoint executes its verified deterministic endpoint map. Attach a least-privilege provider credential before calling private tools.
server.tool("connector_status", "Confirm this curated connector template is installed.", z.object({}), async () => ({
content: [{ type: "text", text: "Connector installed. Attach provider credentials to enable hosted API calls." }],
}));
const transport = new StdioServerTransport();
await server.connect(transport);