@oobe-protocol-labs/sap-mcp-server 0.3.0 → 0.7.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.
Files changed (154) hide show
  1. package/.env.example +3 -0
  2. package/CHANGELOG.md +222 -2
  3. package/README.md +63 -0
  4. package/USER_DOCS/00_START_HERE.md +23 -1
  5. package/USER_DOCS/01_HOSTED_REMOTE_MCP.md +4 -1
  6. package/USER_DOCS/03_PAYMENTS_X402_PAYSH.md +63 -7
  7. package/USER_DOCS/04_CLIENT_CONFIGS.md +134 -6
  8. package/USER_DOCS/06_DESKTOP_GUI_WIZARD.md +262 -0
  9. package/dist/adapters/mcp/sdk-compat.d.ts.map +1 -1
  10. package/dist/adapters/mcp/sdk-compat.js +32 -18
  11. package/dist/adapters/mcp/sdk-compat.js.map +1 -1
  12. package/dist/config/mcp-client-injection.d.ts +64 -2
  13. package/dist/config/mcp-client-injection.d.ts.map +1 -1
  14. package/dist/config/mcp-client-injection.js +668 -11
  15. package/dist/config/mcp-client-injection.js.map +1 -1
  16. package/dist/config/wizard.d.ts.map +1 -1
  17. package/dist/config/wizard.js +89 -5
  18. package/dist/config/wizard.js.map +1 -1
  19. package/dist/core/constants.d.ts +1 -1
  20. package/dist/core/constants.js +1 -1
  21. package/dist/payments/facilitator-rpc-fallback.d.ts +43 -0
  22. package/dist/payments/facilitator-rpc-fallback.d.ts.map +1 -0
  23. package/dist/payments/facilitator-rpc-fallback.js +228 -0
  24. package/dist/payments/facilitator-rpc-fallback.js.map +1 -0
  25. package/dist/payments/json-rpc.d.ts.map +1 -1
  26. package/dist/payments/json-rpc.js +2 -1
  27. package/dist/payments/json-rpc.js.map +1 -1
  28. package/dist/payments/monetization-gate.d.ts +43 -2
  29. package/dist/payments/monetization-gate.d.ts.map +1 -1
  30. package/dist/payments/monetization-gate.js +618 -9
  31. package/dist/payments/monetization-gate.js.map +1 -1
  32. package/dist/payments/oobe-facilitator-server.d.ts +6 -0
  33. package/dist/payments/oobe-facilitator-server.d.ts.map +1 -1
  34. package/dist/payments/oobe-facilitator-server.js +79 -4
  35. package/dist/payments/oobe-facilitator-server.js.map +1 -1
  36. package/dist/payments/pricing.d.ts.map +1 -1
  37. package/dist/payments/pricing.js +1 -0
  38. package/dist/payments/pricing.js.map +1 -1
  39. package/dist/payments/usage-ledger.d.ts +10 -0
  40. package/dist/payments/usage-ledger.d.ts.map +1 -1
  41. package/dist/payments/usage-ledger.js +51 -0
  42. package/dist/payments/usage-ledger.js.map +1 -1
  43. package/dist/payments/x402-paid-call.d.ts +53 -0
  44. package/dist/payments/x402-paid-call.d.ts.map +1 -0
  45. package/dist/payments/x402-paid-call.js +370 -0
  46. package/dist/payments/x402-paid-call.js.map +1 -0
  47. package/dist/prompts/context/sap-agent-context.prompt.js +9 -3
  48. package/dist/prompts/context/sap-agent-context.prompt.js.map +1 -1
  49. package/dist/prompts/developer/debug-sap-error.prompt.js +1 -1
  50. package/dist/prompts/developer/debug-sap-error.prompt.js.map +1 -1
  51. package/dist/prompts/developer/generate-sap-integration.prompt.js +6 -2
  52. package/dist/prompts/developer/generate-sap-integration.prompt.js.map +1 -1
  53. package/dist/prompts/execution-proof/explain-proof-of-execution.prompt.js +1 -1
  54. package/dist/prompts/execution-proof/explain-proof-of-execution.prompt.js.map +1 -1
  55. package/dist/prompts/execution-proof/verify-execution-proof.prompt.js +1 -1
  56. package/dist/prompts/execution-proof/verify-execution-proof.prompt.js.map +1 -1
  57. package/dist/prompts/payments/create-paid-api.prompt.js +1 -1
  58. package/dist/prompts/payments/create-paid-api.prompt.js.map +1 -1
  59. package/dist/prompts/payments/explain-x402-settlement.prompt.js +1 -1
  60. package/dist/prompts/payments/explain-x402-settlement.prompt.js.map +1 -1
  61. package/dist/prompts/register-prompts.js +2 -2
  62. package/dist/prompts/register-prompts.js.map +1 -1
  63. package/dist/prompts/registry/analyze-sap-agent.prompt.js +1 -1
  64. package/dist/prompts/registry/analyze-sap-agent.prompt.js.map +1 -1
  65. package/dist/prompts/registry/register-sap-agent.prompt.js +2 -2
  66. package/dist/prompts/registry/register-sap-agent.prompt.js.map +1 -1
  67. package/dist/remote/server.d.ts +132 -1
  68. package/dist/remote/server.d.ts.map +1 -1
  69. package/dist/remote/server.js +930 -49
  70. package/dist/remote/server.js.map +1 -1
  71. package/dist/resources/current/sap-current-config.resource.d.ts.map +1 -1
  72. package/dist/resources/current/sap-current-config.resource.js +11 -1
  73. package/dist/resources/current/sap-current-config.resource.js.map +1 -1
  74. package/dist/resources/execution-proof/sap-execution-record.resource.js +1 -1
  75. package/dist/resources/execution-proof/sap-execution-record.resource.js.map +1 -1
  76. package/dist/resources/memory/sap-memory.resource.js +1 -1
  77. package/dist/resources/memory/sap-memory.resource.js.map +1 -1
  78. package/dist/resources/profile/sap-active-profile.resource.js +1 -1
  79. package/dist/resources/profile/sap-active-profile.resource.js.map +1 -1
  80. package/dist/resources/register-resources.js +2 -2
  81. package/dist/resources/register-resources.js.map +1 -1
  82. package/dist/resources/registry/sap-agent.resource.js +1 -1
  83. package/dist/resources/registry/sap-agent.resource.js.map +1 -1
  84. package/dist/resources/registry/sap-global-registry.resource.js +1 -1
  85. package/dist/resources/registry/sap-global-registry.resource.js.map +1 -1
  86. package/dist/resources/reputation/sap-reputation.resource.js +1 -1
  87. package/dist/resources/reputation/sap-reputation.resource.js.map +1 -1
  88. package/dist/resources/stats/sap-network-stats.resource.js +1 -1
  89. package/dist/resources/stats/sap-network-stats.resource.js.map +1 -1
  90. package/dist/resources/tool-schema/sap-tool-schema.resource.js +1 -1
  91. package/dist/resources/tool-schema/sap-tool-schema.resource.js.map +1 -1
  92. package/dist/sap/sap-client-manager.js +5 -5
  93. package/dist/sap/sap-client-manager.js.map +1 -1
  94. package/dist/security/tool-permissions.d.ts.map +1 -1
  95. package/dist/security/tool-permissions.js +1 -0
  96. package/dist/security/tool-permissions.js.map +1 -1
  97. package/dist/server/create-server.js +5 -5
  98. package/dist/server/create-server.js.map +1 -1
  99. package/dist/server/register-capabilities.js +4 -4
  100. package/dist/server/register-capabilities.js.map +1 -1
  101. package/dist/signer/signer-resolver.js +1 -1
  102. package/dist/signer/signer-resolver.js.map +1 -1
  103. package/dist/tools/client-sdk-tools.js +7 -7
  104. package/dist/tools/client-sdk-tools.js.map +1 -1
  105. package/dist/tools/index.d.ts +2 -0
  106. package/dist/tools/index.d.ts.map +1 -1
  107. package/dist/tools/index.js +4 -0
  108. package/dist/tools/index.js.map +1 -1
  109. package/dist/tools/magicblock-tools.d.ts +28 -0
  110. package/dist/tools/magicblock-tools.d.ts.map +1 -0
  111. package/dist/tools/magicblock-tools.js +578 -0
  112. package/dist/tools/magicblock-tools.js.map +1 -0
  113. package/dist/tools/profile-tools.d.ts.map +1 -1
  114. package/dist/tools/profile-tools.js +20 -0
  115. package/dist/tools/profile-tools.js.map +1 -1
  116. package/dist/tools/register-tools.d.ts.map +1 -1
  117. package/dist/tools/register-tools.js +11 -2
  118. package/dist/tools/register-tools.js.map +1 -1
  119. package/dist/tools/sap-sdk-tools.js +2 -2
  120. package/dist/tools/sap-sdk-tools.js.map +1 -1
  121. package/dist/tools/sap-sns-tools.js +2 -2
  122. package/dist/tools/sap-sns-tools.js.map +1 -1
  123. package/dist/tools/skills-tools.d.ts +1 -1
  124. package/dist/tools/skills-tools.d.ts.map +1 -1
  125. package/dist/tools/skills-tools.js +10 -1
  126. package/dist/tools/skills-tools.js.map +1 -1
  127. package/dist/tools/tool-aliases.d.ts +10 -0
  128. package/dist/tools/tool-aliases.d.ts.map +1 -0
  129. package/dist/tools/tool-aliases.js +23 -0
  130. package/dist/tools/tool-aliases.js.map +1 -0
  131. package/dist/tools/x402-paid-call-tool.d.ts +12 -0
  132. package/dist/tools/x402-paid-call-tool.d.ts.map +1 -0
  133. package/dist/tools/x402-paid-call-tool.js +118 -0
  134. package/dist/tools/x402-paid-call-tool.js.map +1 -0
  135. package/dist/wizard-core/desktop-flow.d.ts +82 -0
  136. package/dist/wizard-core/desktop-flow.d.ts.map +1 -0
  137. package/dist/wizard-core/desktop-flow.js +181 -0
  138. package/dist/wizard-core/desktop-flow.js.map +1 -0
  139. package/docs/00_README.md +3 -0
  140. package/docs/03_CONFIGURATION_AND_WIZARD.md +31 -5
  141. package/docs/06_PAYMENTS_X402_AND_PAYSH.md +70 -7
  142. package/docs/07_ENDPOINTS_AND_CLIENTS.md +28 -1
  143. package/docs/10_OPERATIONS_RELEASE_AND_PM2.md +7 -6
  144. package/docs/13_BOUNTY_PROGRAM_PROPOSAL.md +469 -0
  145. package/docs/14_DESKTOP_WIZARD_RELEASE.md +264 -0
  146. package/docs/README.md +104 -0
  147. package/docs/_sidebar.md +31 -0
  148. package/docs/magicblock-tools.md +166 -0
  149. package/docs/x402-protocol-spec.md +984 -0
  150. package/package.json +23 -2
  151. package/server.json +71 -0
  152. package/skills/sap-defi/SKILL.md +8 -0
  153. package/skills/sap-mcp/SKILL.md +30 -0
  154. package/skills/sap-payments-x402/SKILL.md +36 -4
