mochipi
v0.1.4
Published
Import MCP servers into your MoChiPi wallet
Maintainers
Readme
MoChiPi CLI
Import remote MCP servers into a MoChiPi wallet without copying credentials into the browser.
Mint a temporary import token in your wallet, then run:
npx mochipi import codex --wallet-token 'mwi_...'The command discovers enabled HTTP MCP servers from codex mcp list --json, resolves configured header environment variables locally, and sends credentials directly to your wallet over HTTPS. It never prints header values or bearer tokens. OAuth servers are imported without copying Codex-managed sessions; the MoChiPi dashboard shows Authenticate so the user can authorize each imported server directly.
Add one server directly:
npx mochipi add sentry https://mcp.sentry.dev/mcp \
--header 'Authorization: Bearer your-token' \
--wallet-token 'mwi_...'If the server uses client-managed OAuth or its credentials are not portable, add it as an authentication placeholder instead:
npx mochipi add linear https://mcp.linear.app/mcp \
--oauth \
--wallet-token 'mwi_...'Options:
--header 'Name: value'adds a literal header.--oauthadds the server without credentials so the dashboard shows Authenticate.--api-url URLselects the MoChiPi API (the wallet UI includes the correct value).--dry-runpreviews discovery without importing.--jsonemits machine-readable results; secrets are always omitted.--no-pluginsskips portable MCP manifests found in installed Codex plugins.
Import tokens are stateless, expire after five minutes, and are cleared from the wallet UI when its dialog closes.
