@confluentinc/mcp-confluent 1.0.6 → 1.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
@@ -29,10 +29,12 @@ An MCP server implementation that enables AI assistants to interact with Conflue
29
29
  - [Getting Started](#getting-started)
30
30
  - [Configuration](#configuration)
31
31
  - [Prerequisites \& Setup for Tableflow Commands](#prerequisites--setup-for-tableflow-commands)
32
+ - [Authentication for HTTP/SSE Transports](#authentication-for-httpsse-transports)
32
33
  - [Environment Variables Reference](#environment-variables-reference)
33
34
  - [Usage](#usage)
34
35
  - [Configuring Claude Desktop](#configuring-claude-desktop)
35
36
  - [Configuring Goose CLI](#configuring-goose-cli)
37
+ - [Configuring Gemini CLI](#configuring-gemini-cli)
36
38
  - [mcp-confluent CLI Usage](#mcp-confluent-cli-usage)
37
39
  - [Basic Usage](#basic-usage)
38
40
  - [Example: Deploy using all transports](#example-deploy-using-all-transports)
@@ -112,22 +114,95 @@ It is crucial to set up the necessary roles and policies in your cloud environme
112
114
 
113
115
  Please refer to the following Confluent Cloud documentation for detailed instructions on setting up these permissions and integrating with custom storage and Glue:
114
116
 
115
- * **Confluent Cloud Tableflow Quick Start with Custom Storage & Glue:**
117
+ - **Confluent Cloud Tableflow Quick Start with Custom Storage & Glue:**
116
118
  [https://docs.confluent.io/cloud/current/topics/tableflow/get-started/quick-start-custom-storage-glue.html](https://docs.confluent.io/cloud/current/topics/tableflow/get-started/quick-start-custom-storage-glue.html)
117
119
 
118
120
  Ensuring these prerequisites are met will prevent authorization errors when the `mcp-server` attempts to provision or manage Tableflow-enabled tables.
119
121
 
122
+ ### Authentication for HTTP/SSE Transports
123
+
124
+ When using HTTP or SSE transports, the MCP server requires API key authentication to prevent unauthorized access and protect against DNS rebinding attacks. This is **enabled by default**.
125
+
126
+ #### Generating an API Key
127
+
128
+ Generate a secure API key using the built-in utility:
129
+
130
+ ```bash
131
+ npx @confluentinc/mcp-confluent --generate-key
132
+ ```
133
+
134
+ This will output a 64-character key generated using secure cryptography:
135
+
136
+ ```
137
+ Generated MCP API Key:
138
+ ================================================================
139
+ a1b2c3d4e5f6...your-64-char-key-here...
140
+ ================================================================
141
+
142
+ ```
143
+
144
+ #### Configuring Authentication
145
+
146
+ Add the generated key to your `.env` file:
147
+
148
+ ```properties
149
+ # MCP Server Authentication (required for HTTP/SSE transports)
150
+ MCP_API_KEY=your-generated-64-char-key-here
151
+ ```
152
+
153
+ #### Making Authenticated Requests
154
+
155
+ Include the API key in the `cflt-mcp-api-Key` header for all HTTP/SSE requests:
156
+
157
+ ```bash
158
+ curl -H "cflt-mcp-api-Key: your-api-key" http://localhost:8080/mcp
159
+ ```
160
+
161
+ #### DNS Rebinding Protection
162
+
163
+ The server includes additional protections against DNS rebinding attacks:
164
+
165
+ - **Host Header Validation**: Only requests with allowed Host headers are accepted
166
+
167
+ Configure allowed hosts if needed:
168
+
169
+ ```properties
170
+ # Allow additional hosts (comma-separated)
171
+ MCP_ALLOWED_HOSTS=localhost,127.0.0.1,myhost.local
172
+ ```
173
+
174
+ #### Additional security to prevent internet exposure of MCP server
175
+
176
+ - **Localhost Binding**: Server binds to `127.0.0.1` by default (not `0.0.0.0`)
177
+
178
+ #### Disabling Authentication (Development Only)
179
+
180
+ For local development, you can disable authentication:
181
+
182
+ ```bash
183
+ # Via CLI flag
184
+ npx @confluentinc/mcp-confluent -e .env --transport http --disable-auth
185
+
186
+ # Or via environment variable
187
+ MCP_AUTH_DISABLED=true
188
+ ```
189
+
190
+ > **Warning:** Never disable authentication in production or when the server is network-accessible.
191
+
120
192
  ### Environment Variables Reference
121
193
 
122
- | Variable | Description | Default Value | Required |
123
- | ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ------------- | -------- |
124
- | HTTP_HOST | Host to bind for HTTP transport. 0.0.0.0 means all interfaces. (string) | "0.0.0.0" | Yes |
125
- | HTTP_MCP_ENDPOINT_PATH | HTTP endpoint path for MCP transport (e.g., '/mcp') (string) | "/mcp" | Yes |
126
- | HTTP_PORT | Port to use for HTTP transport (number (min: 0)) | 8080 | Yes |
127
- | LOG_LEVEL | Log level for application logging (trace, debug, info, warn, error, fatal) (effects) | "info" | Yes |
128
- | SSE_MCP_ENDPOINT_PATH | SSE endpoint path for establishing SSE connections (e.g., '/sse', '/events') (string) | "/sse" | Yes |
129
- | SSE_MCP_MESSAGE_ENDPOINT_PATH | SSE message endpoint path for receiving messages (e.g., '/messages', '/events/messages') (string) | "/messages" | Yes |
130
- | BOOTSTRAP_SERVERS | List of Kafka broker addresses in the format host1:port1,host2:port2 used to establish initial connection to the Kafka cluster (string) | | No |
194
+ | Variable | Description | Default Value | Required |
195
+ | ----------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- | -------- |
196
+ | HTTP_HOST | Host to bind for HTTP transport. Defaults to localhost only for security. | "127.0.0.1" | Yes |
197
+ | HTTP_MCP_ENDPOINT_PATH | HTTP endpoint path for MCP transport (e.g., '/mcp') (string) | "/mcp" | Yes |
198
+ | HTTP_PORT | Port to use for HTTP transport (number (min: 0)) | 8080 | Yes |
199
+ | LOG_LEVEL | Log level for application logging (trace, debug, info, warn, error, fatal) | "info" | Yes |
200
+ | MCP_API_KEY | API key for HTTP/SSE authentication. Generate using `--generate-key`. Required when auth is enabled. | | No* |
201
+ | MCP_AUTH_DISABLED | Disable authentication for HTTP/SSE transports. WARNING: Only use in development environments. | false | No |
202
+ | MCP_ALLOWED_HOSTS | Comma-separated list of allowed Host header values for DNS rebinding protection. | "localhost,127.0.0.1" | No |
203
+ | SSE_MCP_ENDPOINT_PATH | SSE endpoint path for establishing SSE connections (e.g., '/sse', '/events') (string) | "/sse" | Yes |
204
+ | SSE_MCP_MESSAGE_ENDPOINT_PATH | SSE message endpoint path for receiving messages (e.g., '/messages', '/events/messages') (string) | "/messages" | Yes |
205
+ | BOOTSTRAP_SERVERS | List of Kafka broker addresses in the format host1:port1,host2:port2 used to establish initial connection to the Kafka cluster (string) | | No |
131
206
  | CONFLUENT_CLOUD_API_KEY | Master API key for Confluent Cloud platform administration, enabling management of resources across your organization (string (min: 1)) | | No |
132
207
  | CONFLUENT_CLOUD_API_SECRET | Master API secret paired with CONFLUENT_CLOUD_API_KEY for comprehensive Confluent Cloud platform administration (string (min: 1)) | | No |
133
208
  | CONFLUENT_CLOUD_REST_ENDPOINT | Base URL for Confluent Cloud's REST API services (default) | | No |
@@ -177,7 +252,7 @@ See [here](https://modelcontextprotocol.io/quickstart/user) for more details abo
177
252
  To configure Claude Desktop to use this MCP server:
178
253
 
179
254
  1. **Open Claude Desktop Configuration**
180
- - On Mac: `~/Library/Application Support/Claude/claude_desktop_config.json`
255
+ - On Mac: `~/Library/Application\ Support/Claude/claude_desktop_config.json`
181
256
  - On Windows: `%APPDATA%\Claude\claude_desktop_config.json`
182
257
 
183
258
  2. **Edit Configuration File**
@@ -195,7 +270,7 @@ To configure Claude Desktop to use this MCP server:
195
270
  "args": [
196
271
  "/path/to/confluent-mcp-server/dist/index.js",
197
272
  "--env-file",
198
- "/path/to/confluent-mcp-server/.env",
273
+ "/path/to/confluent-mcp-server/.env"
199
274
  ]
200
275
  }
201
276
  }
@@ -275,6 +350,73 @@ Replace `/path/to/confluent-mcp-server/` with the actual path where you've insta
275
350
 
276
351
  ![Goose Configure](assets/goose-configure.png)
277
352
 
353
+ ### Configuring Gemini CLI
354
+
355
+ For detailed information about Gemini CLI extensions and MCP servers, please refer to the official documentation:
356
+
357
+ - [Gemini CLI Extensions](https://github.com/google-gemini/gemini-cli/blob/main/docs/extension.md)
358
+ - [Gemini CLI MCP Server Tools](https://github.com/google-gemini/gemini-cli/blob/main/docs/tools/mcp-server.md)
359
+
360
+ Here's how to get `mcp-confluent` running with Gemini CLI:
361
+
362
+ 1. **Install Gemini CLI:**
363
+ If you haven't already, install the Gemini CLI. You can find installation instructions on the [official GitHub repository](https://github.com/google-gemini/gemini-cli).
364
+
365
+ 2. **Install the `mcp-confluent` Extension:**
366
+
367
+ ```bash
368
+ gemini extensions install https://github.com/confluentinc/mcp-confluent
369
+ # Navigate to the root directory of this project (where `gemini-extension.json` is located) and run:
370
+ # gemini extensions install .
371
+ ```
372
+
373
+ This command registers the `mcp-confluent` server with Gemini CLI and creates a dedicated directory for it under `~/.gemini/extensions/mcp-confluent`.
374
+
375
+ 3. **Provide Environment Variables:**
376
+ The extension requires your Confluent Cloud credentials and configuration to be available in a `.env` file.
377
+
378
+ - First, ensure you have a correctly populated `.env` file in the root of this project. For instructions, see the [Configuration](#configuration) section.
379
+ - Next, copy your `.env` file into the extension's directory so Gemini CLI can access it (the Gemini extension expects the `.env` file at `${extensionPath}${pathSeparator}.env`; see [the variables documentation](https://github.com/google-gemini/gemini-cli/blob/main/docs/extension.md#variables) for details):
380
+
381
+ ```bash
382
+ cp .env ~/.gemini/extensions/mcp-confluent/.env
383
+ ```
384
+
385
+ 4. **Verify and Use:**
386
+ You can now start using the Confluent tools via Gemini CLI. To verify that the tools are available, you can list them:
387
+
388
+ ```bash
389
+ gemini -l
390
+ # or `gemini extensions list`
391
+ ```
392
+
393
+ And here's an example of invoking a tool:
394
+
395
+ ```bash
396
+
397
+ gemini
398
+ ....
399
+
400
+ 🟢 mcp-confluent (from mcp-confluent) - Ready (24 tools)
401
+ ....
402
+
403
+ Using: 1 MCP server (ctrl+t to toggle)
404
+ ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
405
+ │ > list topics │
406
+ ╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
407
+
408
+ ╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
409
+ │ ✓ list-topics (mcp-confluent MCP Server) {} │
410
+ │ │
411
+ │ Kafka topics: │
412
+ │ products_summarized,products,topic_8,products_summarized_with_embeddings,elastic_minimized,user_message_related_products,user_message_embeddin │
413
+ │ gs,dlq-lcc-d3738o,user_message,elastic │
414
+ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
415
+ ✦ Okay, I see the following topics: products_summarized, products, topic_8, products_summarized_with_embeddings, elastic_minimized,
416
+ user_message_related_products, user_message_embeddings, dlq-lcc-d3738o, user_message, and elastic.
417
+
418
+ ```
419
+
278
420
  ### mcp-confluent CLI Usage
279
421
 
280
422
  The MCP server provides a flexible command line interface (CLI) for advanced configuration and control. The CLI allows you to specify environment files, transports, and fine-tune which tools are enabled or blocked.
@@ -306,6 +448,9 @@ Options:
306
448
  --block-tools-file <file> File with tool names to block (one per line). Used only if --block-tools is not provided. Block-list is applied after allow-list.
307
449
  --list-tools Print the final set of enabled tool names (with descriptions) after allow/block filtering and exit. Does not start the server.
308
450
  --disable-confluent-cloud-tools Disable all tools that require Confluent Cloud REST APIs (cloud-only tools).
451
+ --disable-auth Disable authentication for HTTP/SSE transports. WARNING: Only use in development environments.
452
+ --allowed-hosts <hosts> Comma-separated list of allowed Host header values for DNS rebinding protection.
453
+ --generate-key Generate a secure API key for MCP_API_KEY and print it to stdout, then exit.
309
454
  -h, --help display help for command
310
455
  ```
311
456
 
@@ -596,13 +741,13 @@ delete-tableflow-catalog-integration: Make a request to delete a tableflow catal
596
741
  npm run start
597
742
  ```
598
743
 
599
-
600
744
  ### Docker
601
745
 
602
746
  #### Prerequisites
747
+
603
748
  Before you begin, ensure you have the following installed on your system:
604
749
 
605
- Docker Desktop (or Docker Engine and Docker Compose): https://www.docker.com/products/docker-desktop
750
+ Docker Desktop (or Docker Engine and Docker Compose): <https://www.docker.com/products/docker-desktop>
606
751
 
607
752
  ##### Environment Variables
608
753
 
@@ -612,13 +757,13 @@ The MCP server requires several environment variables to connect to Confluent Cl
612
757
 
613
758
  Here's how to build your Docker image and run it in different modes.
614
759
 
615
- 1. **Navigate to your project directory.** Open your terminal or command prompt and change to the directory containing the `Dockerfile`.
760
+ 1. **Navigate to your project directory.** Open your terminal or command prompt and change to the directory containing the `Dockerfile`.
616
761
 
617
762
  ```bash
618
763
  cd /path/to/repo/mcp-confluent
619
764
  ```
620
765
 
621
- 2. **Build the Docker image.**
766
+ 2. **Build the Docker image.**
622
767
 
623
768
  This command creates the `mcp-server` image based on the `Dockerfile` in the current directory.
624
769
 
@@ -626,18 +771,20 @@ Here's how to build your Docker image and run it in different modes.
626
771
  docker build -t mcp-server .
627
772
  ```
628
773
 
629
- 3. **Run the container**
774
+ 3. **Run the container**
630
775
 
631
- * `--rm`: **Automatically removes the container** when it exits. This helps keep your system clean.
632
- * `-i`: Keeps **STDIN open** (runs the server using stdio transport by default).
633
- * `-d`: Runs the container in **detached mode** (in the background).
634
- * `-p 3000:3000`: **Maps port 3000** on your host machine to port 3000 inside the container. Adjust this if your app listens on a different port.
776
+ - `--rm`: **Automatically removes the container** when it exits. This helps keep your system clean.
777
+ - `-i`: Keeps **STDIN open** (runs the server using stdio transport by default).
778
+ - `-d`: Runs the container in **detached mode** (in the background).
779
+ - `-p 3000:3000`: **Maps port 3000** on your host machine to port 3000 inside the container. Adjust this if your app listens on a different port.
635
780
 
636
781
  ```bash
637
782
  docker run --rm -i -d -p 3000:3000 mcp-server
638
783
  ```
784
+
639
785
  (Optional)
640
- * `-t` **Transport Mode** to enable http transport
786
+ - `-t` **Transport Mode** to enable http transport
787
+
641
788
  ```bash
642
789
  docker run --rm -d -p 3000:3000 mcp-server -t http
643
790
  ```
@@ -654,26 +801,25 @@ Here's how to build your Docker image and run it in different modes.
654
801
  2. **Build and run the service:**
655
802
  Docker Compose will build the Docker image (if not already built) and start the mcp-server service.
656
803
 
657
- ```bash
804
+ ```bash
658
805
  docker compose up --build
659
806
  ```
660
807
 
661
808
  The --build flag ensures that Docker Compose rebuilds the image before starting the container. You can omit this flag on subsequent runs if you haven't changed the Dockerfile or source code.
662
809
 
663
- The server will be accessible on http://localhost:3000 (or the port specified in HTTP_PORT in your .env file).
810
+ The server will be accessible on <http://localhost:3000> (or the port specified in HTTP_PORT in your .env file).
664
811
 
665
812
  3. **Stopping the Server**
666
813
  To stop the running MCP server and remove the containers, press Ctrl+C in the terminal where docker compose up is running.
667
814
 
668
815
  Alternatively, in a new terminal from the project root, you can run:
669
816
 
670
- ```bash
817
+ ```bash
671
818
  docker compose down
672
819
  ```
673
820
 
674
821
  This command stops and removes the containers, networks, and volumes created by docker compose up.
675
822
 
676
-
677
823
  ### Testing
678
824
 
679
825
  #### MCP Inspector
@@ -1 +1 @@
1
- {"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/confluent/middleware.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,MAAM,aAAa,KAAG,UASzD,CAAC"}
1
+ {"version":3,"file":"middleware.d.ts","sourceRoot":"","sources":["../../src/confluent/middleware.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,MAAM,aAAa,KAAG,UAUzD,CAAC"}
@@ -6,6 +6,7 @@ export const createAuthMiddleware = (auth) => ({
6
6
  async onRequest({ request }) {
7
7
  logger.debug({ request }, "Processing request");
8
8
  request.headers.set("Authorization", `Basic ${Buffer.from(`${auth.apiKey}:${auth.apiSecret}`).toString("base64")}`);
9
+ request.headers.set("User-Agent", "mcp-confluent");
9
10
  return request;
10
11
  },
11
12
  });
@@ -1 +1 @@
1
- {"version":3,"file":"middleware.js","sourceRoot":"","sources":["../../src/confluent/middleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAgBxC;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,IAAmB,EAAc,EAAE,CAAC,CAAC;IACxE,KAAK,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE;QACzB,MAAM,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,EAAE,oBAAoB,CAAC,CAAC;QAChD,OAAO,CAAC,OAAO,CAAC,GAAG,CACjB,eAAe,EACf,SAAS,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAC9E,CAAC;QACF,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC,CAAC"}
1
+ {"version":3,"file":"middleware.js","sourceRoot":"","sources":["../../src/confluent/middleware.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAgBxC;;GAEG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,IAAmB,EAAc,EAAE,CAAC,CAAC;IACxE,KAAK,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE;QACzB,MAAM,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,EAAE,oBAAoB,CAAC,CAAC;QAChD,OAAO,CAAC,OAAO,CAAC,GAAG,CACjB,eAAe,EACf,SAAS,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAC9E,CAAC;QACF,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,EAAE,eAAe,CAAC,CAAC;QACnD,OAAO,OAAO,CAAC;IACjB,CAAC;CACF,CAAC,CAAC"}
@@ -16,17 +16,7 @@ export declare const clusterSchema: z.ZodObject<{
16
16
  resource_name: z.ZodString;
17
17
  self: z.ZodString;
18
18
  updated_at: z.ZodString;
19
- }, "strip", z.ZodTypeAny, {
20
- created_at: string;
21
- resource_name: string;
22
- self: string;
23
- updated_at: string;
24
- }, {
25
- created_at: string;
26
- resource_name: string;
27
- self: string;
28
- updated_at: string;
29
- }>;
19
+ }, z.core.$strip>;
30
20
  spec: z.ZodObject<{
31
21
  api_endpoint: z.ZodString;
32
22
  availability: z.ZodString;
@@ -34,147 +24,23 @@ export declare const clusterSchema: z.ZodObject<{
34
24
  config: z.ZodObject<{
35
25
  cku: z.ZodOptional<z.ZodNumber>;
36
26
  kind: z.ZodString;
37
- zones: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
38
- }, "strip", z.ZodTypeAny, {
39
- kind: string;
40
- cku?: number | undefined;
41
- zones?: string[] | undefined;
42
- }, {
43
- kind: string;
44
- cku?: number | undefined;
45
- zones?: string[] | undefined;
46
- }>;
27
+ zones: z.ZodOptional<z.ZodArray<z.ZodString>>;
28
+ }, z.core.$strip>;
47
29
  display_name: z.ZodString;
48
30
  environment: z.ZodObject<{
49
31
  id: z.ZodString;
50
32
  related: z.ZodString;
51
33
  resource_name: z.ZodString;
52
- }, "strip", z.ZodTypeAny, {
53
- id: string;
54
- resource_name: string;
55
- related: string;
56
- }, {
57
- id: string;
58
- resource_name: string;
59
- related: string;
60
- }>;
34
+ }, z.core.$strip>;
61
35
  http_endpoint: z.ZodString;
62
36
  kafka_bootstrap_endpoint: z.ZodString;
63
37
  region: z.ZodString;
64
- }, "strip", z.ZodTypeAny, {
65
- api_endpoint: string;
66
- availability: string;
67
- cloud: string;
68
- config: {
69
- kind: string;
70
- cku?: number | undefined;
71
- zones?: string[] | undefined;
72
- };
73
- display_name: string;
74
- environment: {
75
- id: string;
76
- resource_name: string;
77
- related: string;
78
- };
79
- http_endpoint: string;
80
- kafka_bootstrap_endpoint: string;
81
- region: string;
82
- }, {
83
- api_endpoint: string;
84
- availability: string;
85
- cloud: string;
86
- config: {
87
- kind: string;
88
- cku?: number | undefined;
89
- zones?: string[] | undefined;
90
- };
91
- display_name: string;
92
- environment: {
93
- id: string;
94
- resource_name: string;
95
- related: string;
96
- };
97
- http_endpoint: string;
98
- kafka_bootstrap_endpoint: string;
99
- region: string;
100
- }>;
38
+ }, z.core.$strip>;
101
39
  status: z.ZodObject<{
102
40
  cku: z.ZodOptional<z.ZodNumber>;
103
41
  phase: z.ZodString;
104
- }, "strip", z.ZodTypeAny, {
105
- phase: string;
106
- cku?: number | undefined;
107
- }, {
108
- phase: string;
109
- cku?: number | undefined;
110
- }>;
111
- }, "strip", z.ZodTypeAny, {
112
- status: {
113
- phase: string;
114
- cku?: number | undefined;
115
- };
116
- api_version: string;
117
- id: string;
118
- kind: string;
119
- metadata: {
120
- created_at: string;
121
- resource_name: string;
122
- self: string;
123
- updated_at: string;
124
- };
125
- spec: {
126
- api_endpoint: string;
127
- availability: string;
128
- cloud: string;
129
- config: {
130
- kind: string;
131
- cku?: number | undefined;
132
- zones?: string[] | undefined;
133
- };
134
- display_name: string;
135
- environment: {
136
- id: string;
137
- resource_name: string;
138
- related: string;
139
- };
140
- http_endpoint: string;
141
- kafka_bootstrap_endpoint: string;
142
- region: string;
143
- };
144
- }, {
145
- status: {
146
- phase: string;
147
- cku?: number | undefined;
148
- };
149
- api_version: string;
150
- id: string;
151
- kind: string;
152
- metadata: {
153
- created_at: string;
154
- resource_name: string;
155
- self: string;
156
- updated_at: string;
157
- };
158
- spec: {
159
- api_endpoint: string;
160
- availability: string;
161
- cloud: string;
162
- config: {
163
- kind: string;
164
- cku?: number | undefined;
165
- zones?: string[] | undefined;
166
- };
167
- display_name: string;
168
- environment: {
169
- id: string;
170
- resource_name: string;
171
- related: string;
172
- };
173
- http_endpoint: string;
174
- kafka_bootstrap_endpoint: string;
175
- region: string;
176
- };
177
- }>;
42
+ }, z.core.$strip>;
43
+ }, z.core.$strip>;
178
44
  export type Cluster = z.infer<typeof clusterSchema>;
179
45
  export declare class ListClustersHandler extends BaseToolHandler {
180
46
  handle(clientManager: ClientManager, toolArguments: Record<string, unknown> | undefined): Promise<CallToolResult>;
@@ -1 +1 @@
1
- {"version":3,"file":"list-clusters-handler.d.ts","sourceRoot":"","sources":["../../../../../src/confluent/tools/handlers/clusters/list-clusters-handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EACL,eAAe,EACf,UAAU,EACX,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAI5C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiCxB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,qBAAa,mBAAoB,SAAQ,eAAe;IAChD,MAAM,CACV,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GACjD,OAAO,CAAC,cAAc,CAAC;IAuH1B,aAAa,IAAI,UAAU;IAQ3B,kBAAkB,IAAI,MAAM,EAAE;IAI9B,oBAAoB,IAAI,OAAO;CAGhC"}
1
+ {"version":3,"file":"list-clusters-handler.d.ts","sourceRoot":"","sources":["../../../../../src/confluent/tools/handlers/clusters/list-clusters-handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EACL,eAAe,EACf,UAAU,EACX,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAI5C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB;;;GAGG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiCxB,CAAC;AAEH,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,qBAAa,mBAAoB,SAAQ,eAAe;IAChD,MAAM,CACV,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GACjD,OAAO,CAAC,cAAc,CAAC;IAuH1B,aAAa,IAAI,UAAU;IAQ3B,kBAAkB,IAAI,MAAM,EAAE;IAI9B,oBAAoB,IAAI,OAAO;CAGhC"}
@@ -16,58 +16,12 @@ export declare const environmentSchema: z.ZodObject<{
16
16
  deleted_at: z.ZodOptional<z.ZodString>;
17
17
  resource_name: z.ZodString;
18
18
  self: z.ZodString;
19
- }, "strip", z.ZodTypeAny, {
20
- created_at: string;
21
- resource_name: string;
22
- self: string;
23
- updated_at: string;
24
- deleted_at?: string | undefined;
25
- }, {
26
- created_at: string;
27
- resource_name: string;
28
- self: string;
29
- updated_at: string;
30
- deleted_at?: string | undefined;
31
- }>;
19
+ }, z.core.$strip>;
32
20
  display_name: z.ZodString;
33
21
  stream_governance_config: z.ZodOptional<z.ZodObject<{
34
22
  package: z.ZodString;
35
- }, "strip", z.ZodTypeAny, {
36
- package: string;
37
- }, {
38
- package: string;
39
- }>>;
40
- }, "strip", z.ZodTypeAny, {
41
- api_version: "org/v2";
42
- id: string;
43
- kind: "Environment";
44
- metadata: {
45
- created_at: string;
46
- resource_name: string;
47
- self: string;
48
- updated_at: string;
49
- deleted_at?: string | undefined;
50
- };
51
- display_name: string;
52
- stream_governance_config?: {
53
- package: string;
54
- } | undefined;
55
- }, {
56
- api_version: "org/v2";
57
- id: string;
58
- kind: "Environment";
59
- metadata: {
60
- created_at: string;
61
- resource_name: string;
62
- self: string;
63
- updated_at: string;
64
- deleted_at?: string | undefined;
65
- };
66
- display_name: string;
67
- stream_governance_config?: {
68
- package: string;
69
- } | undefined;
70
- }>;
23
+ }, z.core.$strip>>;
24
+ }, z.core.$strip>;
71
25
  export declare const environmentListSchema: z.ZodObject<{
72
26
  api_version: z.ZodLiteral<"org/v2">;
73
27
  kind: z.ZodLiteral<"EnvironmentList">;
@@ -77,19 +31,7 @@ export declare const environmentListSchema: z.ZodObject<{
77
31
  prev: z.ZodOptional<z.ZodString>;
78
32
  next: z.ZodOptional<z.ZodString>;
79
33
  total_size: z.ZodOptional<z.ZodNumber>;
80
- }, "strip", z.ZodTypeAny, {
81
- first?: string | undefined;
82
- last?: string | undefined;
83
- prev?: string | undefined;
84
- next?: string | undefined;
85
- total_size?: number | undefined;
86
- }, {
87
- first?: string | undefined;
88
- last?: string | undefined;
89
- prev?: string | undefined;
90
- next?: string | undefined;
91
- total_size?: number | undefined;
92
- }>>;
34
+ }, z.core.$strip>>;
93
35
  data: z.ZodArray<z.ZodObject<{
94
36
  api_version: z.ZodLiteral<"org/v2">;
95
37
  kind: z.ZodLiteral<"Environment">;
@@ -100,111 +42,13 @@ export declare const environmentListSchema: z.ZodObject<{
100
42
  deleted_at: z.ZodOptional<z.ZodString>;
101
43
  resource_name: z.ZodString;
102
44
  self: z.ZodString;
103
- }, "strip", z.ZodTypeAny, {
104
- created_at: string;
105
- resource_name: string;
106
- self: string;
107
- updated_at: string;
108
- deleted_at?: string | undefined;
109
- }, {
110
- created_at: string;
111
- resource_name: string;
112
- self: string;
113
- updated_at: string;
114
- deleted_at?: string | undefined;
115
- }>;
45
+ }, z.core.$strip>;
116
46
  display_name: z.ZodString;
117
47
  stream_governance_config: z.ZodOptional<z.ZodObject<{
118
48
  package: z.ZodString;
119
- }, "strip", z.ZodTypeAny, {
120
- package: string;
121
- }, {
122
- package: string;
123
- }>>;
124
- }, "strip", z.ZodTypeAny, {
125
- api_version: "org/v2";
126
- id: string;
127
- kind: "Environment";
128
- metadata: {
129
- created_at: string;
130
- resource_name: string;
131
- self: string;
132
- updated_at: string;
133
- deleted_at?: string | undefined;
134
- };
135
- display_name: string;
136
- stream_governance_config?: {
137
- package: string;
138
- } | undefined;
139
- }, {
140
- api_version: "org/v2";
141
- id: string;
142
- kind: "Environment";
143
- metadata: {
144
- created_at: string;
145
- resource_name: string;
146
- self: string;
147
- updated_at: string;
148
- deleted_at?: string | undefined;
149
- };
150
- display_name: string;
151
- stream_governance_config?: {
152
- package: string;
153
- } | undefined;
154
- }>, "many">;
155
- }, "strip", z.ZodTypeAny, {
156
- data: {
157
- api_version: "org/v2";
158
- id: string;
159
- kind: "Environment";
160
- metadata: {
161
- created_at: string;
162
- resource_name: string;
163
- self: string;
164
- updated_at: string;
165
- deleted_at?: string | undefined;
166
- };
167
- display_name: string;
168
- stream_governance_config?: {
169
- package: string;
170
- } | undefined;
171
- }[];
172
- api_version: "org/v2";
173
- kind: "EnvironmentList";
174
- metadata?: {
175
- first?: string | undefined;
176
- last?: string | undefined;
177
- prev?: string | undefined;
178
- next?: string | undefined;
179
- total_size?: number | undefined;
180
- } | undefined;
181
- }, {
182
- data: {
183
- api_version: "org/v2";
184
- id: string;
185
- kind: "Environment";
186
- metadata: {
187
- created_at: string;
188
- resource_name: string;
189
- self: string;
190
- updated_at: string;
191
- deleted_at?: string | undefined;
192
- };
193
- display_name: string;
194
- stream_governance_config?: {
195
- package: string;
196
- } | undefined;
197
- }[];
198
- api_version: "org/v2";
199
- kind: "EnvironmentList";
200
- metadata?: {
201
- first?: string | undefined;
202
- last?: string | undefined;
203
- prev?: string | undefined;
204
- next?: string | undefined;
205
- total_size?: number | undefined;
206
- } | undefined;
207
- }>;
49
+ }, z.core.$strip>>;
50
+ }, z.core.$strip>>;
51
+ }, z.core.$strip>;
208
52
  export type Environment = z.infer<typeof environmentSchema>;
209
53
  export type EnvironmentList = z.infer<typeof environmentListSchema>;
210
54
  export declare class ListEnvironmentsHandler extends BaseToolHandler {
@@ -1 +1 @@
1
- {"version":3,"file":"list-environments-handler.d.ts","sourceRoot":"","sources":["../../../../../src/confluent/tools/handlers/environments/list-environments-handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EACL,eAAe,EACf,UAAU,EACX,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAI5C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiB5B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAahC,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,qBAAa,uBAAwB,SAAQ,eAAe;IACpD,MAAM,CACV,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACrC,OAAO,CAAC,cAAc,CAAC;IAuG1B,aAAa,IAAI,UAAU;IAS3B,kBAAkB,IAAI,MAAM,EAAE;IAI9B,oBAAoB,IAAI,OAAO;CAGhC"}
1
+ {"version":3,"file":"list-environments-handler.d.ts","sourceRoot":"","sources":["../../../../../src/confluent/tools/handlers/environments/list-environments-handler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EACL,eAAe,EACf,UAAU,EACX,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAI5C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB;;GAEG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;iBAiB5B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;iBAahC,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,qBAAa,uBAAwB,SAAQ,eAAe;IACpD,MAAM,CACV,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GACrC,OAAO,CAAC,cAAc,CAAC;IAuG1B,aAAa,IAAI,UAAU;IAS3B,kBAAkB,IAAI,MAAM,EAAE;IAI9B,oBAAoB,IAAI,OAAO;CAGhC"}
@@ -8,74 +8,26 @@ import { z } from "zod";
8
8
  declare const valueOptions: z.ZodObject<{
9
9
  useSchemaRegistry: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
10
10
  subject: z.ZodOptional<z.ZodString>;
11
- }, "strip", z.ZodTypeAny, {
12
- useSchemaRegistry: boolean;
13
- subject?: string | undefined;
14
- }, {
15
- subject?: string | undefined;
16
- useSchemaRegistry?: boolean | undefined;
17
- }>;
11
+ }, z.core.$strip>;
18
12
  declare const keyOptions: z.ZodObject<{
19
13
  useSchemaRegistry: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
20
14
  subject: z.ZodOptional<z.ZodString>;
21
- }, "strip", z.ZodTypeAny, {
22
- useSchemaRegistry: boolean;
23
- subject?: string | undefined;
24
- }, {
25
- subject?: string | undefined;
26
- useSchemaRegistry?: boolean | undefined;
27
- }>;
15
+ }, z.core.$strip>;
28
16
  type ValueOptions = z.infer<typeof valueOptions>;
29
17
  type KeyOptions = z.infer<typeof keyOptions>;
30
18
  export declare const consumeKafkaMessagesArgs: z.ZodObject<{
31
- topicNames: z.ZodArray<z.ZodString, "atleastone">;
19
+ topicNames: z.ZodArray<z.ZodString>;
32
20
  maxMessages: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
33
21
  timeoutMs: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
34
22
  value: z.ZodObject<{
35
23
  useSchemaRegistry: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
36
24
  subject: z.ZodOptional<z.ZodString>;
37
- }, "strip", z.ZodTypeAny, {
38
- useSchemaRegistry: boolean;
39
- subject?: string | undefined;
40
- }, {
41
- subject?: string | undefined;
42
- useSchemaRegistry?: boolean | undefined;
43
- }>;
25
+ }, z.core.$strip>;
44
26
  key: z.ZodOptional<z.ZodObject<{
45
27
  useSchemaRegistry: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
46
28
  subject: z.ZodOptional<z.ZodString>;
47
- }, "strip", z.ZodTypeAny, {
48
- useSchemaRegistry: boolean;
49
- subject?: string | undefined;
50
- }, {
51
- subject?: string | undefined;
52
- useSchemaRegistry?: boolean | undefined;
53
- }>>;
54
- }, "strip", z.ZodTypeAny, {
55
- value: {
56
- useSchemaRegistry: boolean;
57
- subject?: string | undefined;
58
- };
59
- topicNames: [string, ...string[]];
60
- maxMessages: number;
61
- timeoutMs: number;
62
- key?: {
63
- useSchemaRegistry: boolean;
64
- subject?: string | undefined;
65
- } | undefined;
66
- }, {
67
- value: {
68
- subject?: string | undefined;
69
- useSchemaRegistry?: boolean | undefined;
70
- };
71
- topicNames: [string, ...string[]];
72
- key?: {
73
- subject?: string | undefined;
74
- useSchemaRegistry?: boolean | undefined;
75
- } | undefined;
76
- maxMessages?: number | undefined;
77
- timeoutMs?: number | undefined;
78
- }>;
29
+ }, z.core.$strip>>;
30
+ }, z.core.$strip>;
79
31
  interface ProcessedMessage {
80
32
  key: unknown;
81
33
  value: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"consume-kafka-messages-handler.d.ts","sourceRoot":"","sources":["../../../../../src/confluent/tools/handlers/kafka/consume-kafka-messages-handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAa,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAKjE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EACL,eAAe,EACf,UAAU,EACX,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAkBxB,QAAA,MAAM,YAAY;;;;;;;;;EAA4C,CAAC;AAC/D,QAAA,MAAM,UAAU;;;;;;;;;EAA4C,CAAC;AAE7D,KAAK,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AACjD,KAAK,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AAE7C,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuBnC,CAAC;AAEH,UAAU,gBAAgB;IACxB,GAAG,EAAE,OAAO,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;;;GAIG;AACH,qBAAa,2BAA4B,SAAQ,eAAe;IAC9D;;;;;;;;;OASG;IACG,cAAc,CAClB,KAAK,EAAE,MAAM,EACb,SAAS,EAAE,MAAM,EACjB,OAAO,EAAE,YAAY,EACrB,QAAQ,EAAE,oBAAoB,GAAG,SAAS,EAC1C,YAAY,EAAE,YAAY,EAC1B,UAAU,CAAC,EAAE,UAAU,GACtB,OAAO,CAAC,gBAAgB,CAAC;IAmE5B;;;;;;OAMG;IACG,MAAM,CACV,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,EACvD,SAAS,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,cAAc,CAAC;IA8E1B,aAAa,IAAI,UAAU;IAS3B,kBAAkB,IAAI,MAAM,EAAE;CAG/B"}
1
+ {"version":3,"file":"consume-kafka-messages-handler.d.ts","sourceRoot":"","sources":["../../../../../src/confluent/tools/handlers/kafka/consume-kafka-messages-handler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,iDAAiD,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAa,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAA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GACjB,OAAO,CAAC,cAAc,CAAC;IA8E1B,aAAa,IAAI,UAAU;IAS3B,kBAAkB,IAAI,MAAM,EAAE;CAG/B"}
@@ -1,11 +1,18 @@
1
1
  import { z } from "zod";
2
2
  export declare const combinedSchema: z.ZodObject<{
3
- HTTP_PORT: z.ZodDefault<z.ZodNumber>;
3
+ HTTP_PORT: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
4
4
  HTTP_HOST: z.ZodDefault<z.ZodString>;
5
5
  HTTP_MCP_ENDPOINT_PATH: z.ZodDefault<z.ZodString>;
6
6
  SSE_MCP_ENDPOINT_PATH: z.ZodDefault<z.ZodString>;
7
7
  SSE_MCP_MESSAGE_ENDPOINT_PATH: z.ZodDefault<z.ZodString>;
8
- LOG_LEVEL: z.ZodDefault<z.ZodEffects<z.ZodEnum<["info" | "fatal" | "error" | "warn" | "debug" | "trace", ...("info" | "fatal" | "error" | "warn" | "debug" | "trace")[]]>, "info" | "fatal" | "error" | "warn" | "debug" | "trace", unknown>>;
8
+ LOG_LEVEL: z.ZodDefault<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodEnum<{
9
+ info: "info";
10
+ fatal: "fatal";
11
+ error: "error";
12
+ warn: "warn";
13
+ debug: "debug";
14
+ trace: "trace";
15
+ }>>>;
9
16
  BOOTSTRAP_SERVERS: z.ZodOptional<z.ZodString>;
10
17
  KAFKA_API_KEY: z.ZodOptional<z.ZodString>;
11
18
  KAFKA_API_SECRET: z.ZodOptional<z.ZodString>;
@@ -17,7 +24,6 @@ export declare const combinedSchema: z.ZodObject<{
17
24
  SCHEMA_REGISTRY_API_SECRET: z.ZodOptional<z.ZodString>;
18
25
  TABLEFLOW_API_KEY: z.ZodOptional<z.ZodString>;
19
26
  TABLEFLOW_API_SECRET: z.ZodOptional<z.ZodString>;
20
- } & {
21
27
  FLINK_ENV_ID: z.ZodOptional<z.ZodString>;
22
28
  FLINK_ORG_ID: z.ZodOptional<z.ZodString>;
23
29
  FLINK_REST_ENDPOINT: z.ZodOptional<z.ZodString>;
@@ -29,64 +35,6 @@ export declare const combinedSchema: z.ZodObject<{
29
35
  CONFLUENT_CLOUD_REST_ENDPOINT: z.ZodOptional<z.ZodDefault<z.ZodString>>;
30
36
  SCHEMA_REGISTRY_ENDPOINT: z.ZodOptional<z.ZodString>;
31
37
  KAFKA_REST_ENDPOINT: z.ZodOptional<z.ZodString>;
32
- }, "strip", z.ZodTypeAny, {
33
- LOG_LEVEL: "info" | "fatal" | "error" | "warn" | "debug" | "trace";
34
- HTTP_PORT: number;
35
- HTTP_HOST: string;
36
- HTTP_MCP_ENDPOINT_PATH: string;
37
- SSE_MCP_ENDPOINT_PATH: string;
38
- SSE_MCP_MESSAGE_ENDPOINT_PATH: string;
39
- BOOTSTRAP_SERVERS?: string | undefined;
40
- KAFKA_API_KEY?: string | undefined;
41
- KAFKA_API_SECRET?: string | undefined;
42
- FLINK_API_KEY?: string | undefined;
43
- FLINK_API_SECRET?: string | undefined;
44
- CONFLUENT_CLOUD_API_KEY?: string | undefined;
45
- CONFLUENT_CLOUD_API_SECRET?: string | undefined;
46
- SCHEMA_REGISTRY_API_KEY?: string | undefined;
47
- SCHEMA_REGISTRY_API_SECRET?: string | undefined;
48
- TABLEFLOW_API_KEY?: string | undefined;
49
- TABLEFLOW_API_SECRET?: string | undefined;
50
- FLINK_ENV_ID?: string | undefined;
51
- FLINK_ORG_ID?: string | undefined;
52
- FLINK_REST_ENDPOINT?: string | undefined;
53
- FLINK_COMPUTE_POOL_ID?: string | undefined;
54
- FLINK_ENV_NAME?: string | undefined;
55
- FLINK_DATABASE_NAME?: string | undefined;
56
- KAFKA_CLUSTER_ID?: string | undefined;
57
- KAFKA_ENV_ID?: string | undefined;
58
- CONFLUENT_CLOUD_REST_ENDPOINT?: string | undefined;
59
- SCHEMA_REGISTRY_ENDPOINT?: string | undefined;
60
- KAFKA_REST_ENDPOINT?: string | undefined;
61
- }, {
62
- LOG_LEVEL?: unknown;
63
- HTTP_PORT?: number | undefined;
64
- HTTP_HOST?: string | undefined;
65
- HTTP_MCP_ENDPOINT_PATH?: string | undefined;
66
- SSE_MCP_ENDPOINT_PATH?: string | undefined;
67
- SSE_MCP_MESSAGE_ENDPOINT_PATH?: string | undefined;
68
- BOOTSTRAP_SERVERS?: string | undefined;
69
- KAFKA_API_KEY?: string | undefined;
70
- KAFKA_API_SECRET?: string | undefined;
71
- FLINK_API_KEY?: string | undefined;
72
- FLINK_API_SECRET?: string | undefined;
73
- CONFLUENT_CLOUD_API_KEY?: string | undefined;
74
- CONFLUENT_CLOUD_API_SECRET?: string | undefined;
75
- SCHEMA_REGISTRY_API_KEY?: string | undefined;
76
- SCHEMA_REGISTRY_API_SECRET?: string | undefined;
77
- TABLEFLOW_API_KEY?: string | undefined;
78
- TABLEFLOW_API_SECRET?: string | undefined;
79
- FLINK_ENV_ID?: string | undefined;
80
- FLINK_ORG_ID?: string | undefined;
81
- FLINK_REST_ENDPOINT?: string | undefined;
82
- FLINK_COMPUTE_POOL_ID?: string | undefined;
83
- FLINK_ENV_NAME?: string | undefined;
84
- FLINK_DATABASE_NAME?: string | undefined;
85
- KAFKA_CLUSTER_ID?: string | undefined;
86
- KAFKA_ENV_ID?: string | undefined;
87
- CONFLUENT_CLOUD_REST_ENDPOINT?: string | undefined;
88
- SCHEMA_REGISTRY_ENDPOINT?: string | undefined;
89
- KAFKA_REST_ENDPOINT?: string | undefined;
90
- }>;
38
+ }, z.core.$strip>;
91
39
  export type EnvVar = keyof z.infer<typeof combinedSchema>;
92
40
  //# sourceMappingURL=env-schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"env-schema.d.ts","sourceRoot":"","sources":["../src/env-schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuNxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAgC,CAAC;AAG5D,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"env-schema.d.ts","sourceRoot":"","sources":["../src/env-schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAuNxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAgC,CAAC;AAG5D,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC"}
package/dist/env.d.ts CHANGED
@@ -11,12 +11,12 @@ export declare function loadEnv(): Promise<Environment>;
11
11
  */
12
12
  export declare function initEnv(): Promise<Environment>;
13
13
  declare const env: {
14
- LOG_LEVEL: "info" | "fatal" | "error" | "warn" | "debug" | "trace";
15
14
  HTTP_PORT: number;
16
15
  HTTP_HOST: string;
17
16
  HTTP_MCP_ENDPOINT_PATH: string;
18
17
  SSE_MCP_ENDPOINT_PATH: string;
19
18
  SSE_MCP_MESSAGE_ENDPOINT_PATH: string;
19
+ LOG_LEVEL: "info" | "fatal" | "error" | "warn" | "debug" | "trace";
20
20
  BOOTSTRAP_SERVERS?: string | undefined;
21
21
  KAFKA_API_KEY?: string | undefined;
22
22
  KAFKA_API_SECRET?: string | undefined;
package/dist/logger.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { KafkaJS } from "@confluentinc/kafka-javascript";
2
- export declare const logger: import("pino").Logger<never, boolean>;
2
+ import pino from "pino";
3
+ export declare const logger: pino.Logger<never, boolean>;
3
4
  export declare const kafkaLogger: KafkaJS.Logger;
4
5
  export declare const logLevels: {
5
6
  readonly fatal: 60;
@@ -1 +1 @@
1
- {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AAMzD,eAAO,MAAM,MAAM,uCAclB,CAAC;AA4CF,eAAO,MAAM,WAAW,EAAE,OAAO,CAAC,MAA2C,CAAC;AAG9E,eAAO,MAAM,SAAS;;;;;;;CAOZ,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,SAAS,CAAC;AAG9C,wBAAgB,WAAW,CAAC,KAAK,EAAE,QAAQ,QAE1C"}
1
+ {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AACzD,OAAO,IAAI,MAAM,MAAM,CAAC;AAKxB,eAAO,MAAM,MAAM,6BAclB,CAAC;AA4CF,eAAO,MAAM,WAAW,EAAE,OAAO,CAAC,MAA2C,CAAC;AAG9E,eAAO,MAAM,SAAS;;;;;;;CAOZ,CAAC;AAEX,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,SAAS,CAAC;AAG9C,wBAAgB,WAAW,CAAC,KAAK,EAAE,QAAQ,QAE1C"}
package/dist/logger.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { KafkaJS } from "@confluentinc/kafka-javascript";
2
- import { pino } from "pino";
2
+ import pino from "pino";
3
3
  const logLevel = process.env.LOG_LEVEL || "info";
4
4
  // Create logger with stderr destination
5
5
  export const logger = pino({
@@ -1 +1 @@
1
- {"version":3,"file":"logger.js","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gCAAgC,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,MAAM,CAAC;AAEjD,wCAAwC;AACxC,MAAM,CAAC,MAAM,MAAM,GAAG,IAAI,CACxB;IACE,KAAK,EAAE,QAAQ;IACf,SAAS,EAAE,IAAI,CAAC,gBAAgB,CAAC,OAAO;IACxC,IAAI,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AAE,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,IAAI,EAAE,CAAC,OAAe,EAAE,GAAG,IAAe,EAAE,EAAE;YAC5C,WAAW,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;QACtC,CAAC;QACD,KAAK,EAAE,CAAC,OAAe,EAAE,GAAG,IAAe,EAAE,EAAE;YAC7C,WAAW,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAC;QACvC,CAAC;QACD,WAAW,EAAE,CAAC,KAAuB,EAAE,EAAE;YACvC,WAAW,CAAC,KAAK,GAAG,QAAQ,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC;QAChD,CAAC;KACF,CAAC;AACJ,CAAC,CAAC;AAEF,+BAA+B;AAC/B,MAAM,CAAC,MAAM,WAAW,GAAmB,iBAAiB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAE9E,oCAAoC;AACpC,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,EAAE;IACT,IAAI,EAAE,EAAE;IACR,IAAI,EAAE,EAAE;IACR,KAAK,EAAE,EAAE;IACT,KAAK,EAAE,EAAE;CACD,CAAC;AAIX,uEAAuE;AACvE,MAAM,UAAU,WAAW,CAAC,KAAe;IACzC,MAAM,CAAC,KAAK,GAAG,KAAK,CAAC;AACvB,CAAC"}
@@ -55,8 +55,8 @@ function formatTableRow(key, schema) {
55
55
  const isRequired = !(schema instanceof z.ZodOptional);
56
56
  // Extract default value if exists
57
57
  if (schema instanceof z.ZodDefault) {
58
- defaultValue = JSON.stringify(schema._def.defaultValue());
59
- schema = schema.removeDefault();
58
+ defaultValue = JSON.stringify(schema.def.defaultValue);
59
+ schema = schema.unwrap();
60
60
  }
61
61
  // Add type information to description if not empty
62
62
  const typeInfo = getTypeInfo(schema);
@@ -1 +1 @@
1
- {"version":3,"file":"print-md-schema.js","sourceRoot":"","sources":["../src/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,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@confluentinc/mcp-confluent",
3
3
  "description": "Confluent MCP Server",
4
- "version": "1.0.6",
4
+ "version": "1.1.0",
5
5
  "author": "Confluent Inc.",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -36,6 +36,7 @@
36
36
  "format": "prettier --write \"**/*.+(js|ts|json)\"",
37
37
  "build": "tsc && tsc-alias",
38
38
  "print:schema": "node dist/print-md-schema.js",
39
+ "inspector": "npx @modelcontextprotocol/inspector node dist/index.js --env-file .env",
39
40
  "prepare": "husky"
40
41
  },
41
42
  "devDependencies": {
@@ -64,14 +65,16 @@
64
65
  "@confluentinc/schemaregistry": "^1.3.1",
65
66
  "@fastify/swagger": "^9.5.1",
66
67
  "@fastify/swagger-ui": "^5.2.3",
67
- "@modelcontextprotocol/sdk": "^1.13.1",
68
+ "@modelcontextprotocol/sdk": "^1.23.1",
68
69
  "commander": "^14.0.0",
69
70
  "dotenv": "^16.5.0",
70
71
  "fastify": "^5.4.0",
71
72
  "openapi-fetch": "^0.14.0",
72
- "pino": "^9.7.0",
73
- "properties-file": "^3.5.12",
74
- "zod": "^3.25.67"
73
+ "pino": "^10.1.0",
74
+ "properties-file": "^3.5.12"
75
+ },
76
+ "overrides": {
77
+ "zod": "^4.0"
75
78
  },
76
79
  "files": [
77
80
  "dist"