easy-mcp-nest 0.1.2 → 0.1.3

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.
Files changed (2) hide show
  1. package/README.md +9 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -189,12 +189,16 @@ process.on('SIGINT', async () => {
189
189
  - `McpConfig` - Main configuration interface
190
190
  - `ToolRegistrationInput` - Tool definition interface
191
191
  - `ServerInfo` - Optional server information
192
- - `JsonRpcRequest`, `JsonRpcResponse` - JSON-RPC 2.0 types
192
+ - `JsonRpcRequest`, `JsonRpcResponse`, `JsonRpcError` - JSON-RPC 2.0 types
193
+ - `JsonRpcErrorCode` - JSON-RPC 2.0 error code enum
193
194
  - `InitializeParams`, `InitializeResult` - MCP initialize types
194
195
  - `ListToolsResult`, `McpTool` - MCP tools types
195
196
  - `CallToolParams`, `CallToolResult` - MCP tool call types
196
197
  - `ToolDefinition`, `ToolParameter`, `ToolFunction` - Tool interfaces
197
198
  - `IInterfaceLayer` - Interface layer interface
199
+ - `McpErrorCode` - MCP error code enum
200
+ - `VERSION`, `PACKAGE_NAME`, `getVersion()`, `getPackageName()` - Version information utilities
201
+ - `INTERFACE_LAYER_TOKEN` - Token for accessing the interface layer (advanced use cases)
198
202
 
199
203
  ## Architecture
200
204
 
@@ -392,6 +396,8 @@ Enable debug logging to troubleshoot issues:
392
396
 
393
397
  ```bash
394
398
  DEBUG=1 node your-server.js
399
+ # or
400
+ DEBUG=true node your-server.js
395
401
  ```
396
402
 
397
403
  Debug mode provides detailed information about:
@@ -400,6 +406,8 @@ Debug mode provides detailed information about:
400
406
  - Protocol version validation
401
407
  - Argument validation
402
408
 
409
+ **Note**: The `DEBUG` environment variable accepts either `'1'` or `'true'` (case-sensitive) to enable debug logging.
410
+
403
411
  ## Examples
404
412
 
405
413
  See the `examples/` directory for complete working examples.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-mcp-nest",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "A NestJS-based framework for building standard Model Context Protocol (MCP) servers with tool execution via JSON-RPC 2.0",
5
5
  "author": "Nir Arazi",
6
6
  "license": "MIT",