thryx-portfolio

v1.0.0
io.github.lordbasilaiassistant-sudo/thryx-portfolio Checked 4 days ago Published 7 months ago

Read-only MCP server for the THRYX onchain portfolio (14 contracts on Base mainnet).

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

thryx_list_contracts

List every contract in the THRYX onchain portfolio (DeadManSwitch, KeeperBountyLab keeper bots, Onchain Primitives Lab — StealthAddressRegistry/EIP-5564, AddressTaggingMarket, TimeCapsule, SlashablePromiseVault, GroupBountyPool, AtomicSwapHTLC, ConditionalTokenDrop). Returns name, address, category, repo, and explorer link for each. Pulled live from the canonical addresses.json so it stays in sync with new deployments.

ParameterTypeDescription
categorystringOptional filter: deadManSwitch, keeperBountyLab, onchainPrimitives.

thryx_get_contract

Look up a single contract by name or address. Returns address, category, summary, repo URL, explorer URL, and the read-only ABI (view functions) the MCP server knows about. Use this before calling thryx_call_contract to discover what view functions are available.

ParameterTypeDescription
query *stringContract name (e.g. 'DeadManSwitch', 'TimeCapsule') or 0x address.

thryx_list_tokens

List every ERC-20 token launched by the THRYX treasury (Clanker V4 LP-fee earners on Base mainnet — currently Aletheia/ALETH, Mnemosyne/MNEM, Huginn/HUGIN, Custos/CUSTOS). Returns name, symbol, address, platform, and clanker.world URL.

thryx_get_token

Look up a single THRYX-launched token by symbol, name, or address. Returns address, platform, and clanker.world link (where LP fees are claimable for the token's deployer).

ParameterTypeDescription
query *stringToken symbol (e.g. 'ALETH'), name (e.g. 'Aletheia'), or 0x address.

thryx_portfolio_summary

High-level summary of the entire THRYX onchain portfolio: contract count, token count, treasury address, chain info, and links to the canonical addresses.json and homepage. Useful as a first call to understand the scope before drilling in.

thryx_dms_get_switch

Read a single DeadManSwitch by ID. Returns depositor, beneficiary, locked amount (wei), ping interval, last-ping timestamp, claimed flag, computed deadline, and isAlive boolean. Use this to check whether a switch is healthy or eligible for triggering by anyone (open bounty after deadline).

ParameterTypeDescription
switch_id *integerThe switch ID (0-indexed).

thryx_dms_total_switches

Returns the total number of DeadManSwitch positions ever created. Useful for iterating IDs 0..N-1.

thryx_dms_switches_by

List DeadManSwitch IDs owned by a depositor address OR designated to a beneficiary address. Choose role='depositor' or role='beneficiary'.

ParameterTypeDescription
address *string0x address to query.
role *string'depositor' (creator) or 'beneficiary' (recipient).

thryx_attestations_for

Look up the on-chain reputation/attestations on an Ethereum address from the THRYX AddressTaggingMarket. Returns the list of attestation IDs and the current 'top label' (highest-stake attestation) for that address. Powerful for AI agents doing safety triage on counterparties.

ParameterTypeDescription
address *stringSubject address to query attestations on.

thryx_attestations_total

Returns the total number of attestations ever made through the AddressTaggingMarket.

thryx_stealth_meta_address

Fetch the EIP-5564 / EIP-6538 stealth meta-address registered by an address for a given scheme ID (typically schemeId=1 for the SECP256k1 scheme). Returns the raw bytes and a hasMetaAddress boolean. Lets agents check if a recipient supports stealth-address payments before constructing one.

ParameterTypeDescription
registrant *stringAddress whose stealth meta-address you want.
scheme_idintegerStealth address scheme ID (default 1 = SECP256k1 per EIP-5564).

thryx_capsule_status

Check whether a TimeCapsule is unlocked yet, and return the total number of capsules created. Optionally supply a creator/recipient address to list capsule IDs owned by that party.

ParameterTypeDescription
addressstringOptional creator or recipient address — listed by role param.
capsule_idintegerOptional capsule ID — if provided, returns isUnlocked for that capsule.
rolestringRequired if 'address' is set — 'creator' or 'recipient'.

thryx_token_supply

ERC-20 read for any THRYX-launched token (Aletheia/ALETH, Mnemosyne/MNEM, Huginn/HUGIN, Custos/CUSTOS) or any other Base ERC-20. Returns name, symbol, decimals, total supply (raw and formatted), and optionally a balance for an address.

ParameterTypeDescription
token *stringToken address OR THRYX symbol (ALETH/MNEM/HUGIN/CUSTOS).
holderstringOptional holder address — returns its balance.

thryx_call_contract

Generic read-only call against any THRYX portfolio contract. Pass the contract name (e.g. 'GroupBountyPool') or 0x address, the view function name, and JSON-encoded args. Use thryx_get_contract to discover available functions. Refuses non-view functions — this server cannot send transactions.

ParameterTypeDescription
contract *stringContract name (e.g. 'EnsAutoRenewer') or 0x address of any THRYX contract.
function_name *stringView function to call (e.g. 'totalJobs').
argsarrayFunction arguments as a JSON array. Empty if none.