mcp-zenskar 1.0.0 → 1.0.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-zenskar",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Model Context Protocol (MCP) server for Zenskar API - customer management, invoicing, and billing operations",
5
5
  "type": "module",
6
6
  "main": "src/server.js",
@@ -4037,7 +4037,7 @@
4037
4037
  },
4038
4038
  {
4039
4039
  "name": "dataschema",
4040
- "description": "Data schema of raw metric (JSON object).",
4040
+ "description": "Data schema of raw metric (JSON object). Must include 'timestamp' and 'customer_id' fields. Supported data types: Bool, UUID, Int64, Date32, String, Decimal, Float64, DateTime64. Example: {\"data\": {\"field1\": \"String\", \"field2\": \"Int64\"}, \"timestamp\": \"DateTime64\", \"customer_id\": \"String\"}",
4041
4041
  "type": "object",
4042
4042
  "required": true,
4043
4043
  "position": "body"
package/src/server.js CHANGED
@@ -217,13 +217,11 @@ class ZenskarMcpServer {
217
217
  }
218
218
  }
219
219
 
220
- // Start the server
221
- if (import.meta.url === `file://${process.argv[1]}`) {
222
- const server = new ZenskarMcpServer();
223
- server.run().catch(error => {
224
- logger.error('Failed to start server:', error);
225
- process.exit(1);
226
- });
227
- }
220
+ // Start the server when run directly
221
+ const server = new ZenskarMcpServer();
222
+ server.run().catch(error => {
223
+ logger.error('Failed to start server:', error);
224
+ process.exit(1);
225
+ });
228
226
 
229
227
  export default ZenskarMcpServer;