mcp-feedback 0.5.0 → 0.7.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 (42) hide show
  1. package/README.md +139 -2
  2. package/agentdist.json +40 -0
  3. package/dist/cli.d.ts +5 -0
  4. package/dist/cli.js +26 -3
  5. package/dist/conformance-cases.js +15 -4
  6. package/dist/drizzle.js +1 -0
  7. package/dist/index.d.ts +2 -2
  8. package/dist/index.js +2 -2
  9. package/dist/ingest/cli.d.ts +8 -0
  10. package/dist/ingest/cli.js +270 -0
  11. package/dist/ingest/github.d.ts +40 -0
  12. package/dist/ingest/github.js +80 -0
  13. package/dist/ingest/handler.d.ts +84 -0
  14. package/dist/ingest/handler.js +447 -0
  15. package/dist/ingest/index.d.ts +3 -0
  16. package/dist/ingest/index.js +5 -0
  17. package/dist/ingest/protocol.d.ts +203 -0
  18. package/dist/ingest/protocol.js +78 -0
  19. package/dist/ingest/tokens.d.ts +84 -0
  20. package/dist/ingest/tokens.js +163 -0
  21. package/dist/install.d.ts +3 -0
  22. package/dist/install.js +27 -0
  23. package/dist/reader.js +6 -1
  24. package/dist/register.d.ts +36 -4
  25. package/dist/register.js +45 -21
  26. package/dist/remote.d.ts +66 -0
  27. package/dist/remote.js +399 -0
  28. package/dist/store.d.ts +17 -0
  29. package/dist/store.js +5 -0
  30. package/dist/stores/memory.js +3 -1
  31. package/dist/stores/sql.js +5 -0
  32. package/dist/tools.d.ts +8 -1
  33. package/dist/tools.js +28 -7
  34. package/dist/types.d.ts +4 -0
  35. package/package.json +15 -2
  36. package/skills/add-feedback-to-mcp-server/SKILL.md +179 -0
  37. package/skills/add-feedback-to-mcp-server/references/feedback-section.md +57 -0
  38. package/skills/add-feedback-to-mcp-server/references/remote-ingest.md +84 -0
  39. package/skills/read-feedback/SKILL.md +99 -0
  40. package/skills/read-feedback/references/connecting.md +84 -0
  41. package/skills/set-up-feedback-reading/SKILL.md +60 -0
  42. package/skills/set-up-feedback-reading/references/project-reference.md +48 -0
@@ -0,0 +1,48 @@
1
+ # A project's local feedback reference
2
+
3
+ The template below becomes the file a project keeps about its own feedback. Sessions load it with the `read-feedback` skill.
4
+
5
+ - Fill in every `<...>` from what you found, and delete lines and sections that do not apply.
6
+ - Mark a fact you could not establish as unknown; do not guess.
7
+ - State facts and this project's rules. Leave out how paging, filters, notes, the CLI and `serve` work.
8
+ - Name credentials by where they come from. Never write a credential's value.
9
+
10
+ ---
11
+
12
+ ```markdown
13
+ ---
14
+ name: <server>-feedback
15
+ description: Where <server>'s agent feedback is read and how this project works through it. Use with the read-feedback skill when asked to review, triage, drain or act on <server> feedback.
16
+ ---
17
+
18
+ # <server> feedback
19
+
20
+ Agents file feedback with `submit_feedback` on `<agent endpoint path>`. Maintainers read and triage it on a separate reader endpoint. Use the `read-feedback` skill for how; this file has what is specific to <server>.
21
+
22
+ ## Where
23
+
24
+ - Reader endpoint: `https://<published host>/<reader path>`. The <preview or staging> copy at `https://<other host>/<reader path>` keeps separate feedback; read it only when asked about that copy.
25
+ - Credential: `<NAME OF THE MAINTAINER SECRET>`, from <where maintainers get it>, supplied as `MCP_FEEDBACK_TOKEN`. `<NAME OF THE AGENT SECRET>` is refused here. Do not ask for, print or store either.
26
+ - In this repository, run the CLI as `<pnpm exec mcp-feedback | npx mcp-feedback>`.
27
+ - Tool prefix: <none | `<prefix>`>.
28
+ - Triage through this endpoint is recorded as `<reader clientId>`.
29
+
30
+ ## Reading a record
31
+
32
+ - `context.references` keys: `<name>Id` is <what it identifies and which tool returns it>; ...
33
+ - `context.server_context` holds <what the server records about those objects when feedback is filed>. <What a timed-out or partial snapshot looks like.>
34
+ - `context.metadata`: <keys this server's agents are asked to use, if any>.
35
+ - <Whether callers share one credential, and so whether submitters can be told apart.>
36
+ - <Whether agents file only after the user confirms.>
37
+
38
+ ## Acting on it
39
+
40
+ - <Who decides what gets worked on, and whether items are also tracked elsewhere.>
41
+ - A fix counts as released when <the project's release step, and the check that it is live>.
42
+ - A `resolved` note names <the version, PR, deployment or URL this project uses as evidence>.
43
+ - <Anything this project never does with feedback, for example filing it on a user's behalf.>
44
+
45
+ ## Sources
46
+
47
+ <File and line for the endpoint, the credentials, `contextFields` and `attachContext`, so this can be checked when they change.>
48
+ ```