Monetize your MCP server
Fill in your server, payment account and per-tool prices. CasCet generates a validated cascet.config.json and the exact npx @cascet/cli commands — no code changes to your tools.
Server
The MCP server you want to monetize. Its code stays unchanged.
Payment
Where earnings go, on Casper Testnet.
Tools & prices
Price each tool per call. Unlisted tools stay free (or use a default).
cascet.config.json
valid
{
"name": "my-paid-mcp",
"upstream": {
"type": "stdio",
"command": "node",
"args": [
"./my-mcp-server.js"
]
},
"network": "casper:casper-test",
"payTo": "<your Casper public key>",
"asset": {
"packageHash": "b3e9908b6cdbf5c565b686938994e3ac8e6749f41bcbe83615604321a0965d49",
"name": "Wrapped CSPR",
"symbol": "WCSPR",
"decimals": 9,
"version": "1",
"tokensPerUsd": 50
},
"facilitator": {
"url": "https://x402-facilitator.cspr.cloud"
},
"pricing": {
"tools": {
"my_tool": {
"price": "$0.01",
"description": "example priced tool"
}
}
},
"port": 4402
}Run it
npx @cascet/cli init my-paid-mcp # replace the generated cascet.config.json with the one on the right (or download it) npx @cascet/cli wrap # your MCP server is now paid
CASCET_KEY_PATH=./agent.pem npx @cascet/cli connect http://localhost:4402/mcp
This generates a config for the open-source CLI you run yourself. A hosted control plane — a paid endpoint + dashboard in one click — is on the roadmap.