taskr-mcp-client 1.0.0 → 1.0.1

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/index.js +7 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -25,6 +25,11 @@ const url = new URL(MCP_API_URL);
25
25
  const isHttps = url.protocol === 'https:';
26
26
  const httpModule = isHttps ? https : http;
27
27
 
28
+ // Create HTTPS agent with disabled certificate validation for Windows SSL issues
29
+ const httpsAgent = isHttps ? new https.Agent({
30
+ rejectUnauthorized: false
31
+ }) : null;
32
+
28
33
  // Read JSON-RPC requests from stdin, forward to HTTP endpoint, write responses to stdout
29
34
  const rl = readline.createInterface({
30
35
  input: process.stdin,
@@ -50,8 +55,8 @@ rl.on('line', async (line) => {
50
55
  'x-user-api-key': MCP_USER_API_KEY,
51
56
  'MCP-Protocol-Version': '2025-06-18'
52
57
  },
53
- // Disable SSL certificate validation (Windows SSL issues)
54
- rejectUnauthorized: false
58
+ // Use HTTPS agent with disabled certificate validation for Windows SSL issues
59
+ agent: httpsAgent
55
60
  };
56
61
 
57
62
  const req = httpModule.request(options, (res) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taskr-mcp-client",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "stdio to HTTP bridge for Taskr MCP server - connects Claude Code to HTTP-only JSON-RPC MCP endpoints",
5
5
  "main": "index.js",
6
6
  "bin": {