[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-107934":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":13,"stars7d":15,"stars30d":16,"stars90d":13,"forks30d":13,"starsTrendScore":17,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":10,"pushedAt":31,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":13,"starSnapshotCount":13,"syncStatus":35,"lastSyncTime":36,"discoverSource":37},107934,"elysium-chain-mcp","ElysiumForge-Labs\u002Felysium-chain-mcp","ElysiumForge-Labs","MCP server for AI agents to read and interact with Elysium, Kinetiq’s Arbitrum Orbit L2 on Hyperliquid","https:\u002F\u002Fgithub.com\u002FElysiumForge-Labs",null,"TypeScript",156,0,67,6,56,4,45.6,false,"main",true,[23,24,25,26,27,28,29,30],"ai-agents","elysium","evm","hyperliquid","kinetiq","mcp","model-context-protocol","typescript","2026-10-30 16:04:18","2026-11-23 12:54:55","# elysium-chain-mcp\n\nMCP server so AI agents can read and interact with the Elysium chain (Kinetiq's Arbitrum Orbit L2 for Hyperliquid).\n\nPart of [ElysiumForge Labs](https:\u002F\u002Fgithub.com\u002FElysiumForge-Labs).\n\nAn agent can read blocks, balances, contracts, and logs over JSON-RPC, and can query the block explorer when that API is configured. Sending transactions is a separate switch, and it accepts only Elysium testnet (chain ID `99801`).\n\nReads follow `ELYSIUM_RPC_URL`. Write tools stay unregistered until `ENABLE_WRITES=true`, and the process accepts them only on chain ID `99801`.\n\nFor a first connection, follow [Start here](docs\u002FSTART.md), then the prompts in [Examples](docs\u002FEXAMPLES.md).\n\n## Requirements\n\nNode.js 20 or newer.\n\n## Client setup\n\nThe RPC URL and chain ID below are the public testnet values from the [chain specifications](https:\u002F\u002Felysium.kinetiq.xyz\u002Fdocs\u002Fchain-specifications).\n\n```json\n{\n  \"mcpServers\": {\n    \"elysium\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"elysium-chain-mcp\"],\n      \"env\": {\n        \"ELYSIUM_RPC_URL\": \"https:\u002F\u002Ftestnet-rpc.elysium.kinetiq.xyz\",\n        \"ELYSIUM_CHAIN_ID\": \"99801\"\n      }\n    }\n  }\n}\n```\n\nClaude Desktop (`claude_desktop_config.json`) and Cursor (`mcp.json`) both use this `mcpServers` object. The default transport is MCP over stdio. The process reads environment variables from the client and does not load a `.env` file. Every variable is listed in [`.env.example`](.env.example).\n\n### Local checkout\n\n```bash\nnpm install\nnpm run build\nnpm start\n```\n\nExport `ELYSIUM_RPC_URL` and `ELYSIUM_CHAIN_ID` before `npm start`.\n\n### HTTP\n\nSet `MCP_TRANSPORT=http` to serve MCP over HTTP. The process binds `127.0.0.1:3000`, accepts `POST \u002Fmcp`, and `GET \u002Fhealth` returns `{ \"status\": \"ok\" }`.\n\n`MCP_HTTP_TOKEN` (at least 16 characters) is required when the bind address is not loopback, and whenever writes are enabled over HTTP.\n\n## Tools\n\nEight read tools are always registered. Inputs, outputs, and error codes are in [Tools](docs\u002FTOOLS.md).\n\n| Tool               | What it does                                                     |\n| ------------------ | ---------------------------------------------------------------- |\n| `get_chain_status` | Latest block, measured block time, base fee, and gas price       |\n| `get_block`        | One block, by number, tag, or hash                               |\n| `get_transaction`  | Transaction, receipt, fee, and optional decoded call and logs    |\n| `get_balance`      | HYPE balance, plus up to 20 ERC-20 balances                      |\n| `get_token_info`   | ERC-20 name, symbol, decimals, and total supply                  |\n| `read_contract`    | Call a `view` or `pure` function. The call is not submitted      |\n| `get_logs`         | Event logs. Unfiltered queries are capped (default 2,000 blocks) |\n| `simulate_call`    | `eth_call` plus a gas estimate. Nothing is signed or submitted   |\n\nSeven explorer tools register only when `EXPLORER_API_URL` is set. They call an undocumented Blockscout-style API. Indexed balances can lag the chain; the RPC tools are the source of truth. Names, symbols, ABIs, and source code come back under `untrusted`. Detail is in [Explorer tools](docs\u002FEXPLORER.md).\n\n| Tool                                | What it does                                   |\n| ----------------------------------- | ---------------------------------------------- |\n| `explorer_get_address`              | Indexed overview of an address                 |\n| `explorer_get_address_transactions` | Transactions for an address, newest first      |\n| `explorer_get_token_transfers`      | Token transfers for an address                 |\n| `explorer_get_token_balances`       | Tokens the explorer has indexed for an address |\n| `explorer_get_contract`             | Verification status, ABI, and optional source  |\n| `explorer_search`                   | Search by name or address                      |\n| `explorer_get_token`                | Token metadata, and holders when requested     |\n\nTwo write tools register only when `ENABLE_WRITES=true`. Setup and the full check sequence are in [Write tools](docs\u002FWRITES.md).\n\n| Tool             | What it does                                     |\n| ---------------- | ------------------------------------------------ |\n| `send_native`    | Send HYPE from the server's testnet account      |\n| `write_contract` | Call a state-changing function from that account |\n\nBoth default to `dry_run: true`. A dry run simulates and returns the exact transaction. Set `dry_run` to `false` to sign and submit.\n\nAmounts in tool output are decimal strings. HYPE uses 18 decimals (1 HYPE = 10^18 wei). Chain IDs, nonces, gas, and logs are covered in [Concepts](docs\u002FCONCEPTS.md).\n\n## Configuration\n\n| Variable                   | Required                               | Default     | Purpose                                                         |\n| -------------------------- | -------------------------------------- | ----------- | --------------------------------------------------------------- |\n| `ELYSIUM_RPC_URL`          | yes                                    |             | HTTP or HTTPS JSON-RPC endpoint                                 |\n| `ELYSIUM_CHAIN_ID`         | yes                                    |             | Chain ID that endpoint must serve                               |\n| `ELYSIUM_CHAIN_NAME`       | no                                     | `Elysium`   | Display name only                                               |\n| `RPC_TIMEOUT_MS`           | no                                     | `10000`     | Per-attempt RPC timeout                                         |\n| `RPC_RETRY_COUNT`          | no                                     | `3`         | Retries after the first attempt, for transport failures only    |\n| `RPC_RETRY_BASE_DELAY_MS`  | no                                     | `250`       | Base delay for exponential backoff with jitter                  |\n| `RPC_RATE_LIMIT_RPS`       | no                                     | `10`        | Client-side request rate. Retries count against it              |\n| `MAX_LOG_BLOCK_RANGE`      | no                                     | `2000`      | Largest unfiltered `get_logs` range, in blocks                  |\n| `BLOCK_TIME_SAMPLE_SIZE`   | no                                     | `1000`      | Blocks used to measure average block time                       |\n| `MCP_TRANSPORT`            | no                                     | `stdio`     | `stdio` or `http`                                               |\n| `MCP_HTTP_HOST`            | no                                     | `127.0.0.1` | HTTP bind address                                               |\n| `MCP_HTTP_PORT`            | no                                     | `3000`      | HTTP port. `0` asks the OS for a free port                      |\n| `MCP_HTTP_TOKEN`           | off loopback, and for writes over HTTP |             | Bearer token, at least 16 characters                            |\n| `LOG_LEVEL`                | no                                     | `info`      | `debug`, `info`, `warn`, or `error`. Logs go to stderr          |\n| `EXPLORER_API_URL`         | no                                     | off         | Explorer API base, such as `https:\u002F\u002Felysium.kinetiq.xyz\u002Fapi\u002Fv2` |\n| `EXPLORER_TIMEOUT_MS`      | no                                     | `10000`     | Per-attempt explorer timeout                                    |\n| `EXPLORER_RETRY_COUNT`     | no                                     | `2`         | Explorer retries after the first attempt                        |\n| `EXPLORER_RATE_LIMIT_RPS`  | no                                     | `5`         | Client-side explorer request rate                               |\n| `ENABLE_WRITES`            | no                                     | `false`     | Register `send_native` and `write_contract`                     |\n| `ELYSIUM_PRIVATE_KEY`      | when writes are on                     |             | 32-byte hex key. Never a tool argument                          |\n| `MAX_SEND_HYPE`            | no                                     | `0.01`      | Most HYPE one transaction may send                              |\n| `MAX_FEE_HYPE`             | no                                     | `0.001`     | Most HYPE one transaction may spend on fees                     |\n| `WRITE_ALLOWLIST`          | no                                     | any address | Comma-separated destination addresses                           |\n| `WRITE_RECEIPT_TIMEOUT_MS` | no                                     | `30000`     | How long a send waits for its receipt                           |\n\nLogs record only the origin of `ELYSIUM_RPC_URL` and `EXPLORER_API_URL`, so a key in the path or query string stays out of the log line.\n\n## Risks\n\nRead this before setting `ENABLE_WRITES=true`. The longer version is in [Write tools](docs\u002FWRITES.md#risks-of-the-write-tools).\n\nThe server starts with writes enabled only when the key is valid, `ELYSIUM_CHAIN_ID` is `99801`, and HTTP mode has `MCP_HTTP_TOKEN` set. Every write then checks, in order:\n\n1. The destination is on `WRITE_ALLOWLIST`, when that list is set, and the HYPE value is within `MAX_SEND_HYPE`.\n2. The node reports chain ID `99801`.\n3. `eth_call` from the signing account succeeds. A revert submits nothing.\n4. The gas limit (`eth_estimateGas` plus 20%) times the max fee per gas is within `MAX_FEE_HYPE`.\n5. The account balance covers the value plus that maximum fee.\n\n`dry_run` defaults to true. It is a preview. The agent can pass `dry_run: false` on its own, so leave tool-call approval on in the MCP client for `send_native` and `write_contract`.\n\nUse a dedicated testnet account, funded from the [testnet faucet](https:\u002F\u002Felysium.kinetiq.xyz\u002Ftestnet-faucet), holding only what you can afford to lose. The key is read from `ELYSIUM_PRIVATE_KEY` and then removed from the process environment. The client config or secrets file that supplied it still holds the key. Tool arguments, logs, and tool results omit the key.\n\n`WRITE_ALLOWLIST` and `MAX_SEND_HYPE` apply to the top-level transaction. An allowed token contract can still be called with `transfer` or `approve` for any address. Close that gap before enabling writes on any chain that holds real value.\n\nA `pending` status, or `SEND_STATUS_UNKNOWN`, means the transaction may already be in the node. Look it up with `get_transaction` and the hash before submitting it again.\n\nExplorer text and on-chain names are written by third parties and can try to steer the agent. With writes and the explorer both enabled, the server logs a warning at startup. Tool-call approval is the control that stops a steered write.\n\n## Documentation\n\n| Document                           | Contents                                                 |\n| ---------------------------------- | -------------------------------------------------------- |\n| [Start here](docs\u002FSTART.md)        | Connect, check the chain, and the first questions to ask |\n| [Examples](docs\u002FEXAMPLES.md)       | Prompts and the tool input each one should produce       |\n| [Tools](docs\u002FTOOLS.md)             | Inputs, outputs, error codes, RPC retry behaviour        |\n| [Explorer tools](docs\u002FEXPLORER.md) | Undocumented API, pagination, untrusted fields           |\n| [Write tools](docs\u002FWRITES.md)      | Setup, checks, and risks                                 |\n| [Concepts](docs\u002FCONCEPTS.md)       | Blocks, wei, gas, logs, and keys                         |\n| [Changelog](CHANGELOG.md)          | Released changes                                         |\n| [Security](SECURITY.md)            | What to report, and how                                  |\n\n## Development\n\n```bash\nnpm install\nnpm run typecheck\nnpm test\nnpm run test:integration   # live testnet; set SKIP_INTEGRATION=true to skip\nnpm run build\n```\n\n`prepublishOnly` runs the typecheck, the unit tests, and the build. Integration tests are opt-in because they call the public testnet. The funded write test runs only when `ELYSIUM_TEST_PRIVATE_KEY` is set. Release steps are in [RELEASING.md](RELEASING.md).\n\n## Security\n\nReport a vulnerability privately. Omit private keys, including testnet keys. Scope and the known limits are in [SECURITY.md](SECURITY.md).\n\n---\n\nUnofficial community project. Not affiliated with Kinetiq\u002FHyperliquid.\n","Elysium-chain-mcp 是一个基于 Model Context Protocol（MCP）标准的轻量级服务，专为 AI 代理提供对 Elysium 链（Kinetiq 构建于 Arbitrum Orbit 的 Hyperliquid 专用 L2）的读写交互能力。它支持通过 JSON-RPC 查询链状态、区块、交易、余额、合约调用、日志及交易模拟等 8 个核心只读工具，并可选启用测试网（chain ID 99801）上的安全写操作；支持 stdio 和 HTTP 两种 MCP 传输方式，配置灵活、环境变量驱动。适用于构建需与 Elysium 测试网深度集成的 AI 自动化代理、链上数据分析工具或金融协议实验平台。",2,"2026-11-24 04:33:01","CREATED_QUERY"]