@pipeworx/mcp-openaire 0.1.2 → 0.1.3

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  OpenAIRE MCP — EU-funded research outputs: publications, datasets, software, projects (Horizon Europe, FP7, etc.). No auth.
4
4
 
5
- Part of [Pipeworx](https://pipeworx.io) — an MCP gateway connecting AI agents to 1683+ live data sources.
5
+ Part of [Pipeworx](https://pipeworx.io) — an MCP gateway connecting AI agents to 1773+ live data sources. This is an independent, unofficial integration — not affiliated with, endorsed by, or published by the upstream provider.
6
6
 
7
7
  ## Tools
8
8
 
@@ -63,7 +63,7 @@ directly, instead of just this one's:
63
63
  }
64
64
  ```
65
65
 
66
- Both URLs reach the same gateway and the same 1683+ data sources. The
66
+ Both URLs reach the same gateway and the same 1773+ data sources. The
67
67
  only difference is which pack's tools are listed **directly**; `ask_pipeworx`
68
68
  reaches all of them from either one.
69
69
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pipeworx/mcp-openaire",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "OpenAIRE MCP — EU research outputs (publications, datasets, software, projects)",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -26,7 +26,7 @@
26
26
  "@cloudflare/workers-types": "^4.20260405.1"
27
27
  },
28
28
  "pipeworx": {
29
- "sourceHash": "v1-2cd4569220c52390cfd9144068cde332f1db7e09ef7ce9057d6ecb498e7617f1",
30
- "sourceCommit": "97740c6ee04c8acbfe7dddcacfde9e88ff2b9ca0"
29
+ "sourceHash": "v1-70e8b18d1c9b967c6fab03f7ed6ed280adbeebfa2a99ed62d99663f645803677",
30
+ "sourceCommit": "99f8642edbc00b72eee520fc7832dd864cf5ddfd"
31
31
  }
32
32
  }
package/server.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "io.github.pipeworx-io/openaire",
4
4
  "title": "Openaire",
5
5
  "description": "OpenAIRE MCP — EU research outputs (publications, datasets, software, projects)",
6
- "version": "0.1.2",
6
+ "version": "0.1.3",
7
7
  "websiteUrl": "https://pipeworx.io/packs/openaire",
8
8
  "repository": {
9
9
  "url": "https://github.com/pipeworx-io/mcp-openaire",
package/src/index.ts CHANGED
@@ -797,11 +797,16 @@ async function searchProducts(type: string, args: Record<string, unknown>) {
797
797
  pageSize: String(Math.min(100, Math.max(1, (args.size as number) ?? 20))),
798
798
  page: String(Math.max(1, (args.page as number) ?? 1)),
799
799
  });
800
- if (args.funder) params.set('relFundingShortName', String(args.funder));
801
- if (args.country) params.set('country', String(args.country));
800
+ // Live-confirmed 2026-10-12 (fleet #2947): /researchProducts rejects
801
+ // relFundingShortName, country and bestOpenAccessRouteImpl with
802
+ // "400 Unknown parameter" — none of the three is in the API's own valid
803
+ // parameter list. Correct names re-verified live against the same endpoint:
804
+ // relProjectFundingShortName, countryCode, bestOpenAccessRightLabel=OPEN.
805
+ if (args.funder) params.set('relProjectFundingShortName', String(args.funder));
806
+ if (args.country) params.set('countryCode', String(args.country));
802
807
  if (args.from_year) params.set('fromPublicationDate', `${args.from_year}-01-01`);
803
808
  if (args.to_year) params.set('toPublicationDate', `${args.to_year}-12-31`);
804
- if (args.open_access === true) params.set('bestOpenAccessRouteImpl', 'gold');
809
+ if (args.open_access === true) params.set('bestOpenAccessRightLabel', 'OPEN');
805
810
  return openaireFetch('researchProducts', params, args.query as string);
806
811
  }
807
812
 
package/src/server.ts CHANGED
@@ -9,7 +9,7 @@ import { CallToolRequestSchema, ListToolsRequestSchema } from '@modelcontextprot
9
9
  import pack from './index.js';
10
10
 
11
11
  const server = new Server(
12
- { name: '@pipeworx/mcp-openaire', version: '0.1.2' },
12
+ { name: '@pipeworx/mcp-openaire', version: '0.1.3' },
13
13
  { capabilities: { tools: {} } },
14
14
  );
15
15