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

@tychilabs/tyi-mcp

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tychilabs/tyi-mcp

Agent-native Tychi wallet MCP — onboard, status, chat, reset. Self-custody keys local; brain runs agent logic. Pin 1.0.0-beta.8.

beta
latest
npmnpm
Version
1.0.0-beta.8
Version published
Weekly downloads
75
8.7%
Maintainers
1
Weekly downloads
 
Created
Source

Tychi MCP (@tychilabs/tyi-mcp)

npm beta node mcp chain custody website license

Give your AI agent a wallet — onboard, hold funds, send, and pay under policy.

Agent-native MCP server (stdio) for Cursor and other hosts. Nine tools: routing (tyi_route), readiness (tyi_status), onboarding, fast wallet lifecycle (create / import / switch), and tyi_chat for balances, sends, and policy-gated payments on Arbitrum One. Private keys encrypted in ~/.tyi on the operator machine; signing never leaves the device. Hosted Tychi brain parses intent and runs the LLM — configure TYCHI_BRAIN_URL (HTTPS recommended; see SECURITY.md).

Agents → @tychilabs/tyi-mcp@1.0.0-beta.8 · Humans → @tychilabs/tyi

Tychi agent wallet architecture

What it does

  • Agent routingtyi_route maps intent → correct tool (avoids slow misuse of tyi_chat)
  • Readiness gatetyi_status checks mode before any wallet action
  • Onboardingtyi_onboard + tyi_onboard_schema for first-time setup (password, LLM provider, API key)
  • Wallet lifecycletyi_create_wallet, tyi_import_wallet, tyi_switch_wallet (fast, no brain loop)
  • Agent chattyi_chat for balances, sends, transfers, payments, policy, limits, history
  • Multi-wallet — create, import, switch active wallet from one keystore
  • Policy caps — spend limits enforced before signing
  • Local signing — private keys in memory on operator machine only
  • Gasless routing — UGF payment rails for cross-chain gas settlement
  • Audit log — local activity trail in ~/.tyi
  • Resettyi_reset wipes local data when operator confirms

Beta ships on Arbitrum One (chain id 42161) — EVM balances, sends, and UGF gasless payments. More chains in registry; Solana/Sui import supported.

Arbitrum One

Onchain agent wallet on Arbitrum One — self-custody, local signing, UGF gas routing today:

RoadmapWhat it unlocks
AutomationPolicy-gated agents — recurring sends, triggers, scheduled flows
TradingSpot swaps across Arbitrum liquidity — agent quotes, operator confirms
LendingSupply on Arbitrum money markets — yield without leaving keystore
BorrowingCollateralized borrow — cap-enforced, fully self-custodial

Agent flow (mandatory)

tyi_route → tyi_status
  → direct tool (onboard / create / import / switch / reset)   ← FAST
  → tyi_chat (balance / send / pay / policy only)              ← SLOW

Never call tyi_chat when tyi_status.ready is false.

Import seed or private key → tyi_import_wallet only (never via tyi_chat).

Tools

ToolUse when
tyi_routeFirst — intent → tool map
tyi_statusSession start — ready? what's missing?
tyi_onboard_schemaField schema before onboard
tyi_onboardFirst setup or LLM-only setup
tyi_create_walletNew wallet by name
tyi_import_walletImport mnemonic or privkey (EVM / Solana / Sui)
tyi_switch_walletChange active wallet
tyi_resetWipe ~/.tyi (confirm: true)
tyi_chatBalance, send, pay, transfer, policy, limits

Install

Pin the release (do not use floating @beta in production):

npx @tychilabs/tyi-mcp@1.0.0-beta.8
npx @tychilabs/tyi-mcp@1.0.0-beta.8 --tools

Security

See SECURITY.md — trust model, brain transport (HTTP beta endpoint), sensitive tools, supply-chain pinning. No install scripts.

MCP host config

Repo includes .mcp.json (Open Plugins) for Cursor Directory. Set TYI_PASSWORD and TYCHI_BRAIN_URL in host env (HTTPS brain recommended).

{
  "mcpServers": {
    "tychi": {
      "command": "npx",
      "args": ["@tychilabs/tyi-mcp@1.0.0-beta.8"],
      "env": {
        "TYI_PASSWORD": "<from tyi_onboard>",
        "TYCHI_BRAIN_URL": "<https brain URL — required>"
      }
    }
  }
}

Beta default if unset in code: http://hosted_brain.tychilabs.com — use HTTPS self-host or trusted network only.

OpenClaw:

openclaw mcp set tychi '{"command":"npx","args":["@tychilabs/tyi-mcp@1.0.0-beta.8"],"env":{"TYI_PASSWORD":"<password>","TYCHI_BRAIN_URL":"<https brain URL>"}}'
openclaw mcp reload

Onboarding modes

ModeMeaning
freshNo wallet — run tyi_onboard
llm_onlyWallet exists, no LLM key — onboard LLM fields only
readyOK for tyi_chat

Operator provides (never invent): keystore password, LLM provider + API key, optional mnemonic for import.

Prefer MCP env for TYI_PASSWORD over chat after onboard.

FieldPrompt
passwordKeystore password for ~/.tyi → later TYI_PASSWORD in MCP env
agent_nameAgent name (default Tychi)
llm_provideranthropic | gemini | openai | groq
llm_api_keyProvider API key (validated, stored encrypted on brain)
mnemonicOptional import (fresh only)

Remove integration + data

  • tyi_reset with { "confirm": true } — wipes ~/.tyi
  • Remove TYI_PASSWORD from MCP env
  • OpenClaw: openclaw mcp unset tychi then openclaw mcp reload

Errors

SymptomAction
not_ready on chatRun onboard flow
TYI_PASSWORD env requiredSet env after onboard; reload host
no_llm_key / missing llm_keytyi_onboard llm_only
partial installtyi_reset then fresh onboard
fetch failed on brainSet TYCHI_BRAIN_URL explicitly; use HTTPS self-host or beta http://hosted_brain.tychilabs.com

Environment

VariableRequiredDefault
TYI_PASSWORDAfter onboard
TYCHI_BRAIN_URLRecommendedhttp://hosted_brain.tychilabs.com (beta; prefer HTTPS override)
TYI_DATA_DIRNo~/.tyi
KEYSTORE_PASSWORDAliassame as TYI_PASSWORD

License

Apache License 2.0 — see LICENSE. Runtime dependency: @tychilabs/tyi.

Keywords

mcp

FAQs

Package last updated on 15 Jun 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