@@ -0,0 +1,469 @@
1
+ # SAP MCP Agent Stack Bounty Proposal
2
+
3
+ ## 1. Executive Summary
4
+
5
+ SAP MCP Agent Stack Bounty is a proposed multi-partner Solana agent competition led by OOBE Protocol around SAP MCP, Synapse Agent Protocol, Bento Guard, Metaplex, SNS, and optional agent credit/trading partners such as Krexa.
6
+
7
+ The bounty should reward builders who create real agentic applications: agents with identity, policy, payments, ownership, and verifiable Solana execution. SAP MCP acts as the coordination layer that connects agent runtimes to Solana protocols and partner infrastructure through MCP.
8
+
9
+ Why now: MCP is becoming the standard interface for agent tools, x402/pay.sh make paid remote execution practical, and Solana now has the identity, policy, asset, and payment primitives needed for agents to operate as real on-chain participants.
10
+
11
+ Partner terminology note: final public track names and partner-specific requirements should be confirmed with Bento, Metaplex, SNS, Krexa, and any other participating partner before launch. This draft uses the terminology currently exposed or planned through SAP MCP and the Synapse SAP SDK, and should not imply official partner endorsement until each partner confirms participation.
12
+
13
+ Primary hosted endpoint:
14
+
15
+ ```txt
16
+ https://mcp.sap.oobeprotocol.ai/mcp
17
+ ```
18
+
19
+ Public documentation:
20
+
21
+ ```txt
22
+ https://mcp.sap.oobeprotocol.ai/docs
23
+ ```
24
+
25
+ ## 2. Positioning
26
+
27
+ ### 2.1 One-Line Pitch
28
+
29
+ Build Solana agents with SAP identity, Metaplex 014 and MPL Core identity flows, Bento policy checks, SNS names, x402/pay.sh payments, optional agent credit/trading workflows, and real on-chain execution through SAP MCP.
30
+
31
+ ### 2.2 Narrative
32
+
33
+ Most agent demos stop at chat or API orchestration. This bounty asks builders to go further: create agents that can register, discover tools, enforce policy, pay for remote resources, link identity across registries, own assets, and execute safely on Solana.
34
+
35
+ SAP MCP provides the agent-facing standard interface. Partner stacks provide the identity, policy, naming, asset, payment, credit, and trading primitives that make the agent useful and trustworthy.
36
+
37
+ ## 3. What Builders Can Win
38
+
39
+ Suggested bounty tracks:
40
+
41
+ | Track | Description |
42
+ | --- | --- |
43
+ | Best SAP MCP Agent | Best overall agent using SAP MCP for real Solana operations. |
44
+ | Best Bento Policy Integration | Best use of Bento Guard for agent safety, action checks, and permission boundaries. |
45
+ | Best Metaplex 014 / MPL Core Agent Identity | Best use of SAP MCP/Synapse SAP SDK flows involving Metaplex 014 Agent Registry and MPL Core primitives, with final track naming confirmed by Metaplex. |
46
+ | Best SNS Agent Identity | Best use of `.sol` naming, reverse lookup, and human-readable agent discovery. |
47
+ | Best x402/pay.sh Monetized Tool | Best paid API or paid agent workflow using hosted SAP MCP. |
48
+ | Best Agent Credit / Trading Workflow | Best agent workflow using lending, credit, risk controls, or trading execution through a participating partner such as Krexa, if confirmed. |
49
+ | Best Developer Experience | Best documentation, reproducibility, setup flow, and agent runtime integration. |
50
+
51
+ Full-stack composition should be a bonus multiplier, not a separate category. Builders who combine SAP MCP with multiple partner stacks can receive extra judging weight inside the relevant track, but every winning category should still have a clear primary evaluation target.
52
+
53
+ ## 4. Example Project Ideas
54
+
55
+ ### 4.1 Policy-Gated Trading Agent
56
+
57
+ An agent that checks balances, uses Jupiter or another Solana DeFi integration, previews a transaction, runs Bento policy checks, asks for approval above thresholds, and signs only when allowed.
58
+
59
+ Required stack:
60
+
61
+ - SAP MCP hosted or local
62
+ - Solana protocol tools
63
+ - Bento Guard
64
+ - local signer or external signer
65
+
66
+ Optional extensions:
67
+
68
+ - x402 paid analytics
69
+ - SAP reputation update
70
+ - SNS agent name
71
+
72
+ ### 4.2 Agent Identity Passport
73
+
74
+ An agent that registers in SAP, uses a Metaplex 014 / MPL Core identity flow exposed through SAP MCP or Synapse SAP SDK, links an SNS `.sol` name, and exposes reputation or proof metadata through SAP MCP resources.
75
+
76
+ Required stack:
77
+
78
+ - SAP Agent Registry
79
+ - Metaplex 014 Agent Registry or MPL Core through the available SAP MCP/Synapse SAP SDK integration
80
+ - SNS
81
+
82
+ Optional extensions:
83
+
84
+ - Bento policy for identity updates
85
+ - paid verification or analytics tools
86
+
87
+ ### 4.3 Monetized Agent Research Tool
88
+
89
+ An agent that exposes premium discovery, token, NFT, or analytics flows behind x402/pay.sh, then records usage and settlement through SAP MCP.
90
+
91
+ Required stack:
92
+
93
+ - hosted SAP MCP
94
+ - x402 or pay.sh
95
+ - SAP tool execution
96
+
97
+ Optional extensions:
98
+
99
+ - Bento policy for spend caps
100
+ - SNS identity for the tool owner
101
+ - Metaplex 014 identity or MPL Core access pass
102
+
103
+ ### 4.4 Agent Coordination Room
104
+
105
+ A thematic group room where registered SAP agents can publish signed messages, reference links, share execution proofs, and retrieve room history.
106
+
107
+ Required stack:
108
+
109
+ - SAP agent identity
110
+ - signed messages
111
+ - fetchable history
112
+
113
+ Optional extensions:
114
+
115
+ - Bento moderation policy
116
+ - SNS identities
117
+ - Metaplex 014 or MPL Core room/membership assets
118
+
119
+ ### 4.5 Credit-Backed Trading Agent
120
+
121
+ An agent that uses SAP MCP for identity, signing context, policy, and Solana execution, then integrates a participating credit or lending partner such as Krexa for agent credit, borrowing, risk controls, or repayment-aware trading workflows.
122
+
123
+ Required stack:
124
+
125
+ - SAP MCP hosted or local
126
+ - Solana protocol tools for quotes, balances, or execution
127
+ - clear signing and approval boundaries
128
+ - participating credit/lending partner integration, if confirmed
129
+
130
+ Optional extensions:
131
+
132
+ - Bento policy before trades, borrows, repayments, or venue changes
133
+ - x402/pay.sh revenue flow connected to repayment logic
134
+ - SAP reputation or proof-of-execution update after profitable/settled activity
135
+ - SNS or Metaplex identity for agent discoverability
136
+
137
+ ## 5. Partner Stack
138
+
139
+ | Partner | Role In The Bounty |
140
+ | --- | --- |
141
+ | OOBE Protocol / Synapse / SAP | MCP gateway and SAP coordination layer: registry, discovery, reputation, settlement, memory, payments, and proof flows. |
142
+ | Bento Guard | Policy evaluation and guardrail layer before sensitive permissions, paid calls, signing, or on-chain execution. |
143
+ | Metaplex | Metaplex 014 Agent Registry and MPL Core identity/asset flows as exposed through SAP MCP and Synapse SAP SDK integrations, subject to final Metaplex wording. |
144
+ | SNS | `.sol` naming, domain linking, reverse lookup, and agent identity resolution. |
145
+ | Krexa | Proposed agent credit, lending, and repayment-aware trading workflows if Krexa confirms participation and integration requirements. |
146
+
147
+ The bounty should avoid claiming that partner technologies are native SAP modules unless that integration is explicitly implemented in SAP MCP or Synapse SAP SDK. Public language should say "uses", "integrates with", or "is exposed through SAP MCP" unless a partner confirms a stronger claim.
148
+
149
+ ## 6. Technical Architecture
150
+
151
+ ```txt
152
+ Agent Runtime
153
+ Claude / Hermes / Codex / OpenClaw / Custom Agent
154
+ |
155
+ | MCP stdio or Streamable HTTP
156
+ v
157
+ SAP MCP Server
158
+ - SAP tools
159
+ - Solana protocol tools
160
+ - x402/pay.sh monetization
161
+ - skills and prompts
162
+ - policy hooks
163
+ |
164
+ +--> Synapse Agent Protocol
165
+ | registry, discovery, reputation, escrow, settlement, memory
166
+ |
167
+ +--> Bento Guard
168
+ | policy evaluation, action validation, permission boundaries
169
+ |
170
+ +--> Metaplex
171
+ | 014 Agent Registry and MPL Core flows exposed through SAP MCP/Synapse SDK
172
+ |
173
+ +--> SNS
174
+ | .sol names, reverse lookup, identity resolution
175
+ |
176
+ +--> Krexa or credit/lending partner
177
+ | agent credit, risk controls, repayment-aware execution if confirmed
178
+ |
179
+ +--> Solana
180
+ RPC, tokens, DeFi protocols, transactions, proofs
181
+ ```
182
+
183
+ ## 7. SAP MCP Tool Buckets
184
+
185
+ Builders should compose at least one of these tool buckets.
186
+
187
+ | Bucket | Examples |
188
+ | --- | --- |
189
+ | Solana protocol tools | Jupiter, Raydium, Orca, Meteora, Drift, Pyth, SPL Token, Metaplex-related identity/asset flows, bridging, staking, DAS, NFTs. |
190
+ | Solana RPC and chain methods | Balances, token accounts, transactions, assets, program data, network state, signatures, block data. |
191
+ | Synapse Agent Protocol methods | SAP agent registry, bridged identity, discovery, reputation, escrow, settlement, memory, proof-of-execution, x402 tools, SNS identity. |
192
+ | Partner credit and monetization flows | x402/pay.sh paid calls, optional Krexa-style agent credit, lending, repayment, and risk-aware execution if the partner integration is confirmed. |
193
+
194
+ ## 8. Bridged Agent Identity
195
+
196
+ One of the strongest technical themes for this bounty is interoperable agent identity.
197
+
198
+ The Synapse SAP SDK integrates SAP agent identity with Metaplex identity primitives, including Metaplex 014 Agent Registry and MPL Core flows where exposed by the current SAP MCP/Synapse SDK integration. This lets builders represent an agent across more than one registry while keeping SAP MCP as the operational coordination layer.
199
+
200
+ Recommended identity graph:
201
+
202
+ ```txt
203
+ Signer Wallet
204
+ |
205
+ +-- SAP Agent PDA / SAP Registry Profile
206
+ |
207
+ +-- Metaplex 014 Agent Registry-compatible Identity
208
+ |
209
+ +-- MPL Core Agent Asset / Credential
210
+ |
211
+ +-- SNS .sol Name
212
+ ```
213
+
214
+ Identity layers:
215
+
216
+ | Layer | Purpose |
217
+ | --- | --- |
218
+ | SAP Agent Registry | Operational identity, discovery, reputation, settlement, memory, and coordination context. |
219
+ | Metaplex 014 Agent Registry | Metaplex-native agent identity and registry interoperability where supported by the integration. |
220
+ | MPL Core | Agent-owned identity assets, credentials, access passes, collection membership, proof artifacts, or metadata containers. |
221
+ | SNS | Human-readable `.sol` naming and reverse lookup for agent discovery. |
222
+
223
+ This is more valuable than isolated NFT minting because it gives the agent a reusable identity graph across registries, assets, names, policy, and payment flows.
224
+
225
+ ## 9. Hosted And Local Access Model
226
+
227
+ ### 9.1 Hosted Remote MCP
228
+
229
+ Hosted remote MCP gives builders a public MCP endpoint:
230
+
231
+ ```txt
232
+ https://mcp.sap.oobeprotocol.ai/mcp
233
+ ```
234
+
235
+ This is the recommended mode for agent runtimes that support Streamable HTTP MCP.
236
+
237
+ Hosted remote MCP can monetize paid tool calls through x402 and pay.sh. The hosted server does not custody user keypairs.
238
+
239
+ ### 9.2 Local Wizard And Signer
240
+
241
+ Builders use the wizard to create a local SAP MCP profile:
242
+
243
+ ```bash
244
+ npm exec --yes --package @oobe-protocol-labs/sap-mcp-server -- sap-mcp-config wizard
245
+ ```
246
+
247
+ The wizard creates isolated profile data under:
248
+
249
+ ```txt
250
+ ~/.config/mcp-sap
251
+ ```
252
+
253
+ The local profile controls:
254
+
255
+ - active SAP profile
256
+ - signer mode
257
+ - wallet path or external signer URL
258
+ - policy limits
259
+ - MCP client injection
260
+ - optional x402 paid-call helper
261
+
262
+ Keypair bytes must never be pasted into MCP client config or sent to the hosted server.
263
+
264
+ ### 9.3 x402 Paid-Call Helper
265
+
266
+ Agents that cannot replay x402 challenges natively can use:
267
+
268
+ ```bash
269
+ npx --yes --package @oobe-protocol-labs/sap-mcp-server sap-mcp-x402-paid-call \
270
+ --tool sap_list_all_agents \
271
+ --arguments '{"limit":5}' \
272
+ --max-usd 0.02 \
273
+ --confirm
274
+ ```
275
+
276
+ This signs payment payloads locally and retries the hosted MCP call without exposing keypair bytes.
277
+
278
+ ## 10. Partner-Specific Requirements
279
+
280
+ ### 10.1 OOBE / Synapse / SAP
281
+
282
+ Minimum requirements:
283
+
284
+ - Use SAP MCP as the MCP gateway.
285
+ - Use either hosted remote MCP or local stdio MCP.
286
+ - Load SAP MCP skills or document how the agent knows which tools to use.
287
+ - Use at least one SAP registry, discovery, reputation, settlement, memory, or proof flow.
288
+ - Show the active SAP profile or agent identity.
289
+ - Avoid exposing keypair bytes in logs, prompts, config snippets, screenshots, or repo files.
290
+
291
+ Advanced requirements:
292
+
293
+ - Register or update an SAP agent.
294
+ - Use SAP discovery to find agents or tools.
295
+ - Use SAP memory or proof-of-execution flows.
296
+ - Use x402/pay.sh for a paid remote tool call.
297
+ - Create a workflow that another builder can reproduce from documented steps.
298
+
299
+ ### 10.2 Bento Guard
300
+
301
+ Minimum requirements:
302
+
303
+ - Use Bento Guard as a policy layer before sensitive actions.
304
+ - Define clear policy rules for agent permissions.
305
+ - Show at least one allowed action and one blocked or escalated action.
306
+ - Explain how policy decisions affect tool execution.
307
+
308
+ Advanced requirements:
309
+
310
+ - Use policy checks before transaction signing.
311
+ - Use policy checks before paid tool execution.
312
+ - Create role-based or profile-based policy boundaries.
313
+ - Generate audit logs or human-readable policy decisions.
314
+ - Combine local SAP MCP policy with Bento Guard decisions.
315
+
316
+ ### 10.3 Metaplex
317
+
318
+ Minimum requirements:
319
+
320
+ - Use Metaplex-related SAP MCP tools or Synapse SAP SDK flows.
321
+ - Use Metaplex 014 Agent Registry, MPL Core, or a clearly documented Metaplex identity/asset flow.
322
+ - Demonstrate how Metaplex identity or assets relate to the SAP agent identity.
323
+ - Create, read, or update MPL Core/NFT/collection metadata.
324
+
325
+ Advanced requirements:
326
+
327
+ - Bridge identity between SAP Agent Registry and Metaplex 014 Agent Registry through the Synapse SAP SDK integration.
328
+ - Use MPL Core assets as agent credentials, access passes, reputation artifacts, proof containers, or ownership objects.
329
+ - Mint or manage an MPL Core asset or NFT collection for an agent.
330
+ - Verify creator, collection, or identity relationships.
331
+ - Combine Metaplex 014/MPL Core identity with SAP agent identity and SNS naming.
332
+
333
+ ### 10.4 SNS
334
+
335
+ Minimum requirements:
336
+
337
+ - Use SNS to resolve, link, or check a `.sol` domain.
338
+ - Explain how the `.sol` name maps to an agent identity or wallet.
339
+
340
+ Advanced requirements:
341
+
342
+ - Link an SNS identity to an SAP agent.
343
+ - Use reverse lookup for agent discovery.
344
+ - Build an agent directory or contact flow using `.sol` names.
345
+ - Combine SNS identity with SAP reputation or Metaplex assets.
346
+
347
+ ### 10.5 Krexa Or Agent Credit Partner
348
+
349
+ This track should only be included if Krexa or another credit/lending partner confirms participation and the integration path builders should use.
350
+
351
+ Minimum requirements:
352
+
353
+ - Use SAP MCP as the agent execution and identity interface.
354
+ - Use the participating credit/lending partner for a real or documented agent credit, borrowing, repayment, or risk-scored workflow.
355
+ - Explain how the agent controls spend, signing, risk, and repayment behavior.
356
+ - Show that value-moving actions require explicit policy or user-controlled signing.
357
+
358
+ Advanced requirements:
359
+
360
+ - Connect paid revenue from x402/pay.sh or agent services to repayment-aware logic.
361
+ - Use SAP reputation or proof-of-execution as part of the agent's risk or performance story.
362
+ - Use Bento policy before credit draws, trades, repayments, venue changes, or strategy changes.
363
+ - Show clear limits for max position size, daily spend, drawdown, venue access, and emergency stop behavior.
364
+
365
+ ## 11. Submission Requirements
366
+
367
+ Each submission should include:
368
+
369
+ 1. Public repository or private repo access for judges.
370
+ 2. Demo video under 5 minutes.
371
+ 3. README with setup instructions.
372
+ 4. Clear list of used SAP MCP tools.
373
+ 5. Clear list of used partner technologies.
374
+ 6. Architecture diagram or written architecture section.
375
+ 7. Security notes explaining signing, policy, and keypair boundaries.
376
+ 8. Reproducible commands for local or hosted setup.
377
+ 9. Evidence of real execution, such as transaction signatures, agent public keys, SNS names, minted assets, policy decisions, or x402 receipts.
378
+
379
+ ## 12. Judging Criteria
380
+
381
+ | Category | Weight | What Judges Look For |
382
+ | --- | ---: | --- |
383
+ | Real SAP MCP usage | 25% | The project actually uses SAP MCP tools, resources, prompts, skills, or hosted MCP flows. |
384
+ | Partner stack composition | 20% | Meaningful Bento, Metaplex, SNS, Krexa, or other confirmed partner usage, not superficial logo placement. |
385
+ | Technical correctness | 20% | Safe signing, working transactions, clear MCP flow, no exposed secrets, reproducible setup. |
386
+ | Product usefulness | 15% | The agent solves a real workflow for users, teams, or other agents. |
387
+ | Security and policy | 10% | Spending limits, approval flows, Bento/local policy, safe key handling. |
388
+ | Developer experience | 10% | Clean docs, simple setup, clear demo, understandable architecture. |
389
+
390
+ Full-stack bonus: judges can add discretionary weight inside a category when a project composes multiple stacks cleanly, for example SAP MCP + Bento + SNS + Metaplex, or SAP MCP + Bento + Krexa + x402/pay.sh. This should be treated as a bonus for coherent composition, not a substitute for the primary track requirements.
391
+
392
+ ## 13. Security Rules
393
+
394
+ Submissions must not:
395
+
396
+ - commit keypair files
397
+ - print keypair bytes
398
+ - paste keypair bytes into MCP config
399
+ - expose private RPC keys
400
+ - bypass user approval for value-moving transactions
401
+ - represent fake or mock payments as real settlements
402
+ - use hardcoded private keys
403
+ - rely on hidden services without documentation
404
+
405
+ Submissions should:
406
+
407
+ - use dedicated SAP MCP wallets
408
+ - separate agent PDA, signer wallet, facilitator wallet, and Solana CLI wallet
409
+ - use policy checks before sensitive operations
410
+ - provide transaction previews where possible
411
+ - document which network is used
412
+ - include explicit spending limits for paid or value-moving flows
413
+
414
+ ## 14. Suggested Partner Outreach Message
415
+
416
+ ```text
417
+ Gm @Hanami_foresee,
418
+
419
+ @ethercode_0xKpt had an idea to run a bounty program around SAP MCP, and we would love to involve Bento as a partner since Bento Guard is already part of our stack and can be used as the policy and guardrail layer for agents.
420
+
421
+ The idea is a multi-stack Solana agent bounty with OOBE/Synapse/SAP MCP as the coordination layer, and partner requirements that encourage builders to compose each ecosystem properly:
422
+
423
+ - OOBE / Synapse / SAP: MCP gateway, SAP agent identity, discovery, payments, reputation, settlement, memory, and coordination flows.
424
+ - Bento: policy evaluation, action checks, permission boundaries, and agent safety before sensitive calls or on-chain execution.
425
+ - Metaplex: Metaplex 014 Agent Registry and MPL Core identity/asset flows as exposed through SAP MCP and the Synapse SAP SDK integration, with final Metaplex requirements defined together.
426
+ - SNS: .sol identity, domain linking, reverse lookup, and agent identity resolution.
427
+ - Optional credit/trading partner such as Krexa: agent credit, lending, repayment-aware execution, and risk-controlled trading workflows if the integration requirements are confirmed together.
428
+
429
+ The goal is to push builders beyond simple demos: agents should have identity, policy, payments, tools, and real on-chain execution paths through SAP MCP.
430
+
431
+ We are also going to talk with Metaplex, SNS, and potentially Krexa to see if they would be open to joining, so the bounty can reward projects that compose these stacks together instead of using them in isolation.
432
+
433
+ Would Bento be interested in being involved as a partner and helping us define the Bento-specific requirements for submissions?
434
+ ```
435
+
436
+ ## 15. Proposed Timeline
437
+
438
+ | Phase | Duration | Output |
439
+ | --- | --- | --- |
440
+ | Partner alignment | 1 week | Confirm partners, tracks, judging requirements, prize structure. |
441
+ | Builder prep | 1 week | Publish docs, examples, starter prompts, MCP config guides, skills. |
442
+ | Bounty window | 2 to 4 weeks | Builders submit projects and demos. |
443
+ | Judging | 3 to 5 days | Review demos, repos, on-chain evidence, and partner requirements. |
444
+ | Winners and follow-up | 1 week | Announce winners, publish examples, onboard strongest projects into SAP ecosystem. |
445
+
446
+ ## 16. Open Questions
447
+
448
+ 1. Which partners will provide prize funding, credits, or technical review?
449
+ 2. Should the bounty be one combined pool or separate partner tracks?
450
+ 3. Should paid x402/pay.sh calls be required or optional?
451
+ 4. Should mainnet execution be required, or should devnet be accepted for early builders?
452
+ 5. Should Bento policy be required for all value-moving submissions?
453
+ 6. Should SNS identity linking be mandatory for registered SAP agents?
454
+ 7. Should Metaplex 014 Agent Registry / MPL Core bridged identity be mandatory for the Metaplex track or treated as a bonus inside other identity projects?
455
+ 8. Should Krexa or another credit/lending partner have a dedicated credit/trading track, or should it be a bonus path inside the Solana execution track?
456
+ 9. Should OOBE host office hours during the bounty?
457
+
458
+ ## 17. Minimum Viable Bounty
459
+
460
+ If we want to launch quickly, the minimum viable bounty should require:
461
+
462
+ 1. Use SAP MCP.
463
+ 2. Configure an agent through the wizard.
464
+ 3. Use at least one partner integration: Bento, Metaplex, SNS, Krexa, or another confirmed partner.
465
+ 4. Demonstrate one real Solana or SAP action.
466
+ 5. Explain signing and policy boundaries.
467
+ 6. Provide a reproducible demo.
468
+
469
+ This keeps the bounty approachable while still pushing the ecosystem toward real agent infrastructure.