annon-mcp

v0.1.0-alpha.5
@defdone/annon-mcp Checked 19 hours ago Published 17 days ago

Local 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_share

Encrypt and host a file at the selected approved shop. Saves a pending seller backup before approvals; creates the shop split for EVM sellers, registers and publishes. Resume preserves the original terms. Requires the same operator policy as selling.

ParameterTypeDescription
target *stringLocal plaintext file, at most 50 MB
descriptionstring
pricestringUSDC decimal amount, up to six decimal places.
resumestring
shopstring
titlestring

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.

ParameterTypeDescription
target *stringLocal plaintext file
baseboolean
moderatorstring
outputstring
pricestringUSDC decimal amount, up to six decimal places.
resumestring
splitstringComma-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.

ParameterTypeDescription
target *stringHTTPS URL (HTTP only for localhost, 127.0.0.1 or [::1]) for an allowlisted resource
forcebooleanExplicitly buy another copy despite a saved purchase
originstringName of a human-configured allowed origin
recoverystring
routestring
urlstringOptional 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.

ParameterTypeDescription
output *stringNew output file; existing files are never overwritten
target *stringPurchase ID, encrypted backup, or PAY2 file with purchase argument
filestring
purchasestring
urlstring

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.

ParameterTypeDescription
target *stringLocal 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.

ParameterTypeDescription
recovery *stringControlled identity as evm:address, solana:key or near:account
purchasestring

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.

ParameterTypeDescription
target *stringPurchase ID

annon_budget

Read the file purchase storage balance and admission requirement.

ParameterTypeDescription
target *stringFile ID whose purchase storage budget is read

annon_shops

Discover configured shops without granting deployment trust. Returns items, total and nextOffset.

ParameterTypeDescription
limitintegerPage size: a safe integer from 1 through 100; default 20.
offsetintegerPage offset: a nonnegative safe integer; default 0.
searchstring

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.

ParameterTypeDescription
limitintegerPage size: a safe integer from 1 through 100; default 20.
offsetintegerPage offset: a nonnegative safe integer; default 0.
searchstring
shopstring