# namixai/signer-mcp [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/namixai/signer-mcp  
**GitHub Stars:** 2  
**npm Downloads (last month):** 249  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/namixai-signer-mcp

## Description
Keyless CEX/DEX signing for AI trading agents (Binance, OKX, Bybit, KuCoin, Hyperliquid, Asterdex). Signing keys never leave an AWS Nitro Enclave (attested PCR0); agents receive policy-bounded signatures, not credentials. Built to survive prompt injection and supply-chain key leaks. 5 tools, stdio. Install with npx -y @usenami/signer-mcp.

## Tools
Capabilities this server exposes over MCP:

- **get_verified_price** — Read a Uniswap V3 token price from The Graph and return it ONLY if four checks pass: the indexer signed the exact bytes that arrived, that signer resolves on chain to an indexer with stake, the reading is a usable price (a verified signature over a GraphQL error or a zero is not a price), and the price's own age is measured apart from the subgraph head's age — a head can be fresh while the price it carries is a year old. On refusal no price is returned and the answer names both the check that stopped it (`stage`) and that check's own reason (`cause`): `price_absent_or_zero`, `graphql_errors` and `price_stale` are three different problems with three different fixes. Costs one cent in USDC on Base per query and needs X402_PRIVATE_KEY set; without that key it refuses `no_payer_key` and spends nothing. Name the token by `token_address` when you can: a ticker is not a key, and this subgraph holds several tokens called WETH. With neither address nor ticker it returns the most recently priced tokens, filtered to those that actually carry a price. Runs OUTSIDE the enclave.
- **list_venues** — List the venues this Signer can sign trades for. Returns the venue id, asset class (perp / spot / margin), and auth scheme (hmac / eip712 / ed25519). Read-only static manifest — does NOT need the Signer gateway to be reachable. Call this first to discover what's signable.
- **get_attestation** — Fetch the Signer enclave's AWS Nitro attestation document with a FRESH NONCE and verify it locally, with no dependencies and no trust in this tool's own summary. Five named checks are returned and any of them can fail: the document decodes as a COSE_Sign1 (document_readable), the nonce inside it is the one just sent (nonce_echoed), its root certificate is the pinned AWS Nitro root (root_pinned), the certificate chain leads to that root (chain_verified), and the hardware signature covers these exact bytes (signature_verified). PCR0/PCR1/PCR2 are read out of the SIGNED bytes, not from a field beside them. WHAT THIS DOES NOT ESTABLISH: that PCR0 corresponds to the published source — rebuild the image from the public clone and compare, or query the on-chain PCR0 registry; and nothing about any past signature, since an attestation speaks about the code that answered this request. If any check is false, treat the document as no evidence rather than weak evidence.
- **get_account** — Return equity, free margin, and open positions for a venue. Read-only (does not sign anything that mutates state). Use BEFORE place_order to confirm the account has margin. Requires SIGNER_API_TOKEN.
- **place_order** — Place a single order on the named venue. Accepts canonical symbol (BTC / BTCUSDT) and qty in BASE ASSET; translates both to the venue's native format (okx sizes in contracts) and echoes the translation in the result — always check `translation.sent` to see what actually hit the exchange. The Signer enclave signs the venue-native payload using a key that has never been exported. Policy enforced server-side: orders that exceed per-asset caps are rejected by the enclave before signing. Returns the venue's order_id on success. Side effect: real or testnet trade depending on venue env.
- **place_hedge** — Place a 2-leg MARKET hedge ATOMICALLY: both legs are signed inside the enclave (if either leg fails policy, NOTHING executes), then the gateway fires both venue calls in parallel server-side — minimal leg gap, works even when a venue geo-blocks your residential IP. Accepts canonical symbol (BTC) + qty in BASE ASSET per leg (contract venues converted, translation echoed per leg). Result status: executed (both venue receipts accepted) | partial (ONE leg live — naked position, repair via legs[].outcome) | unknown (a receipt was lost — that leg MAY be live: reconcile with get_account BEFORE any retry, never blind-retry) | failed (both rejected, safe to retry). Market orders only in v1. Side effect: real or testnet trades.
- **cancel_order** — Cancel an outstanding order by its venue order_id. Signed inside the enclave just like place_order. Returns the cancellation receipt from the venue. Idempotent: cancelling a non-existent / already-filled order returns ok=false with a reason from the venue.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "signer-mcp": {
    "command": "npx",
    "args": ["-y","@usenami/signer-mcp"],
    "env": {
      "SIGNER_GATEWAY_URL": "",
      "SIGNER_API_TOKEN": "",
      "SIGNER_FETCH_TIMEOUT_MS": ""
    }
  }
}
```

**Requires environment variables:** `SIGNER_GATEWAY_URL`, `SIGNER_API_TOKEN`, `SIGNER_FETCH_TIMEOUT_MS` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What namixai/signer-mcp MCP server does

namixai/signer-mcp MCP server gives an MCP-aware client a controlled interface for exchange account reads and perpetual-futures order operations. Supported venue identifiers include Binance, OKX, Asterdex, KuCoin, Bybit, and Hyperliquid entries in the package manifest. The available operations include listing venues, retrieving enclave attestation, reading account state, placing one market or limit order, and cancelling an order by venue order ID.

The service is designed so the exchange signing key is generated and retained inside an AWS Nitro Enclave. The client receives the result of an approved signing operation rather than the credential itself. Order requests are checked against the policy attached to the caller's token, including venue permissions and configured caps.

## How it works

The package runs as a local stdio MCP process. It communicates with a configured Signer gateway, which handles requests involving the attested enclave. `list_venues` is different: it reads a static manifest bundled with the package and makes no network request. `get_attestation` retrieves a live NSM-signed document from the gateway, including the enclave's PCR0 measurement.

The PCR0 value can be compared with the published build by hashing the corresponding enclave image. This provides a way to inspect which enclave measurement AWS attested before authorizing trading actions.

`get_account` returns equity, free margin, and open positions for a venue. `place_order` supports a single market or limit order, subject to the enclave's policy checks. `cancel_order` accepts a venue order ID and is idempotent; an already-filled or unknown order returns an unsuccessful result with the venue's reason rather than raising an error.

## Setup and configuration

Install the package through npm and configure it as an MCP stdio server. The documented Claude Desktop command uses `npx -y @usenami/signer-mcp@^0.6.0`. Version 0.6.0 or later is important because earlier published versions used a gateway default that redirected requests to a landing page.

Set `SIGNER_GATEWAY_URL` to the hosted demo gateway or to a self-hosted deployment. Set `SIGNER_API_TOKEN` with the bearer token issued during the invite-based pilot. The token is needed for account and order tools, but not for `list_venues` or `get_attestation`. `SIGNER_FETCH_TIMEOUT_MS` optionally changes the per-request timeout and must be a positive integer.

The process reads the token at startup and keeps it in memory. The same stdio configuration can be reached from ElizaOS through its generic MCP bridge, although that bridge is separate from this package.

## Limitations and notes

The project is marked alpha and access is invite-based. The token's policy determines the permitted venue and network; the package's static venue list cannot reveal those token-specific details. Do not assume a testnet environment: the documentation warns that orders may use mainnet and real funds unless the token issuer confirms otherwise.

The signing design limits what a compromised agent can request to the active policy window, but it does not make incorrect orders safe. Review the attestation, venue status, notes, order parameters, and policy before enabling execution. `list_venues` succeeding does not prove that the configured gateway is reachable because it does not contact the gateway.

_Full upstream README: https://allmcps.com/mcp/namixai-signer-mcp/readme_

