@mcpio/jira 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -736,10 +736,12 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
736
736
  const { jql, maxResults = 50 } = a;
737
737
  validateJQL(jql);
738
738
  const validatedMaxResults = validateMaxResults(maxResults);
739
- const response = await jiraApi.post('/search', {
740
- jql,
741
- maxResults: validatedMaxResults,
742
- fields: ['summary', 'status', 'assignee', 'priority', 'created', 'updated', 'issuetype', 'parent', 'labels'],
739
+ const response = await jiraApi.get('/search/jql', {
740
+ params: {
741
+ jql,
742
+ maxResults: validatedMaxResults,
743
+ fields: 'summary,status,assignee,priority,created,updated,issuetype,parent,labels',
744
+ },
743
745
  });
744
746
  return createSuccessResponse({
745
747
  total: response.data.total,
@@ -1048,9 +1050,9 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
1048
1050
  });
1049
1051
  }
1050
1052
  case 'jira_get_priorities': {
1051
- const response = await jiraApi.get('/priority');
1053
+ const response = await jiraApi.get('/priority/search');
1052
1054
  return createSuccessResponse({
1053
- priorities: response.data.map((p) => ({
1055
+ priorities: response.data.values.map((p) => ({
1054
1056
  id: p.id,
1055
1057
  name: p.name,
1056
1058
  description: p.description,
package/index.js ADDED
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env node
2
+ import './dist/index.js';
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@mcpio/jira",
3
- "version": "2.1.0",
4
- "description": "Model Context Protocol (MCP) server for Jira API integration with enhanced ADF formatting support and security hardening",
3
+ "version": "2.2.0",
4
+ "description": "Model Context Protocol (MCP) server for Jira Cloud API v3 with automatic Markdown-to-ADF conversion",
5
5
  "author": {
6
6
  "name": "Volodymyr Press",
7
7
  "email": "volodymyr.press.gpt@gmail.com"
8
8
  },
9
9
  "license": "MIT",
10
10
  "type": "module",
11
- "main": "dist/index.js",
11
+ "main": "index.js",
12
12
  "types": "dist/index.d.ts",
13
13
  "bin": {
14
- "mcpio-jira": "dist/index.js"
14
+ "mcpio-jira": "index.js"
15
15
  },
16
16
  "scripts": {
17
17
  "build": "tsc",