@quicknode/mcp 0.0.1 → 0.1.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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # ![QuickNode Logo](https://www.quicknode.com/compiled-assets/qn-logo-q.svg)uickNode MCP Server
1
+ # QuickNode MCP Server
2
2
 
3
3
  > **🚀 The official Model Context Protocol (MCP) server for QuickNode**
4
4
  >
@@ -5,6 +5,19 @@ const zod_1 = require("zod");
5
5
  const types_1 = require("../clients/console_api_client/types");
6
6
  const generic_args_1 = require("../common/generic_args");
7
7
  const utils_1 = require("../common/utils");
8
+ const listEndpointsArgs = {
9
+ limit: zod_1.z
10
+ .number()
11
+ .min(1)
12
+ .max(250)
13
+ .default(50)
14
+ .describe("Number of endpoints to retrieve (1-250, default: 50)"),
15
+ offset: zod_1.z
16
+ .number()
17
+ .min(0)
18
+ .default(0)
19
+ .describe("Number of endpoints to skip for pagination (default: 0)"),
20
+ };
8
21
  const endpointLogsArgs = {
9
22
  ...generic_args_1.genericArgs.endpointIdArgs,
10
23
  from: zod_1.z
@@ -209,9 +222,10 @@ const getLogDetailsArgs = {
209
222
  };
210
223
  function setEndpointTools(server, client) {
211
224
  server.registerTool("get-endpoints", {
212
- description: "Get all web3 QuickNode endpoints for the user, this is a list of all the endpoints that the user has created across all chains and networks",
213
- }, async () => {
214
- const endpoints = await client.listEndpoints();
225
+ description: "Get web3 QuickNode endpoints for the user, this is a list of all the endpoints that the user has created across all chains and networks. Supports pagination via limit and offset parameters",
226
+ inputSchema: { ...listEndpointsArgs },
227
+ }, async ({ limit, offset }) => {
228
+ const endpoints = await client.listEndpoints(limit, offset);
215
229
  return {
216
230
  structuredContent: { data: endpoints },
217
231
  content: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quicknode/mcp",
3
- "version": "0.0.1",
3
+ "version": "0.1.0",
4
4
  "description": "MCP Server for building web3 infrastructure with QuickNode, leading Web3 infrastructure provider",
5
5
  "author": "QuickNode <devex@quicknode.com>",
6
6
  "repository": {