- OpenAI Codex CLI installed
- ChatGPT Pro subscription
- Node.js 20+
Codex supports MCP servers via STDIO transport only (not remote HTTP/SSE). To
connect to the remote Sei MCP server, we use mcp-remote as a bridge.
# 1. Clone the repo
git clone https://github.com/stakeme-team/sei-agent-kit
cd sei-agent-kit
# 2. Install dependencies
npm install
# 3. Create a wallet
npm run wallet:simple
# 4. Run Codex
codexCodex reads .codex/config.toml, which uses mcp-remote to proxy the Sei MCP
server through STDIO.
The .codex/config.toml contains:
[mcp_servers.sei]
command = "npx"
args = ["mcp-remote", "https://api.seistream.app/mcp"]In Codex, ask:
"Check my Sei balances — addresses are in .env as WALLET_ADDRESS and COSMOS_ADDRESS"
"Send 0.001 SEI to myself on the Cosmos side"
"Deploy the SimpleStorage contract and verify it on Seistream"
- mcp-remote not found: Run
npm install -g mcp-remote - Timeout errors: The
mcp-remotebridge may have connection timeouts. Try restarting Codex. - Tool discovery fails: Ensure
https://api.seistream.app/mcpis accessible from your network.