@goodfolder/mcp 0.1.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.
- package/LICENSE +661 -0
- package/README.md +45 -0
- package/dist/index.js +33342 -0
- package/package.json +34 -0
package/README.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# GoodFolder MCP server
|
|
2
|
+
|
|
3
|
+
The GoodFolder MCP server gives a compatible local agent the same folder
|
|
4
|
+
actions as the GoodFolder CLI: connect, Save, Sync, Timeline, Restore, and
|
|
5
|
+
Undo.
|
|
6
|
+
|
|
7
|
+
Connecting keeps the folder's local name exactly as it is. Changing the name
|
|
8
|
+
shown in GoodFolder is a separate, explicit `goodfolder_rename` action.
|
|
9
|
+
|
|
10
|
+
Install it with:
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm install -g @goodfolder/mcp
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Configure your agent to run `goodfolder-mcp` over stdio. The first connection
|
|
17
|
+
opens a browser so the person using the computer can approve it.
|
|
18
|
+
|
|
19
|
+
For Codex, add it once:
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
codex mcp add goodfolder -- goodfolder-mcp
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
For Claude Code, add it once:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
claude mcp add --scope user goodfolder -- goodfolder-mcp
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
For GoodFolder Hosted, the account must have an active trial or subscription
|
|
32
|
+
before a new folder can be connected.
|
|
33
|
+
|
|
34
|
+
## Running your own server
|
|
35
|
+
|
|
36
|
+
Set `GF_API_URL` in the MCP process environment, for example:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
codex mcp add goodfolder --env GF_API_URL=http://localhost:4100 -- goodfolder-mcp
|
|
40
|
+
claude mcp add --scope user goodfolder -e GF_API_URL=http://localhost:4100 -- goodfolder-mcp
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
The variable only decides where a folder's first connection goes. Once a
|
|
44
|
+
folder is connected, its own settings carry the server address, so the MCP
|
|
45
|
+
server keeps talking to the right one without the variable set.
|