annon-mcp
v0.1.0-alpha.5Local stdio MCP tools for selling, buying, opening and verifying Annon files.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
annon_sell
Encrypt and register a local file with the SDK. Writes a PAY2 file; seller arranges hosting. May send registration and Base split transactions.
| Parameter | Type | Description |
|---|---|---|
target * | string | Local plaintext file |
base | boolean | |
moderator | string | |
output | string | |
price | string | USDC decimal amount, up to six decimal places. |
resume | string | |
split | string | Comma-separated kind:id:bps recipients, totaling 10000 |
annon_buy
Prepare and submit a purchase using the SDK. Returns deposit instructions for 1Click; fund them externally, then check annon_status. A submitted payment is not final acceptance.
| Parameter | Type | Description |
|---|---|---|
target * | string | HTTPS URL (HTTP only for localhost, 127.0.0.1 or [::1]) for an allowlisted resource |
force | boolean | Explicitly buy another copy despite a saved purchase |
origin | string | Name of a human-configured allowed origin |
recovery | string | |
route | string | |
url | string | Optional expected resource URL |
annon_open
Open a saved final purchase or recovery grant with the SDK. Waits are enforced locally across calls and restarts. Reuse the saved purchase after retryAfterSeconds. Downloads with a grant proof when necessary and writes plaintext to the named output file.
| Parameter | Type | Description |
|---|---|---|
output * | string | New output file; existing files are never overwritten |
target * | string | Purchase ID, encrypted backup, or PAY2 file with purchase argument |
file | string | |
purchase | string | |
url | string |
annon_verify
Check a PAY2 file against the trusted contract and seller authorization. A URL checks the public header; a local file checks the encrypted body too.
| Parameter | Type | Description |
|---|---|---|
target * | string | Local PAY2 file or HTTPS URL (HTTP only for localhost, 127.0.0.1 or [::1]) (header-only verification) |
annon_recover
Recover purchases with a controlled wallet identity using SDK reopen. Fresh grant secrets are backed up before submission.
| Parameter | Type | Description |
|---|---|---|
recovery * | string | Controlled identity as evm:address, solana:key or near:account |
purchase | string |
annon_status
Resume a saved paid Base purchase with unlock and read final acceptance from the trusted contract. 1Click SUCCESS alone does not establish acceptance.
| Parameter | Type | Description |
|---|---|---|
target * | string | Purchase ID |
annon_budget
Read the file purchase storage balance and admission requirement.
| Parameter | Type | Description |
|---|---|---|
target * | string | File ID whose purchase storage budget is read |
annon_shops
Discover configured shops without granting deployment trust. Returns items, total and nextOffset.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Page size: a safe integer from 1 through 100; default 20. |
offset | integer | Page offset: a nonnegative safe integer; default 0. |
search | string |
annon_catalog
Browse a shop catalog with client-side search and paging. Does not grant trust or authorize payment. Buy an entry using its resource URL.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Page size: a safe integer from 1 through 100; default 20. |
offset | integer | Page offset: a nonnegative safe integer; default 0. |
search | string | |
shop | string |