mcpField
T
Tychi Mcp

Tychi Mcp

Local
github.com/TychiWalletAI & Agents3Updated 19w ago

About Tychi Mcp

Tychi Mcp is a stdio MCP server for agents that need to onboard and operate a self-custody wallet. It supports wallet management and Arbitrum One balance checks, transfers, and policy-gated payments, with private keys kept and signing performed on the operator's device.

Key features

  1. 01Onboard and check wallet readiness
  2. 02Create, import, and switch wallets
  3. 03Check balances and send funds
  4. 04Enforce spend limits before signing
  5. 05Keep private keys and signing local

Use cases

  1. 01Set up a wallet for an agent
  2. 02Switch between wallets in one keystore
  3. 03Check an Arbitrum One balance or send funds
  4. 04Require policy limits for agent payments

MCP support

The stdio MCP server exposes nine tools for routing, readiness, onboarding, wallet lifecycle, and wallet actions. It connects to the hosted Tychi brain for intent parsing and LLM execution; signing remains local.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"tyi": {
"command": "npx",
"args": [
"-y",
"@tychilabs/tyi-mcp"
],
"env": {
"TYI_PASSWORD": "<TYI_PASSWORD>",
"TYCHI_BRAIN_URL": "<TYCHI_BRAIN_URL>"
}
}
}
}
Run commandnpx -y @tychilabs/tyi-mcp
Environment variables to set
TYI_PASSWORDSecretKeystore password for ~/.tyi (set after tyi_onboard)
TYCHI_BRAIN_URLTychi brain API URL (HTTPS recommended)

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@tychilabs/tyi-mcp1.0.0-beta.8

Tools

9

Saved tool list · updated 3w ago

This tool takes no parameters.

Details

From the project README

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/[email protected] · Humans → @tychilabs/tyi

Tychi agent wallet architecture


What it does

  • Agent routing — tyi_route maps intent → correct tool (avoids slow misuse of tyi_chat)
  • Readiness gate — tyi_status checks mode before any wallet action
  • Onboarding — tyi_onboard + tyi_onboard_schema for first-time setup (password, LLM provider, API key)
  • Wallet lifecycle — tyi_create_wallet, tyi_import_wallet, tyi_switch_wallet (fast, no brain loop)
  • Agent chat — tyi_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
  • Reset — tyi_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/[email protected]
npx @tychilabs/[email protected] --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/[email protected]"],
      "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/[email protected]"],"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

  1. tyi_reset with { "confirm": true } — wipes ~/.tyi
  2. Remove TYI_PASSWORD from MCP env
  3. 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

Links


License

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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.