Start the MCP server
Generate config
mcp-config output when agw-cli is already installed on the machine. Use --npx when you want an npx-based host configuration.
Good host fits
- Claude Code
- Codex-compatible MCP hosts
- Gemini
- other MCP-capable local agent hosts
What the MCP server exposes
The MCP server inherits the CLI command surface, including:- wallet reads
- transaction preview and execution
- contract actions
- app discovery
- Portal queries
Recommended setup
- Complete
Install and Authenticate - Start
agw-cli mcp serve --sanitize strict - Paste the config snippet into your MCP host
- Test a read-only command before enabling write workflows
Write-safety model
- reads can run directly
- state-changing operations should be previewed first
- execution requires explicit
--execute