Convex

Convex

MCP Endpoint

POST requests to https://mikera1337-convex-testnet.hf.space/mcp

This peer provides MCP JSON-RPC access for LLMs and AI tools

MCP Server Info
FieldValueNotes
networkId"72738e0e66eed1fa3e9c985a2aa0e440948a32c5bb088536d31a1d2d7ba06646"
title"Convex MCP"
peerKey"ff5671e6242112b706bb4ba47507ac1e90c00bf223e2df043b9b25b50a00ba60"
name"convex-mcp"
version"0.8.3-SNAPSHOT"
Registered Tools
TitleNameDescription
Convex QueryqueryExecute a Convex Lisp query. Queries are read-only, free, and instant. Common patterns: - (balance #13) — coin balance in copper (1 CVM = 1,000,000,000 copper) - *balance* — caller's own balance - (account #13) — full account record - (@convex.fungible/balance #TOKEN #USER) — fungible token balance - (call #ACTOR (fn-name args)) — call actor function read-only - (lookup #ADDR 'symbol) — look up a definition - *state* — full network state (large!)
Prepare TransactionpreparePrepare a Convex transaction for signing. Returns a hash to pass to 'signAndSubmit' or 'submit'. Common source patterns: - Transfer: (transfer #DEST AMOUNT) - Deploy actor: (deploy '(do (defn greet [x] (str "Hello " x)) (export greet))) - Call actor: (call #ACTOR (function-name arg1 arg2)) - Define value: (def my-var 42) - Set controller: (set-controller #ADDR) - Register CNS: (call #9 (cns-update 'my.name *address*)) Amounts in copper (1 CVM = 1,000,000,000 copper).
Convex Transaction (Quick)transactExecute a Convex transaction in one step. Sends seed over network — use HTTPS with trusted peers only. For sensitive operations prefer prepare → signAndSubmit. Transactions update global state atomically. Amounts in copper (1 CVM = 1,000,000,000 copper).
Encode CAD3encodeEncode a CVM literal into CAD3 multi-cell hex bytes.
Decode CAD3decodeDecode CAD3 multi-cell hex bytes back into a CVM literal.
Submit Prepared TransactionsubmitSubmit a previously prepared transaction with hash, public key, and signature.
Sign and Submit TransactionsignAndSubmitSign and submit a prepared transaction. Use after 'prepare'. Sends seed over network — HTTPS only.
Hash CalculatorhashCompute a SHA-256 or SHA3 hash of supplied data.
Value SignersignSign raw hex data with an Ed25519 seed. For transactions, sign the 'hash' from prepare.
Peer StatuspeerStatusReturn current Convex peer status including consensus point and network state.
Key Pair GeneratorkeyGenGenerate a new Ed25519 key pair. Provide a seed for deterministic output, or omit for secure random.
Signature ValidatorvalidateValidate an Ed25519 signature against a public key and message bytes.
Create AccountcreateAccountCreate a new Convex account with the specified public key. Optionally fund via faucet (1 CVM = 1,000,000,000 copper, max 1 CVM).
Describe AccountdescribeAccountGet account info: balance, sequence number, defined symbols with metadata.
Symbol LookuplookupLook up a symbol in a Convex account environment. Returns existence, value (with optional path navigation), and metadata.
Resolve CNS NameresolveCNSResolve a CNS name to its record: value (usually an address), controller, metadata, and child node.
Get TransactiongetTransactionLook up a transaction by hash. Returns signed data, consensus position, and execution result.
Get BalancegetBalanceGet coin or token balance for an account. Returns balance in copper (1 CVM = 1,000,000,000 copper).
TransfertransferTransfer CVM coins or fungible tokens to another account. Amounts in copper for CVM (1 CVM = 1,000,000,000 copper).
Watch StatewatchStateWatch a path in the global CVM state for changes. Returns a watchId. Changes are delivered as SSE notifications on the session's GET /mcp stream. Requires an active session (Mcp-Session-Id).
Unwatch StateunwatchStateStop watching state paths. Provide a watchId to remove a single watch, or a path to remove all watches whose path starts with the given prefix. At least one of watchId or path must be provided.
Signing Service InfosigningServiceInfoCheck if the peer's signing service is available. No authentication required.
Create Signing KeysigningCreateKeyCreate a new Ed25519 key pair in the signing service. Private key stored encrypted server-side. Authenticated.
List Signing KeyssigningListKeysList all public keys stored in the signing service for the authenticated identity.
Sign with Stored KeysigningSignSign hex-encoded bytes using a stored signing service key. Authenticated.
Get Self-Signed JWTsigningGetJWTCreate a self-signed EdDSA JWT (did:key identity) using a stored signing key. Authenticated.
Transact via Signing ServicesigningTransactExecute a Convex transaction using a stored signing key. Private key never leaves the server. Authenticated.
Create Account via Signing ServicesigningCreateAccountCreate a new signing key and on-chain account in one step. Optionally fund via faucet. Authenticated.
List Signing AccountssigningListAccountsList signing keys and associated on-chain addresses for the authenticated identity.
Import Key (Signing Service)signingImportKeyImport an Ed25519 seed into the signing service. Elevated: first call returns confirmUrl for browser approval, retry with confirmToken.
Export Key (Signing Service)signingExportKeyExport (reveal) the private seed for a stored key. Elevated: first call returns confirmUrl, retry with confirmToken.
Delete Key (Signing Service)signingDeleteKeyPermanently delete a key from the signing service. Irreversible. Elevated: first call returns confirmUrl, retry with confirmToken.
Change Passphrase (Signing Service)signingChangePassphraseChange the passphrase for a stored signing key. Elevated: first call returns confirmUrl, retry with confirmToken.