Basic information
About Snap Protocol Solana MCP Server
# SNAP — Shield Network Agent Payments
Snap Protocol Solana is a MCP server in the Other category listed in the AddMCP.net directory, published by agentzeny. Supported transport: stdio. Runtime: TypeScript. License: MIT. Source code is hosted on github.com. Related topics: agent-payments, ai-agents, groth16, privacy, solana.
Setup
{
"mcpServers": {
"snap": {
"command": "npx",
"args": [
"tsx",
"snap-mcp-server.ts"
],
"env": {
"SNAP_RPC_URL": "https://api.mainnet-beta.solana.com",
"SNAP_POOL_ADDRESS": "B8SyffZKt8LABKogWjH9rZcjY5PV2hyYRCbTxxbcrpFf"
}
}
}
}
{
"mcpServers": {
"snap": {
"command": "npx",
"args": [
"tsx",
"snap-mcp-server.ts"
],
"env": {
"SNAP_RPC_URL": "https://api.mainnet-beta.solana.com",
"SNAP_POOL_ADDRESS": "B8SyffZKt8LABKogWjH9rZcjY5PV2hyYRCbTxxbcrpFf"
}
}
}
}
{
"servers": {
"snap": {
"command": "npx",
"args": [
"tsx",
"snap-mcp-server.ts"
],
"env": {
"SNAP_RPC_URL": "https://api.mainnet-beta.solana.com",
"SNAP_POOL_ADDRESS": "B8SyffZKt8LABKogWjH9rZcjY5PV2hyYRCbTxxbcrpFf"
}
}
}
}
Snap Protocol Solana MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"snap": {
"command": "npx",
"args": [
"tsx",
"snap-mcp-server.ts"
],
"env": {
"SNAP_RPC_URL": "https://api.mainnet-beta.solana.com",
"SNAP_POOL_ADDRESS": "B8SyffZKt8LABKogWjH9rZcjY5PV2hyYRCbTxxbcrpFf"
}
}
}
}
Snap Protocol Solana MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Snap Protocol Solana?
Snap Protocol Solana is a privacy layer for agent-to-agent payments on Solana that uses zero-knowledge proofs (Groth16) to hide which deposit funds a withdrawal. It lets AI agents pay each other without on-chain observers learning who paid whom. The protocol is live on Solana mainnet with pools for 0.1 SOL, 1 USDC, and 10 USDC.
How to use Snap Protocol Solana?
Install the snap-solana-sdk npm package along with @solana/web3.js and @coral-xyz/anchor. Use the SNAPClient class to make deposits and withdrawals. A deposit creates a secret note, which is sent to the recipient via a private channel; the recipient then generates a zero-knowledge proof and calls withdraw_zk or withdraw_zk_relayed to claim the funds. Run the examples with npx tsx examples/basic-payment.ts or npx tsx examples/agent-to-agent.ts.
Key features of Snap Protocol Solana
- Shielded pool with cryptographic commitments and Groth16 proofs
- Poseidon hash in a depth‑10 Merkle tree for privacy
- Protocol fee of 0.25% per deposit/withdrawal
- Mainnet pools for 0.1 SOL, 1 USDC, and 10 USDC
- SDK, Solana Agent Kit plugin, and LangChain tool integrations
- Relayer service for gas‑abstracted private withdrawals
Use cases of Snap Protocol Solana
- AI agents paying each other for services while keeping transactions private
- Automated micro‑payments between autonomous agents on Solana
- Private agent‑to‑agent transfers with zero public linkability
- Gas‑abstracted withdrawals via the relayer for agents that cannot hold SOL
Frequently asked questions
1 What is Snap Protocol Solana?
Snap Protocol Solana enables private payments between AI agents on Solana using zero‑knowledge proofs. Deposits enter a shielded pool and withdrawals are accompanied by a Groth16 proof that reveals no information about the deposit.
2 What are the pool denominations and is there a fee?
Mainnet pools are 0.1 SOL, 1 USDC, and 10 USDC. The protocol charges a 0.25% fee on each deposit/withdrawal.
3 How do I get the program ID and pool addresses?
The program ID is 9uePoqdgaXpqFLQM2ED1GGQrwSEiqe3r6tW1AfsnrrbS. Pool addresses for 0.1 SOL, 1 USDC, and 10 USDC are listed in the README.
4 What dependencies are required?
Install snap-solana-sdk, @solana/web3.js, and @coral-xyz/anchor. The SDK handles note serialization, Merkle path reconstruction, and proof generation. A Solana RPC connection is required.
5 Where does the data live and what transport is used?
All deposits and withdrawals happen on‑chain on Solana mainnet‑beta. The SDK communicates with Solana via a standard JSON‑RPC connection. Pool activity is visible to observers, but individual deposit‑withdrawal links are hidden by the zero‑knowledge proofs.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In