@nirvana-labs/nirvana-mcp 1.23.0 → 1.24.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/package.json +2 -2
- package/server.js +1 -1
- package/server.mjs +1 -1
- package/src/server.ts +1 -1
- package/src/tools/rpc-nodes/flex/create-rpc-nodes-flex.ts +5 -1
- package/tools/rpc-nodes/flex/create-rpc-nodes-flex.d.mts.map +1 -1
- package/tools/rpc-nodes/flex/create-rpc-nodes-flex.d.ts.map +1 -1
- package/tools/rpc-nodes/flex/create-rpc-nodes-flex.js +5 -1
- package/tools/rpc-nodes/flex/create-rpc-nodes-flex.js.map +1 -1
- package/tools/rpc-nodes/flex/create-rpc-nodes-flex.mjs +5 -1
- package/tools/rpc-nodes/flex/create-rpc-nodes-flex.mjs.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nirvana-labs/nirvana-mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.24.0",
|
|
4
4
|
"description": "The official MCP Server for the Nirvana Labs API",
|
|
5
5
|
"author": "Nirvana Labs <engineering@nirvanalabs.io>",
|
|
6
6
|
"types": "./index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"access": "public"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@nirvana-labs/nirvana": "^1.
|
|
21
|
+
"@nirvana-labs/nirvana": "^1.24.0",
|
|
22
22
|
"@cloudflare/cabidela": "^0.2.4",
|
|
23
23
|
"@modelcontextprotocol/sdk": "^1.11.5",
|
|
24
24
|
"@valtown/deno-http-worker": "^0.0.21",
|
package/server.js
CHANGED
|
@@ -22,7 +22,7 @@ var tools_2 = require("./tools.js");
|
|
|
22
22
|
Object.defineProperty(exports, "endpoints", { enumerable: true, get: function () { return tools_2.endpoints; } });
|
|
23
23
|
const newMcpServer = () => new mcp_js_1.McpServer({
|
|
24
24
|
name: 'nirvana_labs_nirvana_api',
|
|
25
|
-
version: '1.
|
|
25
|
+
version: '1.24.0',
|
|
26
26
|
}, { capabilities: { tools: {}, logging: {} } });
|
|
27
27
|
exports.newMcpServer = newMcpServer;
|
|
28
28
|
// Create server instance
|
package/server.mjs
CHANGED
|
@@ -11,7 +11,7 @@ export { ClientType } from "./compat.mjs";
|
|
|
11
11
|
export { endpoints } from "./tools.mjs";
|
|
12
12
|
export const newMcpServer = () => new McpServer({
|
|
13
13
|
name: 'nirvana_labs_nirvana_api',
|
|
14
|
-
version: '1.
|
|
14
|
+
version: '1.24.0',
|
|
15
15
|
}, { capabilities: { tools: {}, logging: {} } });
|
|
16
16
|
// Create server instance
|
|
17
17
|
export const server = newMcpServer();
|
package/src/server.ts
CHANGED
|
@@ -34,6 +34,10 @@ export const tool: Tool = {
|
|
|
34
34
|
type: 'string',
|
|
35
35
|
description: 'Network type (e.g., mainnet, testnet).',
|
|
36
36
|
},
|
|
37
|
+
project_id: {
|
|
38
|
+
type: 'string',
|
|
39
|
+
description: 'Project ID to associate with the RPC Node Flex.',
|
|
40
|
+
},
|
|
37
41
|
tags: {
|
|
38
42
|
type: 'array',
|
|
39
43
|
description: 'Tags to attach to the RPC Node Flex (optional, max 50).',
|
|
@@ -48,7 +52,7 @@ export const tool: Tool = {
|
|
|
48
52
|
'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
49
53
|
},
|
|
50
54
|
},
|
|
51
|
-
required: ['blockchain', 'name', 'network'],
|
|
55
|
+
required: ['blockchain', 'name', 'network', 'project_id'],
|
|
52
56
|
},
|
|
53
57
|
annotations: {},
|
|
54
58
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-rpc-nodes-flex.d.mts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/create-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"create-rpc-nodes-flex.d.mts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/create-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAwClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAU3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAY5F,wBAA2C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-rpc-nodes-flex.d.ts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/create-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"create-rpc-nodes-flex.d.ts","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/create-rpc-nodes-flex.ts"],"names":[],"mappings":"OAGO,EAAE,QAAQ,EAAsC,MAAM,uCAAuC;OAE7F,EAAE,IAAI,EAAE,MAAM,oCAAoC;OAClD,WAAW,MAAM,uBAAuB;AAE/C,eAAO,MAAM,QAAQ,EAAE,QAOtB,CAAC;AAEF,eAAO,MAAM,IAAI,EAAE,IAwClB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAU,QAAQ,WAAW,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,4EAU3F,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAVoC,WAAW,QAAQ,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS;;AAY5F,wBAA2C"}
|
|
@@ -30,6 +30,10 @@ exports.tool = {
|
|
|
30
30
|
type: 'string',
|
|
31
31
|
description: 'Network type (e.g., mainnet, testnet).',
|
|
32
32
|
},
|
|
33
|
+
project_id: {
|
|
34
|
+
type: 'string',
|
|
35
|
+
description: 'Project ID to associate with the RPC Node Flex.',
|
|
36
|
+
},
|
|
33
37
|
tags: {
|
|
34
38
|
type: 'array',
|
|
35
39
|
description: 'Tags to attach to the RPC Node Flex (optional, max 50).',
|
|
@@ -43,7 +47,7 @@ exports.tool = {
|
|
|
43
47
|
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
44
48
|
},
|
|
45
49
|
},
|
|
46
|
-
required: ['blockchain', 'name', 'network'],
|
|
50
|
+
required: ['blockchain', 'name', 'network', 'project_id'],
|
|
47
51
|
},
|
|
48
52
|
annotations: {},
|
|
49
53
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-rpc-nodes-flex.js","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/create-rpc-nodes-flex.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,mEA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AAC,CAAC;QACtC,CAAC;QACD,MAAM,KAAK,CAAC;IACd,CAAC;AACH,CAAC,CAAC;AAVW,QAAA,OAAO,WAUlB;AAEF,kBAAe,EAAE,QAAQ,EAAR,gBAAQ,EAAE,IAAI,EAAJ,YAAI,EAAE,OAAO,EAAP,eAAO,EAAE,CAAC"}
|
|
@@ -27,6 +27,10 @@ export const tool = {
|
|
|
27
27
|
type: 'string',
|
|
28
28
|
description: 'Network type (e.g., mainnet, testnet).',
|
|
29
29
|
},
|
|
30
|
+
project_id: {
|
|
31
|
+
type: 'string',
|
|
32
|
+
description: 'Project ID to associate with the RPC Node Flex.',
|
|
33
|
+
},
|
|
30
34
|
tags: {
|
|
31
35
|
type: 'array',
|
|
32
36
|
description: 'Tags to attach to the RPC Node Flex (optional, max 50).',
|
|
@@ -40,7 +44,7 @@ export const tool = {
|
|
|
40
44
|
description: 'A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide ".results[].name".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).',
|
|
41
45
|
},
|
|
42
46
|
},
|
|
43
|
-
required: ['blockchain', 'name', 'network'],
|
|
47
|
+
required: ['blockchain', 'name', 'network', 'project_id'],
|
|
44
48
|
},
|
|
45
49
|
annotations: {},
|
|
46
50
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-rpc-nodes-flex.mjs","sourceRoot":"","sources":["../../../src/tools/rpc-nodes/flex/create-rpc-nodes-flex.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,qCAAqC;OACrE,EAAY,aAAa,EAAE,mBAAmB,EAAE,MAAM,uCAAuC;AAKpG,MAAM,CAAC,MAAM,QAAQ,GAAa;IAChC,QAAQ,EAAE,gBAAgB;IAC1B,SAAS,EAAE,OAAO;IAClB,IAAI,EAAE,EAAE;IACR,UAAU,EAAE,MAAM;IAClB,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