workfullcircle-mcp 2.0.2 → 2.0.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.
- package/README.md +4 -7
- package/package.json +1 -1
- package/src/config-writer.js +12 -5
package/README.md
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
# Install and configure automatically
|
|
9
9
|
npx workfullcircle-mcp install --token uam_your_token_here
|
|
10
10
|
|
|
11
|
-
# Or use the
|
|
12
|
-
npx workfullcircle-remote https://your-server.com
|
|
11
|
+
# Or use the Streamable HTTP bridge directly
|
|
12
|
+
npx workfullcircle-remote https://your-server.com --header "Authorization: Bearer uam_your_token"
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
## Environment Variables
|
|
@@ -19,11 +19,8 @@ Configure your MCP server with these environment variables:
|
|
|
19
19
|
### Required Variables
|
|
20
20
|
```bash
|
|
21
21
|
# WorkFullCircle API Configuration
|
|
22
|
-
WFC_API_URL=https://workfullcircle.com
|
|
23
|
-
WFC_API_KEY=uam_your_api_key_here
|
|
24
|
-
|
|
25
|
-
# For remote server connections
|
|
26
|
-
WFC_SSE_URL=https://workfullcircle.com/sse # SSE endpoint
|
|
22
|
+
WFC_API_URL=https://workfullcircle.com # Streamable HTTP endpoint
|
|
23
|
+
WFC_API_KEY=uam_your_api_key_here # Your API key
|
|
27
24
|
```
|
|
28
25
|
|
|
29
26
|
### Optional Variables
|
package/package.json
CHANGED
package/src/config-writer.js
CHANGED
|
@@ -2,13 +2,22 @@ const path = require('path');
|
|
|
2
2
|
const fs = require('fs');
|
|
3
3
|
const os = require('os');
|
|
4
4
|
|
|
5
|
+
function resolveAppData(home) {
|
|
6
|
+
return process.env.APPDATA || path.join(home, 'AppData', 'Roaming');
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
function getWindsurfConfigPath(home) {
|
|
10
|
+
return path.join(home, '.codeium', 'windsurf', 'mcp_config.json');
|
|
11
|
+
}
|
|
12
|
+
|
|
5
13
|
function getTargets() {
|
|
6
14
|
const home = os.homedir();
|
|
15
|
+
const appData = resolveAppData(home);
|
|
7
16
|
return [
|
|
8
17
|
{
|
|
9
18
|
name: 'Claude Desktop',
|
|
10
19
|
path: os.platform() === 'win32'
|
|
11
|
-
? path.join(
|
|
20
|
+
? path.join(appData, 'Claude', 'claude_desktop_config.json')
|
|
12
21
|
: path.join(home, 'Library', 'Application Support', 'Claude', 'claude_desktop_config.json')
|
|
13
22
|
},
|
|
14
23
|
{
|
|
@@ -17,14 +26,12 @@ function getTargets() {
|
|
|
17
26
|
},
|
|
18
27
|
{
|
|
19
28
|
name: 'Windsurf',
|
|
20
|
-
path:
|
|
21
|
-
? path.join(process.env.APPDATA || '', 'Windsurf', 'User', 'globalStorage', 'storage.json')
|
|
22
|
-
: path.join(home, '.windsurf', 'mcp.json')
|
|
29
|
+
path: getWindsurfConfigPath(home)
|
|
23
30
|
},
|
|
24
31
|
{
|
|
25
32
|
name: 'VS Code',
|
|
26
33
|
path: os.platform() === 'win32'
|
|
27
|
-
? path.join(
|
|
34
|
+
? path.join(appData, 'Code', 'User', 'globalStorage', 'storage.json')
|
|
28
35
|
: os.platform() === 'darwin'
|
|
29
36
|
? path.join(home, 'Library', 'Application Support', 'Code', 'User', 'globalStorage', 'storage.json')
|
|
30
37
|
: path.join(home, '.config', 'Code', 'User', 'globalStorage', 'storage.json')
|