@netpad/mcp-server 2.0.0 → 2.2.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/CHANGELOG.md +29 -0
- package/README.md +15 -0
- package/dist/index.js +2178 -388
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,35 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.0.1] - 2026-01-16
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
#### AI-Assisted Workflow Configuration
|
|
13
|
+
- Added `aiAssist` metadata to workflow node config fields, enabling AI-powered configuration generation in the NetPad UI
|
|
14
|
+
- Supported fields with AI assistance:
|
|
15
|
+
- `mongodb-query.filter` - Generate MongoDB queries from natural language
|
|
16
|
+
- `transform.expression` - Generate JavaScript transform expressions
|
|
17
|
+
- `http-request.url` - Generate API URLs dynamically
|
|
18
|
+
- `http-request.headers` - Generate HTTP headers
|
|
19
|
+
- `http-request.body` - Generate request payloads
|
|
20
|
+
- `email-send.to` - Generate recipient expressions
|
|
21
|
+
- `email-send.subject` - Generate email subjects
|
|
22
|
+
- `email-send.body` - Generate email content
|
|
23
|
+
- `ai-generate.prompt` - Generate AI prompts
|
|
24
|
+
- `ai-classify.categories` - Generate classification categories
|
|
25
|
+
- `ai-classify.instructions` - Generate classification instructions
|
|
26
|
+
- `code.code` - Generate JavaScript code
|
|
27
|
+
|
|
28
|
+
#### New Node Type
|
|
29
|
+
- Added `code` node type to `custom` category for executing custom JavaScript code
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
- Added `AIAssistConfig` and `NodeConfigFieldDefinition` type exports for external type checking
|
|
33
|
+
- Updated README with AI-assisted configuration documentation
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
8
37
|
## [2.0.0] - 2026-01-15
|
|
9
38
|
|
|
10
39
|
### Added
|
package/README.md
CHANGED
|
@@ -34,6 +34,7 @@ An MCP (Model Context Protocol) server for AI-assisted NetPad application develo
|
|
|
34
34
|
- **Logic Nodes**: Conditional routing, switch, filter, loop
|
|
35
35
|
- **Data Nodes**: Transform, code execution, variable management
|
|
36
36
|
- **Integrations**: MongoDB, HTTP, Email, Slack, Google Sheets
|
|
37
|
+
- **AI-Assisted Configuration**: Many node fields support AI generation (transforms, code, prompts, HTTP requests)
|
|
37
38
|
|
|
38
39
|
### Conversational Forms & RAG
|
|
39
40
|
- **AI-Powered Forms**: Natural language data collection
|
|
@@ -257,6 +258,20 @@ Pre-built automation patterns:
|
|
|
257
258
|
| `webhook-to-database` | Process webhooks to database |
|
|
258
259
|
| `scheduled-report` | Generate scheduled reports |
|
|
259
260
|
|
|
261
|
+
## AI-Assisted Node Configuration
|
|
262
|
+
|
|
263
|
+
Many workflow node fields support AI-powered configuration generation. The `aiAssist` metadata on config fields indicates which fields can use AI generation in the NetPad UI:
|
|
264
|
+
|
|
265
|
+
| Node Type | Field | AI Assistance |
|
|
266
|
+
|-----------|-------|---------------|
|
|
267
|
+
| `mongodb-query` | filter | Generate MongoDB queries from natural language |
|
|
268
|
+
| `transform` | expression | Generate JavaScript transforms |
|
|
269
|
+
| `http-request` | url, headers, body | Generate URLs, headers, and request bodies |
|
|
270
|
+
| `email-send` | to, subject, body | Generate email content |
|
|
271
|
+
| `ai-generate` | prompt | Generate AI prompts |
|
|
272
|
+
| `ai-classify` | categories, instructions | Generate classification rules |
|
|
273
|
+
| `code` | code | Generate JavaScript code |
|
|
274
|
+
|
|
260
275
|
## Resources
|
|
261
276
|
|
|
262
277
|
The server exposes documentation as MCP resources:
|