🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@thryx/portfolio-mcp-server

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thryx/portfolio-mcp-server

MCP server exposing the THRYX onchain contract portfolio (14 mainnet contracts on Base) as agent-callable tools — DeadManSwitch, KeeperBountyLab, OnchainPrimitives (StealthAddressRegistry EIP-5564, AddressTaggingMarket, TimeCapsule, etc.), and Clanker-V4

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

@thryx/portfolio-mcp-server

MCP server for the THRYX onchain contract portfolio. Read-only tools that any AI agent can install in 30 seconds and immediately query 14 deployed contracts on Base mainnet.

npm

The THRYX treasury has shipped 14 contracts on Base mainnet so far:

  • DeadManSwitch — on-chain inheritance switch with bounty triggers
  • KeeperBountyLab (6) — ManualFloorOracle, VestingAutoClaim, EnsAutoRenewer, DaoProposalExecutor, NftCancelOnFloorDrop, CurveGraduationPusher
  • OnchainPrimitives Lab (7) — StealthAddressRegistry (EIP-5564 + EIP-6538), SlashablePromiseVault, ConditionalTokenDrop, TimeCapsule, AddressTaggingMarket, GroupBountyPool, AtomicSwapHTLC
  • 4 Clanker-V4 tokens — Aletheia (ALETH), Mnemosyne (MNEM), Huginn (HUGIN), Custos (CUSTOS)

Canonical machine-readable index: https://lordbasilaiassistant-sudo.github.io/thryx-deployments/addresses.json.

This MCP server wraps that index plus per-contract view-function helpers so any AI agent (Claude, Cursor, Cline, Continue, etc.) can:

  • Discover what's deployed without scraping web pages
  • Read DeadManSwitch state by switch ID
  • Look up address attestations from the AddressTaggingMarket
  • Resolve EIP-5564 stealth meta-addresses for any registrant
  • Check TimeCapsule unlock state
  • Query ERC-20 supplies and balances for THRYX-launched tokens
  • Call any whitelisted view function via a generic thryx_call_contract tool

Read-only by design. Nothing in this server can sign or submit a transaction.

Install — 30 seconds

Add to your MCP client config (Claude Desktop, Cursor, Cline, Continue, etc.):

{
  "mcpServers": {
    "thryx-portfolio": {
      "command": "npx",
      "args": ["-y", "@thryx/portfolio-mcp-server"]
    }
  }
}

Restart your client. The server pulls the live address index on first use and caches it for 60 seconds.

Optional: custom Base RPC

Default is the public Base RPC (https://mainnet.base.org). For higher rate limits, set BASE_RPC_URL:

{
  "mcpServers": {
    "thryx-portfolio": {
      "command": "npx",
      "args": ["-y", "@thryx/portfolio-mcp-server"],
      "env": { "BASE_RPC_URL": "https://base-mainnet.g.alchemy.com/v2/YOUR_KEY" }
    }
  }
}

Tools

Portfolio (no RPC required)

ToolWhat it returns
thryx_portfolio_summaryHigh-level summary: contract count, token count, treasury, chain, links
thryx_list_contractsEvery contract; optional category filter
thryx_get_contractSingle contract by name or address — incl. curated read-only ABI
thryx_list_tokensEvery Clanker-V4 token in the portfolio
thryx_get_tokenSingle token by symbol/name/address

On-chain reads (Base mainnet)

ToolReads
thryx_dms_get_switchDeadManSwitch by ID — depositor, beneficiary, deadline, isAlive
thryx_dms_total_switchesCount of all DeadManSwitch positions
thryx_dms_switches_bySwitch IDs by depositor or beneficiary address
thryx_attestations_forAddressTaggingMarket attestations + top label for an address
thryx_attestations_totalTotal attestations ever made
thryx_stealth_meta_addressEIP-5564 stealth meta-address for a registrant + scheme ID
thryx_capsule_statusTimeCapsule unlock check + creator/recipient lookups
thryx_token_supplyERC-20 read for THRYX tokens or any Base ERC-20
thryx_call_contractGeneric ABI-gated view-fn caller for any portfolio contract

Why MCP?

Model Context Protocol is the open standard for connecting AI assistants to real tools. Instead of asking an agent to describe a contract, this server lets the agent read it. Lower hallucination risk, real on-chain state, no custom client integration needed.

The THRYX deployments index is also consumable directly — just GET the JSON URL above. The MCP server adds typed tool surfaces and live chain reads on top.

Sibling packages

Anthony Snider also publishes:

This package is the portfolio server: discovery + read state on the contracts the THRYX treasury has actually shipped.

License

MIT. The deployments index itself is CC0-1.0.

Author

Anthony Snider · drlordbasil@gmail.com · thryx.fun

Keywords

mcp

FAQs

Package last updated on 04 May 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts