clinicaltrialsgov-mcp-server 2.8.1 → 2.8.2
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 +1 -1
- package/dist/mcp-server/tools/definitions/get-field-definitions.tool.d.ts +1 -1
- package/dist/mcp-server/tools/utils/recovery-hints.d.ts +1 -1
- package/dist/mcp-server/tools/utils/recovery-hints.js +1 -1
- package/dist/mcp-server/tools/utils/recovery-hints.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
<div align="center">
|
|
9
9
|
|
|
10
|
-
[](https://www.npmjs.com/package/clinicaltrialsgov-mcp-server) [](https://github.com/users/cyanheads/packages/container/package/clinicaltrialsgov-mcp-server) [](https://www.npmjs.com/package/clinicaltrialsgov-mcp-server) [](https://github.com/users/cyanheads/packages/container/package/clinicaltrialsgov-mcp-server) [](./CHANGELOG.md) [](https://modelcontextprotocol.io/) [](./LICENSE) [](https://www.typescriptlang.org/) [](https://bun.sh/)
|
|
11
11
|
|
|
12
12
|
</div>
|
|
13
13
|
|
|
@@ -32,7 +32,7 @@ export declare const getFieldDefinitions: import("@cyanheads/mcp-ts-core").ToolD
|
|
|
32
32
|
readonly reason: "path_not_found";
|
|
33
33
|
readonly code: JsonRpcErrorCode.NotFound;
|
|
34
34
|
readonly when: "The dot-notation path does not match any node in the field tree.";
|
|
35
|
-
readonly recovery: "Call clinicaltrials_get_field_definitions with
|
|
35
|
+
readonly recovery: "Call clinicaltrials_get_field_definitions with mode=\"search\" and query=\"phase\" (or \"enrollment\") to find a path by concept, or mode=\"overview\" for the top-level sections.";
|
|
36
36
|
}, {
|
|
37
37
|
readonly reason: "rate_limited";
|
|
38
38
|
readonly code: JsonRpcErrorCode.RateLimited;
|
|
@@ -12,7 +12,7 @@ export declare const RECOVERY_HINTS: {
|
|
|
12
12
|
readonly field_invalid: "Call clinicaltrials_get_field_definitions to browse the field tree; use PascalCase piece names like OverallStatus, Phase, or StudyType.";
|
|
13
13
|
readonly enum_invalid: "Call clinicaltrials_get_field_values with fields=[\"OverallStatus\"] or fields=[\"Phase\"] to see the valid enum values the filter accepts.";
|
|
14
14
|
readonly query_parse_error: "Field-scoped search uses advancedFilter with AREA[FieldName]value (call clinicaltrials_get_field_definitions to look up the right FieldName); free-text fields (query, conditionQuery, etc.) take plain words plus AND, OR, NOT — `[ ]` are reserved (advancedFilter AREA[] only); `( )` group sub-expressions and are safe when matched; `,` acts as AND.";
|
|
15
|
-
readonly path_not_found: "Call clinicaltrials_get_field_definitions with
|
|
15
|
+
readonly path_not_found: "Call clinicaltrials_get_field_definitions with mode=\"search\" and query=\"phase\" (or \"enrollment\") to find a path by concept, or mode=\"overview\" for the top-level sections.";
|
|
16
16
|
readonly rate_limited: "ClinicalTrials.gov rate-limited the request after several retries; wait about a minute before trying again.";
|
|
17
17
|
};
|
|
18
18
|
//# sourceMappingURL=recovery-hints.d.ts.map
|
|
@@ -12,7 +12,7 @@ export const RECOVERY_HINTS = {
|
|
|
12
12
|
field_invalid: 'Call clinicaltrials_get_field_definitions to browse the field tree; use PascalCase piece names like OverallStatus, Phase, or StudyType.',
|
|
13
13
|
enum_invalid: 'Call clinicaltrials_get_field_values with fields=["OverallStatus"] or fields=["Phase"] to see the valid enum values the filter accepts.',
|
|
14
14
|
query_parse_error: 'Field-scoped search uses advancedFilter with AREA[FieldName]value (call clinicaltrials_get_field_definitions to look up the right FieldName); free-text fields (query, conditionQuery, etc.) take plain words plus AND, OR, NOT — `[ ]` are reserved (advancedFilter AREA[] only); `( )` group sub-expressions and are safe when matched; `,` acts as AND.',
|
|
15
|
-
path_not_found: 'Call clinicaltrials_get_field_definitions with
|
|
15
|
+
path_not_found: 'Call clinicaltrials_get_field_definitions with mode="search" and query="phase" (or "enrollment") to find a path by concept, or mode="overview" for the top-level sections.',
|
|
16
16
|
rate_limited: 'ClinicalTrials.gov rate-limited the request after several retries; wait about a minute before trying again.',
|
|
17
17
|
};
|
|
18
18
|
//# sourceMappingURL=recovery-hints.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"recovery-hints.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/utils/recovery-hints.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,eAAe,EACb,+GAA+G;IACjH,aAAa,EACX,6HAA6H;IAC/H,aAAa,EACX,yIAAyI;IAC3I,YAAY,EACV,yIAAyI;IAC3I,iBAAiB,EACf,4VAA4V;IAC9V,cAAc,EACZ,
|
|
1
|
+
{"version":3,"file":"recovery-hints.js","sourceRoot":"","sources":["../../../../src/mcp-server/tools/utils/recovery-hints.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,eAAe,EACb,+GAA+G;IACjH,aAAa,EACX,6HAA6H;IAC/H,aAAa,EACX,yIAAyI;IAC3I,YAAY,EACV,yIAAyI;IAC3I,iBAAiB,EACf,4VAA4V;IAC9V,cAAc,EACZ,4KAA4K;IAC9K,YAAY,EACV,6GAA6G;CACvG,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clinicaltrialsgov-mcp-server",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.2",
|
|
4
4
|
"mcpName": "io.github.cyanheads/clinicaltrialsgov-mcp-server",
|
|
5
5
|
"description": "Search ClinicalTrials.gov trials, retrieve study details and results, and match patients to eligible trials via MCP. STDIO or Streamable HTTP.",
|
|
6
6
|
"main": "dist/index.js",
|