FOR PROGRAM DEVELOPERS
Publish without a separate server
The program publishes declarative tools to a config PDA it owns.
Compromised server code can change tool behavior.
Simulate first. The user approves each signature.
9zJz…iXRwD{
"standard": "web3mcp",
"version": "0.2.0",
"programId": "9zJz…iXRwD",
"tools": [
{
"name": "get_vault_by_owner",
"solana": { "kind": "accountRead" }
},
{
"name": "deposit",
"solana": { "kind": "instruction" }
}
],
"idl": { "…": "schemas" }
}The program publishes declarative tools to a config PDA it owns.
The SDK validates the program and its published tools before use.
The model cannot sign. You approve each transaction after simulation.