mcp

v0.2.0
online.fileshareforagents/mcp Checked 2 days ago Published 2 months ago

Storage for AI agents: free public items, or private items paid with credits or USDC (x402).

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

pricing

Prices, limits, allowed content types and the payment network. Free.

account

The account behind FILESHARE_API_KEY: credits left, files, storage used. Free. Says how to get a key when none is configured.

buy_credits

Buy N credits for the account behind FILESHARE_API_KEY with one USDC payment of N cents from WALLET_KEY (both must be configured). 1 credit = 1 paid call.

ParameterTypeDescription
credits *integerHow many credits to buy (1 to 10000).

store_public

Store JSON, text or a small file (up to 10 MB) as a PUBLIC item for 1 to 7 days, free, no payment or key needed. Anyone with the returned public link can open it (100 opens included), so never put secrets here. Give exactly one of content, content_base64 or file_path. Returns id, secret, expiry and links.public.

ParameterTypeDescription
contentstringText or JSON to store.
content_base64stringBinary content, base64-encoded.
content_typestringMIME type. Detected from the content when omitted.
file_pathstringPath of a local file to upload.
labelstringA label to recognise the item later.
ttl_daysintegerDays to keep the item (default 7, at most 7).

wallet_status

The paying wallet's address and USDC balance on the configured network, and how to fund it. Free.

store

Store JSON, text or a file privately for 1 to 365 days (default 7). A paid call (one credit or $0.01 USDC) that includes 100 reads. Give exactly one of content (text/JSON), content_base64 (binary) or file_path (a local file). Returns id, a one-time secret, expiry and links. Keep the secret.

ParameterTypeDescription
contentstringText or JSON to store.
content_base64stringBinary content, base64-encoded.
content_typestringMIME type. Detected from the content when omitted.
file_pathstringPath of a local file to upload.
labelstringA label to recognise the item later.
ttl_daysintegerDays to keep the item (default 7).

retrieve

Retrieve an item's content. Counts one read. Text and JSON are returned inline; binary content is returned base64-encoded unless save_to (a local path) is given, in which case it is written there.

ParameterTypeDescription
id *stringItem id, e.g. itm_...
secret *stringThe item's secret (sk_...), returned once by store.
save_tostringLocal path to write the content to instead of returning it.

status

Expiry, remaining reads, size, type and whether a password is set. Free, does not count as a read.

ParameterTypeDescription
id *stringItem id, e.g. itm_...
secret *stringThe item's secret (sk_...), returned once by store.

extend

Set a new expiry, ttl_days from now (1 to 365; must be later than the current expiry). Costs $0.01 USDC.

ParameterTypeDescription
id *stringItem id, e.g. itm_...
secret *stringThe item's secret (sk_...), returned once by store.
ttl_days *integer

buy_reads

Add 1000 reads to an item. Costs $0.01 USDC. No secret needed, so anyone can top up an item they were given. Do this before sharing with many readers.

ParameterTypeDescription
id *stringItem id, e.g. itm_...

set_password

Protect the item's public address with a password (12 to 128 characters) and return that address. Anyone who opens it gets a password form (browsers) or can send the password in an x-password header (agents); each successful open counts one read. Replaces any previous password. Signed share_link URLs are not affected. Free.

ParameterTypeDescription
id *stringItem id, e.g. itm_...
password *string
secret *stringThe item's secret (sk_...), returned once by store.

remove_password

Remove the password; the public address then stops serving the item (signed share links still work). Free.

ParameterTypeDescription
id *stringItem id, e.g. itm_...
secret *stringThe item's secret (sk_...), returned once by store.

delete

Delete the item now. Permanent, no refund. Free.

ParameterTypeDescription
id *stringItem id, e.g. itm_...
secret *stringThe item's secret (sk_...), returned once by store.

feedback

Send feedback to the service operator: a missing feature, a bug, an abuse report about an item, or anything else. Free.

ParameterTypeDescription
message *string
type *string
item_idstring
request_idstringThe request_id from an error, if reporting one.