workfullcircle-mcp-local 1.3.1 → 1.4.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.
Files changed (2) hide show
  1. package/index.js +0 -10
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -6,8 +6,6 @@ const fetch = require('node-fetch');
6
6
  const args = process.argv.slice(2);
7
7
 
8
8
  function printUsage() {
9
- process.stderr.write('Usage: workfullcircle-mcp-local --token <api-token> [--url <api-url>]\n');
10
- process.stderr.write('Environment variables: WFC_API_URL (default: https://workfullcircle.com)\n');
11
9
  process.exit(1);
12
10
  }
13
11
 
@@ -33,7 +31,6 @@ function parseArgs(argv) {
33
31
  }
34
32
 
35
33
  if (!parsed.token) {
36
- process.stderr.write('Error: --token argument or WFC_TOKEN environment variable is required\n');
37
34
  printUsage();
38
35
  }
39
36
 
@@ -63,7 +60,6 @@ async function handleStdio() {
63
60
  try {
64
61
  payload = JSON.parse(line);
65
62
  } catch (error) {
66
- process.stderr.write(`[WFC-Local] Invalid JSON input: ${error.message}\n`);
67
63
  continue;
68
64
  }
69
65
 
@@ -81,7 +77,6 @@ async function handleStdio() {
81
77
  const responseText = await response.text();
82
78
 
83
79
  if (!response.ok) {
84
- process.stderr.write(`[WFC-Local] Remote error ${response.status}: ${responseText}\n`);
85
80
  continue;
86
81
  }
87
82
 
@@ -90,19 +85,14 @@ async function handleStdio() {
90
85
  JSON.parse(responseText);
91
86
  process.stdout.write(`${responseText}\n`);
92
87
  } catch (jsonError) {
93
- process.stderr.write(`[WFC-Local] Invalid JSON response: ${jsonError.message}\n`);
94
- process.stderr.write(`[WFC-Local] Response was: ${responseText.substring(0, 200)}...\n`);
95
88
  }
96
89
  } catch (error) {
97
- process.stderr.write(`[WFC-Local] Request failed: ${error.message}\n`);
98
90
  }
99
91
  }
100
92
  });
101
93
  }
102
94
 
103
95
  async function main() {
104
- process.stderr.write(`[WFC-Local] Connected to MCP server at ${API_URL}\n`);
105
- process.stderr.write(`[WFC-Local] Using token: ${API_TOKEN.substring(0, 10)}...\n`);
106
96
  await handleStdio();
107
97
  }
108
98
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "workfullcircle-mcp-local",
4
- "version": "1.3.1",
4
+ "version": "1.4.0",
5
5
  "description": "Local STDIO MCP server for WorkFullCircle API with Antigravity path fixes",
6
6
  "main": "index.js",
7
7
  "bin": {