Featured

Deploy OpenClaw in 60 seconds β€” 20% off logoDeploy OpenClaw in 60 seconds β€” 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger β†’
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger β†’
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free β†’
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free β†’
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data β€” no proxies, no parsers, no maintenance.

Start building free β†’
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it β€” secured from day one.

Get it set up for you β†’
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free β†’
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here β†’

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

namixai/signer-mcp MCP server](https://glama.ai/mcp/servers/namixai/signer-mcp/badges/score.svg)](https://glama.ai/mcp/servers/namixai/signer-mcp) πŸ“‡ ☁️ - Keyless CEX/DEX signing for AI trading agents (Binance, OKX, Bybit, KuCoin, Hyperliquid, Asterdex).

README.md

@usenami/signer-mcp

Sign CEX orders from any MCP-aware AI agent β€” keys never leave an AWS Nitro Enclave.

signer-mcp is the public face of Usenami Signer. It gives Claude Desktop, Cursor, ElizaOS, and any other MCP-aware client a five-tool surface for trading real CEX/DEX perp accounts (Binance, OKX, Asterdex, KuCoin, Bybit, Hyperliquid) without ever loading a private key into the agent's process β€” or yours.

Status: v0 (alpha). List of venues, attestation, account read, and place/cancel order on testnet.

---

Why this exists

Every agent framework that touches a CEX today loads the API key into the agent process. That puts the secret on disk, in env vars, in npm packages, in prompt-engineered tool calls, and in your shell history. One prompt injection, one supply-chain compromise, one accidental log line, one curious co-worker β€” and the key leaks.

Signer takes the opposite approach. The signing key is generated inside an AWS Nitro Enclave attested by AWS itself. The enclave's measurement (PCR0) is published on https://usenami.io/signer/attestations. The MCP server you install here can ask the enclave to sign a specific order β€” bounded by an explicit policy (per-asset cap, per-period cap, allowed venues) β€” but it cannot read the key. Neither can the agent, your laptop, your IaC, or our own engineers.

If the agent gets compromised, the worst it can do is place orders inside your policy window. The key itself stays attested.

---

Quick start (Claude Desktop)

  1. Get a token. Sign in at usenami.io/signer and create an API token. The token is bound to a single policy β€” set per-venue caps before generating it.
  2. Edit claude_desktop_config.json. Path is ~/Library/Application Support/Claude/claude_desktop_config.json on macOS.
   {
     "mcpServers": {
       "signer": {
         "command": "npx",
         "args": ["-y", "@usenami/signer-mcp"],
         "env": {
           "SIGNER_GATEWAY_URL": "https://signer.usenami.io",
           "SIGNER_API_TOKEN": "sk_live_..."
         }
       }
     }
   }
  1. Restart Claude Desktop and look for the πŸ”Œ plug icon. You should see five tools listed under signer.
  2. Try the read-only tools first. Ask Claude:

"List the venues available through Signer, then return the current attestation document."

No funds at risk β€” these don't sign anything.

  1. Once you trust the attestation, place a tiny test order:

"Get my Binance account, then if I have at least $20 of free margin, place a market buy for 0.001 BTC."

If anything looks wrong, the agent can call cancel_order immediately.

---

Quick start (ElizaOS)

ElizaOS agents reach Signer through the generic MCP plugin @elizaos/plugin-mcp β€” no Signer-specific plugin required (a native @usenami/eliza-plugin-signer may come later). Add the plugin and point it at the package over stdio:

npm install @elizaos/plugin-mcp

Then in your character / agent config:

{
  "plugins": ["@elizaos/plugin-mcp"],
  "settings": {
    "mcp": {
      "servers": {
        "signer": {
          "type": "stdio",
          "command": "npx",
          "args": ["-y", "@usenami/signer-mcp"],
          "env": {
            "SIGNER_GATEWAY_URL": "https://signer.usenami.io",
            "SIGNER_API_TOKEN": "sk_live_..."
          }
        }
      }
    }
  }
}

The agent now exposes the same five tools (list_venues, get_attestation, get_account, place_order, cancel_order). Same trust model: the signing key never enters the Eliza process β€” start the agent on the read-only tools (list_venues / get_attestation) and verify the attestation before letting it place orders.

---

Configuration

Environment variables passed via the env block of claude_desktop_config.json (or your client's equivalent):

| Variable | Required | Default | Notes | |---|---|---|---| | SIGNER_GATEWAY_URL | no | https://signer.usenami.io | Override for self-hosted or staging deployments. | | SIGNER_API_TOKEN | yes (for paid tools) | β€” | Bearer token issued by usenami.io/signer. list_venues works without one; everything else requires it. | | SIGNER_FETCH_TIMEOUT_MS | no | 30000 | Per-request fetch timeout in ms. Lower for CI / smoke tests; raise on slow links. Must be positive integer. |

The MCP server itself stores nothing on disk. Tokens are read from environment on startup and held in memory for the lifetime of the process β€” kill the agent, the token goes with it.

---

Tool reference

list_venues

Returns the static manifest of venues this Signer can sign for. Read-only, does not contact the gateway, works without a token. Call this first to discover what's supported.

{
  "venues": [
    {
      "venue": "binance",
      "asset_class": "perp",
      "auth_scheme": "hmac_sha256",
      "notes": "..."
    }
  ],
  "count": 6
}

Supported venues

| venue id | asset class | auth scheme | symbol example | notes | |---------------------|-------------|---------------|-----------------|-------| | binance | perp | hmac_sha256 | BTCUSDT | Binance USD-M futures | | okx | perp | hmac_sha256 | BTC-USDT-SWAP | OKX perpetual swap | | asterdex | perp | eip712 (bsc) | BTC-USD | Asterdex on-chain perp (BSC) | | kucoin | perp | hmac_sha256 | XBTUSDTM | KuCoin Futures (HMAC + encrypted passphrase); qty in contracts | | bybit | perp | hmac_sha256 | BTCUSDT | Bybit V5 linear (category=linear) | | hyperliquid_main | perp | eip712 (hyperliquid) | BTC | Hyperliquid L1 perp; account read is the public clearinghouseState |

The agent config block is identical for every venue β€” point SIGNER_GATEWAY_URL at your Signer and set SIGNER_API_TOKEN. Which venues a given token may trade is bound server-side to that token's policy; list_venues reports the full set the gateway can sign, not your per-token allow-list.

get_attestation

Returns the Nitro attestation document for the currently-running enclave. The PCR0 measurement here is what AWS signed when it booted the enclave; you can verify it matches the published build by hashing the corresponding EIF and comparing.

{
  "pcr0": "...sha384 hex...",
  "pcr1": "...",
  "pcr2": "...",
  "signature": "...AWS-issued...",
  "issued_at": "2026-05-31T18:00:00Z"
}

Read-only.

get_account

Returns equity, free margin, and open positions for a venue.

{
  "venue": "binance",
  "equity_usd": 145.32,
  "free_margin_usd": 92.10,
  "positions": [
    { "symbol": "BTCUSDT", "qty": 0.002, "entry_price": 67120.5 }
  ],
  "updated_at": "2026-05-31T18:01:11Z"
}

Read-only. Requires SIGNER_API_TOKEN.

place_order

Place a single market or limit order. The enclave signs the payload after checking policy caps.

Args:

  • venue β€” one of binance | okx | asterdex | kucoin | bybit | hyperliquid_main
  • symbol β€” canonical (BTC, BTCUSDT, BTC/USDT) or venue-native (BTC-USDT-SWAP, XBTUSDTM, …). The client translates to the venue's native format and echoes it back.
  • side β€” buy | sell
  • qty β€” always base-asset quantity (e.g. 0.001 for 0.001 BTC). Not USD-notional, not venue contracts. Contract-denominated venues (okx: 1 contract = 0.01 BTC on BTC-USDT-SWAP) are converted automatically; sizes off the venue's contract grid are rejected, never silently rounded.
  • type β€” market | limit
  • price β€” required if type=limit, ignored if type=market
  • policy_id β€” optional override; defaults to the policy bound to your token

The result includes a translation echo β€” check translation.sent to see the exact venue-native symbol + size that hit the exchange:

{
  "requested": { "symbol": "BTC", "qty": 0.01, "unit": "base_asset" },
  "sent": { "symbol": "BTC-USDT-SWAP", "qty": "1", "unit": "contracts", "ctVal": "0.01" }
}
{
  "venue": "binance",
  "order_id": "...",
  "status": "FILLED",
  "filled_qty": 0.001,
  "avg_fill_price": 67128.9,
  "policy_id": "default",
  "attested_at": "..."
}

Destructive. Requires SIGNER_API_TOKEN. v0 routes Binance/OKX to testnet until pilot graduates.

cancel_order

Cancels an outstanding order by its venue order id. Idempotent β€” cancelling an already-filled or non-existent order returns ok: false with a venue reason instead of erroring.

Args:

  • venue β€” same enum as place_order
  • order_id β€” the venue id returned by place_order

Requires SIGNER_API_TOKEN.

---

Verifying the attestation

A trustworthy Signer is one whose enclave measurement matches a build you can audit. The workflow:

  1. Call get_attestation and copy the returned pcr0.
  2. Visit usenami.io/signer/attestations.
  3. Cross-reference the PCR0 against the published build for the current production version.
  4. Optionally rebuild the EIF from source (instructions on the same page) and verify the SHA384 hash yourself.

If the published PCR0 doesn't match what get_attestation returns, don't trade. Open an issue.

---

What v0 deliberately does NOT do

v0 keeps the surface deliberately tight:

  • No multi-tenant: one account per venue per token.
  • No UPL editing UI: policies are set out-of-band on usenami.io/signer.
  • No WebSocket / streaming tools β€” REST only.
  • No cross-venue routing (place_order takes one venue).
  • No leverage configuration (set_leverage) β€” uses account defaults.
  • No withdrawals / transfers (closest is cancel_order).
  • No TWAP / iceberg β€” single-shot orders only.
  • stdio transport only β€” no SSE or remote HTTP.

If you need any of the above, file an issue describing the use case. v0 keeps the surface tight on purpose.

---

Development

# install deps
npm install

# typecheck + build
npm run build

# run from source against staging
SIGNER_GATEWAY_URL=https://staging.signer.usenami.io \
SIGNER_API_TOKEN=sk_test_... \
npm run dev

The transport is stdio; you'll need an MCP-aware client to actually exercise the tools. The Anthropic mcp-inspector is the fastest way to poke at it locally.

---

License

MIT. See LICENSE.

See related servers & alternatives β†’

Related MCP servers

Browse all β†’

Related guides

Hand-picked reading to help you choose and use Cloud & DevOps servers.