paput-mcp 2.5.0 → 2.6.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.
- package/README.md +35 -6
- package/dist/cli/index.js +29 -1
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/login.js +385 -0
- package/dist/cli/login.js.map +1 -0
- package/dist/cli/logout.js +65 -0
- package/dist/cli/logout.js.map +1 -0
- package/dist/handlers/create-memo/handler.js +3 -23
- package/dist/handlers/create-memo/handler.js.map +1 -1
- package/dist/handlers/memo-projects.js +29 -0
- package/dist/handlers/memo-projects.js.map +1 -0
- package/dist/handlers/update-memo/handler.js +3 -23
- package/dist/handlers/update-memo/handler.js.map +1 -1
- package/dist/http.js +7 -3
- package/dist/http.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/schemas/tool-input.js +16 -0
- package/dist/schemas/tool-input.js.map +1 -1
- package/dist/server.js +5 -2
- package/dist/server.js.map +1 -1
- package/dist/services/api/client.js +7 -7
- package/dist/services/api/client.js.map +1 -1
- package/dist/services/oauth/local-auth.js +128 -0
- package/dist/services/oauth/local-auth.js.map +1 -0
- package/dist/tool.js +21 -7
- package/dist/tool.js.map +1 -1
- package/docs/directory-submission.md +15 -4
- package/docs/privacy-policy.md +5 -4
- package/docs/tools.md +11 -0
- package/docs/usage-examples.md +28 -5
- package/package.json +1 -1
package/docs/privacy-policy.md
CHANGED
|
@@ -9,7 +9,7 @@ PaPut MCP Server connects AI assistants and MCP clients to PaPut through the Mod
|
|
|
9
9
|
Depending on the tools you use, the server may process:
|
|
10
10
|
|
|
11
11
|
- PaPut memos, notes, categories, skill sheet data, and related project metadata.
|
|
12
|
-
- OAuth access tokens
|
|
12
|
+
- OAuth access tokens used to authenticate requests to PaPut.
|
|
13
13
|
- MCP request and response metadata needed to execute tool calls.
|
|
14
14
|
- Local Claude or Codex session metadata and transcripts when you explicitly use local knowledge capture tools.
|
|
15
15
|
- Local pending knowledge candidates and cache data stored on your device.
|
|
@@ -28,15 +28,15 @@ Data is used only to provide the MCP tools you invoke, including:
|
|
|
28
28
|
|
|
29
29
|
Remote MCP connections use OAuth. PaPut issues tokens after you sign in and approve the requested scopes. The MCP server receives bearer tokens on requests and forwards them to the PaPut API. The MCP server does not intentionally persist OAuth access tokens.
|
|
30
30
|
|
|
31
|
-
Local stdio usage
|
|
31
|
+
Local stdio usage uses OAuth tokens created by `paput-mcp login`. You are responsible for keeping local token and configuration files private.
|
|
32
32
|
|
|
33
33
|
## Local Data
|
|
34
34
|
|
|
35
|
-
When local knowledge capture features are used, PaPut MCP may store cache files under `~/.paput` or a configured cache directory. This local data can include synced memo summaries, pending knowledge candidates, processed session markers, and
|
|
35
|
+
When local knowledge capture features are used, PaPut MCP may store cache files under `~/.paput` or a configured cache directory. This local data can include synced memo summaries, pending knowledge candidates, processed session markers, session metadata, and local OAuth tokens created by `paput-mcp login`. The default OAuth token directory is created with `0700` permissions and the token file is written with `0600` permissions. It remains on your device unless you choose to save a pending candidate to PaPut or remove the local token cache with `paput-mcp logout`.
|
|
36
36
|
|
|
37
37
|
## Logging
|
|
38
38
|
|
|
39
|
-
Hosted infrastructure and MCP clients may record operational logs such as request timestamps, status codes, errors, and connection metadata. Logs are used for reliability, troubleshooting, abuse prevention, and security. The server is designed not to log
|
|
39
|
+
Hosted infrastructure and MCP clients may record operational logs such as request timestamps, status codes, errors, and connection metadata. Logs are used for reliability, troubleshooting, abuse prevention, and security. The server is designed not to log OAuth tokens or full private content intentionally.
|
|
40
40
|
|
|
41
41
|
## Sharing
|
|
42
42
|
|
|
@@ -49,6 +49,7 @@ You can:
|
|
|
49
49
|
- Revoke OAuth access from PaPut account settings when available.
|
|
50
50
|
- Remove local MCP configuration from your client.
|
|
51
51
|
- Delete local cache data stored under `~/.paput` or your configured cache directory.
|
|
52
|
+
- Run `paput-mcp logout` to revoke and remove the local OAuth token cache.
|
|
52
53
|
- Delete or update PaPut content using PaPut or authorized MCP tools.
|
|
53
54
|
|
|
54
55
|
## Security
|
package/docs/tools.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
PaPut MCP is a data-only MCP server. It exposes tools and resources for PaPut data. It does not provide UI widgets.
|
|
4
4
|
|
|
5
|
+
Remote HTTP mode exposes API-backed PaPut tools only. Local cache, pending
|
|
6
|
+
candidate, and session transcript tools are available in local CLI mode because
|
|
7
|
+
they read or write files on the user's device.
|
|
8
|
+
|
|
5
9
|
## Confirmation Policy
|
|
6
10
|
|
|
7
11
|
Clients and assistants should follow these rules:
|
|
@@ -25,6 +29,10 @@ Clients and assistants should follow these rules:
|
|
|
25
29
|
| `paput_update_memo` | Destructive/write | Update an existing memo title, body, visibility, categories, or linked projects. |
|
|
26
30
|
| `paput_get_categories` | Read-only | List categories before assigning categories or checking duplicates. |
|
|
27
31
|
|
|
32
|
+
`paput_create_memo` and `paput_update_memo` can link projects through explicit
|
|
33
|
+
`projects`, a `project_match` input, or local `PAPUT_PROJECT_MATCH` in local CLI
|
|
34
|
+
mode.
|
|
35
|
+
|
|
28
36
|
## Note Tools
|
|
29
37
|
|
|
30
38
|
| Tool | Safety | Use case |
|
|
@@ -47,6 +55,9 @@ Clients and assistants should follow these rules:
|
|
|
47
55
|
|
|
48
56
|
## Knowledge Capture And Local Cache Tools
|
|
49
57
|
|
|
58
|
+
These tools are local CLI mode only. They are not listed by the remote HTTP MCP
|
|
59
|
+
server.
|
|
60
|
+
|
|
50
61
|
| Tool | Safety | Use case |
|
|
51
62
|
| --------------------------------- | ---------------------------- | ----------------------------------------------------------------------------- |
|
|
52
63
|
| `paput_cache_status` | Read-only | Inspect local cache, pending candidates, processed sessions, and sync status. |
|
package/docs/usage-examples.md
CHANGED
|
@@ -2,7 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
These examples show typical ways to use PaPut MCP from an AI assistant.
|
|
4
4
|
|
|
5
|
-
## 1.
|
|
5
|
+
## 1. Create A Memo From A Remote MCP Client
|
|
6
|
+
|
|
7
|
+
Prompt:
|
|
8
|
+
|
|
9
|
+
```text
|
|
10
|
+
Create a private PaPut memo summarizing this conversation.
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Expected tool flow:
|
|
14
|
+
|
|
15
|
+
1. `paput_create_memo`
|
|
16
|
+
2. `paput_search_memo` or `paput_get_memo` when the user wants to verify the result
|
|
17
|
+
|
|
18
|
+
Use case: quickly save useful content from Claude, ChatGPT, Codex, or another remote MCP client.
|
|
19
|
+
|
|
20
|
+
## 2. Search Existing Memos Before Creating Knowledge
|
|
6
21
|
|
|
7
22
|
Prompt:
|
|
8
23
|
|
|
@@ -18,7 +33,10 @@ Expected tool flow:
|
|
|
18
33
|
|
|
19
34
|
Use case: avoid duplicate long-term knowledge while preserving useful decisions from engineering work.
|
|
20
35
|
|
|
21
|
-
|
|
36
|
+
Local mode note: `paput_add_knowledge_candidates` and pending review tools are
|
|
37
|
+
local CLI mode tools.
|
|
38
|
+
|
|
39
|
+
## 3. Capture Reusable Knowledge From A Codex Session
|
|
22
40
|
|
|
23
41
|
Prompt:
|
|
24
42
|
|
|
@@ -34,7 +52,10 @@ Expected tool flow:
|
|
|
34
52
|
|
|
35
53
|
Use case: turn completed development work into reviewable knowledge without immediately publishing it to PaPut.
|
|
36
54
|
|
|
37
|
-
|
|
55
|
+
Local mode note: session scanning and transcript reading are local CLI mode
|
|
56
|
+
tools.
|
|
57
|
+
|
|
58
|
+
## 4. Save An Approved Pending Candidate
|
|
38
59
|
|
|
39
60
|
Prompt:
|
|
40
61
|
|
|
@@ -50,7 +71,9 @@ Expected tool flow:
|
|
|
50
71
|
|
|
51
72
|
Use case: keep the user in control before creating a permanent PaPut memo.
|
|
52
73
|
|
|
53
|
-
|
|
74
|
+
Local mode note: pending candidate tools are local CLI mode tools.
|
|
75
|
+
|
|
76
|
+
## 5. Update A Skill Sheet Project
|
|
54
77
|
|
|
55
78
|
Prompt:
|
|
56
79
|
|
|
@@ -66,7 +89,7 @@ Expected tool flow:
|
|
|
66
89
|
|
|
67
90
|
Use case: maintain an accurate skill sheet after project milestones.
|
|
68
91
|
|
|
69
|
-
##
|
|
92
|
+
## 6. Organize Memos Into A Note
|
|
70
93
|
|
|
71
94
|
Prompt:
|
|
72
95
|
|