# web3_list_keys

List all API keys for a wallet. Requires a fresh SIWE challenge signed with personal_sign.

Agent View of the PolicyLayer registry record for `web3_list_keys`. HTML page: https://policylayer.com/tools/0xarchiveio-0xarchive-mcp/web3-list-keys

## Facts

- Tool: `web3_list_keys`
- Server: 0xarchive (`0xarchiveio/0xarchive-mcp`) — https://policylayer.com/tools/0xarchiveio-0xarchive-mcp.md
- Homepage: https://github.com/0xArchiveIO/0xarchive-mcp
- Risk category: Read (Low risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "web3_list_keys",
    "arguments": {}
  }
}
```

## Why web3_list_keys is rated Low

This tool retrieves and enumerates API keys associated with a wallet. While the action itself is read-only (no data is modified or deleted), the sensitivity of the data returned—authentication credentials—elevates the severity. Unauthorized listing of API keys could enable an attacker to impersonate the wallet owner and access crypto market data or execute trades.

From the tool's own definition: "Tool description states it 'List[s] all API keys for a wallet' - a retrieval operation with no modification capability."

## Use case

AI agents call web3_list_keys to retrieve information from 0xarchive without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches 0xarchive:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "web3_list_keys": {}
  }
}
```

## Other tools on 0xarchive (4)

- `web3_revoke_key` — Destructive — https://policylayer.com/tools/0xarchiveio-0xarchive-mcp/web3-revoke-key.md
- `web3_subscribe` — Financial — https://policylayer.com/tools/0xarchiveio-0xarchive-mcp/web3-subscribe.md
- `web3_challenge` — Read — https://policylayer.com/tools/0xarchiveio-0xarchive-mcp/web3-challenge.md
- `web3_signup` — Write — https://policylayer.com/tools/0xarchiveio-0xarchive-mcp/web3-signup.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=0xarchiveio-0xarchive-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/0xarchiveio-0xarchive-mcp
