@oobe-protocol-labs/sap-mcp-server 0.9.2 → 0.9.4

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 (55) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +2 -2
  3. package/USER_DOCS/00_START_HERE.md +1 -0
  4. package/USER_DOCS/03_PAYMENTS_X402_PAYSH.md +4 -3
  5. package/USER_DOCS/04_CLIENT_CONFIGS.md +9 -5
  6. package/USER_DOCS/05_SKILLS_AND_TOOLS.md +2 -0
  7. package/USER_DOCS/06_DESKTOP_GUI_WIZARD.md +6 -6
  8. package/USER_DOCS/07_SMITHERY_AND_MARKETPLACES.md +7 -0
  9. package/config.schema.json +2 -2
  10. package/dist/config/env.js +4 -4
  11. package/dist/config/env.js.map +1 -1
  12. package/dist/config/mcp-client-injection.d.ts.map +1 -1
  13. package/dist/config/mcp-client-injection.js +10 -4
  14. package/dist/config/mcp-client-injection.js.map +1 -1
  15. package/dist/config/wizard.js +3 -3
  16. package/dist/config/wizard.js.map +1 -1
  17. package/dist/core/constants.d.ts +1 -1
  18. package/dist/core/constants.d.ts.map +1 -1
  19. package/dist/core/constants.js +2 -1
  20. package/dist/core/constants.js.map +1 -1
  21. package/dist/payments/pricing.d.ts.map +1 -1
  22. package/dist/payments/pricing.js +57 -13
  23. package/dist/payments/pricing.js.map +1 -1
  24. package/dist/prompts/context/sap-agent-context.prompt.js +2 -0
  25. package/dist/prompts/context/sap-agent-context.prompt.js.map +1 -1
  26. package/dist/prompts/context/sap-agent-start.prompt.js +2 -0
  27. package/dist/prompts/context/sap-agent-start.prompt.js.map +1 -1
  28. package/dist/remote/public-home/sections.d.ts.map +1 -1
  29. package/dist/remote/public-home/sections.js +3 -2
  30. package/dist/remote/public-home/sections.js.map +1 -1
  31. package/dist/security/tool-permissions.d.ts.map +1 -1
  32. package/dist/security/tool-permissions.js +1 -0
  33. package/dist/security/tool-permissions.js.map +1 -1
  34. package/dist/tools/agent-start-tool.js +16 -0
  35. package/dist/tools/agent-start-tool.js.map +1 -1
  36. package/dist/tools/magicblock-tools.d.ts +6 -6
  37. package/dist/tools/magicblock-tools.js +26 -26
  38. package/dist/tools/magicblock-tools.js.map +1 -1
  39. package/dist/tools/transaction-tools.d.ts +78 -0
  40. package/dist/tools/transaction-tools.d.ts.map +1 -1
  41. package/dist/tools/transaction-tools.js +72 -9
  42. package/dist/tools/transaction-tools.js.map +1 -1
  43. package/dist/tools/x402-paid-call-tool.d.ts.map +1 -1
  44. package/dist/tools/x402-paid-call-tool.js +106 -0
  45. package/dist/tools/x402-paid-call-tool.js.map +1 -1
  46. package/docs/03_CONFIGURATION_AND_WIZARD.md +2 -3
  47. package/docs/06_PAYMENTS_X402_AND_PAYSH.md +1 -0
  48. package/docs/07_ENDPOINTS_AND_CLIENTS.md +1 -1
  49. package/docs/14_DESKTOP_WIZARD_RELEASE.md +2 -3
  50. package/docs/README.md +5 -2
  51. package/docs/magicblock-tools.md +44 -29
  52. package/package.json +1 -1
  53. package/server.json +3 -3
  54. package/skills/sap-mcp/SKILL.md +6 -0
  55. package/skills/sap-payments-x402/SKILL.md +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oobe-protocol-labs/sap-mcp-server",
3
- "version": "0.9.2",
3
+ "version": "0.9.4",
4
4
  "mcpName": "ai.oobeprotocol.sap.mcp/sap-mcp",
5
5
  "description": "Official MCP gateway for OOBE Protocol SAP — AI agents can interact with SAP identity, registry, reputation, tools, memory, payments, settlement, and proof-of-execution on Solana",
6
6
  "type": "module",
package/server.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "name": "ai.oobeprotocol.sap.mcp/sap-mcp",
4
4
  "title": "SAP MCP Server | OOBE Protocol",
5
5
  "description": "Solana-native MCP gateway for SAP tools, DeFi, SNS identity, x402/pay.sh, and agent operations.",
6
- "version": "0.9.2",
6
+ "version": "0.9.4",
7
7
  "websiteUrl": "https://mcp.sap.oobeprotocol.ai/",
8
8
  "repository": {
9
9
  "url": "https://github.com/OOBE-PROTOCOL/sap-mcp",
@@ -29,7 +29,7 @@
29
29
  {
30
30
  "registryType": "npm",
31
31
  "identifier": "@oobe-protocol-labs/sap-mcp-server",
32
- "version": "0.9.2",
32
+ "version": "0.9.4",
33
33
  "transport": {
34
34
  "type": "stdio"
35
35
  },
@@ -45,7 +45,7 @@
45
45
  },
46
46
  {
47
47
  "type": "positional",
48
- "value": "@oobe-protocol-labs/sap-mcp-server@0.9.2"
48
+ "value": "@oobe-protocol-labs/sap-mcp-server@0.9.4"
49
49
  },
50
50
  {
51
51
  "type": "positional",
@@ -155,6 +155,12 @@ and arguments, `confirm: true`, and `maxAttempts: 5` so a fresh payment payload
155
155
  is created. Use `sap_x402_paid_call` only when a runtime still exposes the
156
156
  legacy alias.
157
157
 
158
+ When a hosted paid/write builder returns `transactionBase64`, `transaction`, or
159
+ another unsigned Solana transaction payload, finalize it locally with
160
+ `sap_payments_finalize_transaction`. Do not call hosted `sap_sign_transaction`
161
+ for a user-owned signer, do not create `.js`/`.mjs` signing scripts, and do not
162
+ read keypair JSON.
163
+
158
164
  When summarizing a hosted connection, use language like:
159
165
  "server is non-custodial; user signatures come from the local SAP profile or
160
166
  external signer." Avoid saying "signer not configured", "read-only only",
@@ -9,6 +9,7 @@ workflows, and hosted SAP MCP x402/pay.sh monetization.
9
9
  - `sap_x402_get_balance`
10
10
  - `sap_payments_profile_current`
11
11
  - `sap_payments_call_paid_tool`
12
+ - `sap_payments_finalize_transaction`
12
13
  - `sap_payments_prepare_challenge`
13
14
  - `sap_payments_sign_challenge`
14
15
  - `sap_payments_verify_receipt`
@@ -81,6 +82,12 @@ SAP MCP `sap_payments` bridge is already configured. The legacy
81
82
  `sap_x402_paid_call` alias is acceptable only when a runtime has not refreshed
82
83
  to the new tool name.
83
84
 
85
+ If the hosted paid tool returns `transactionBase64`, `transaction`, or an
86
+ unsigned transaction object, call `sap_payments_finalize_transaction` with
87
+ `confirm: true`. Set `submit: false` for preview/sign only, or `submit: true`
88
+ after the user approves execution. Never create temporary signing scripts, read
89
+ keypair JSON, or call hosted `sap_sign_transaction` for user-owned signatures.
90
+
84
91
  Use low-level helpers only for custom clients:
85
92
 
86
93
  - `sap_payments_prepare_challenge` returns the parsed hosted x402 challenge