chain-signer provides MCP tools and Python helpers to analyze unsigned EVM transactions, inspect EIP-712 typed data, and enforce action policies before an agent signs or executes them. It also includes a non-custodial wallet for creating, restoring, sending, swapping, and signing locally, with optional Bitcoin and Solana support.
From the registry: Security suite for AI agents: flag drains, permit-phishing & risky actions before signing.
$ pip install chain-signer$ export ETHERSCAN_API_KEY=<your-api-key>Please install the `chain-signer` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Install chain-signer Python package** — Install the MCP server package from PyPI. Run: `pip install chain-signer`
Optional prerequisites:
- Optional API key for live balance reads and broadcasting — Set an Etherscan API key if you want live balance reads and transaction broadcasting. The MCP server can run without it for read-only/offline guard functionality. Run: `export ETHERSCAN_API_KEY=<your-api-key>`
Canonical MCP server config (stdio transport):
- command: `chain-signer-mcp`
- args: []
- optional environment variables:
- `ETHERSCAN_API_KEY`: Etherscan v2 API key for live balance reads and broadcasting; not required for offline/read-only guard tools. (example: `<your-api-key>`)
Note: The MCP server is started via the `chain-signer-mcp` CLI and communicates over stdio. README also notes `python -m chain_signer ...` for the general CLI, but the documented MCP entrypoint is `chain-signer-mcp`. Optional extras `pip install "chain-signer[all]"` add Bitcoin/Solana support, but the simplest portable install is `pip install chain-signer`.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.ETHERSCAN_API_KEYrequiredUsed for live balance reads and transaction broadcast via Etherscan v2.Dead code, security, secrets detection and code quality for Python, TypeScript, Go.