MCP and llms.txt
Minter v3.3.0 execution model, four machine-readable documentation artifacts, and the @minter-network/docs-mcp stdio server (5 tools across 5 tracks).
Minter v3.3.0 does not execute user-deployed smart-contract bytecode: financial operations run inside the node as 37 active transaction handlers out of 38 declared opcodes 0x01..0x26 (0x13 PRICE_VOTE is not registered in ExecutorV3). A client builds and signs an RLP transaction for the target opcode, and the node validates field schemas and state invariants in CheckTx and DeliverTx. A client bug can submit wrong parameters, such as minimumValueToBuy = 0, but cannot deploy arbitrary contract code to the chain.
| Aspect | User-bytecode VM chains | Minter v3.3.0 |
|---|---|---|
| Execution logic | User-deployed contract bytecode | 37 built-in handlers 0x01..0x26 (0x13 disabled) |
| Fee pricing and gas coin | Native-coin gas auction or external paymaster contracts | 48-parameter USDTE (1993) tariff schedule paid in BIP or any liquid pool coin |
| Settlement finality | Multi-block confirmation subject to chain reorganizations | Single-block Tendermint v0.34.19 commit (code === "0") without reorgs |
Four machine-readable artifacts
| Artifact | Path | Format and purpose |
|---|---|---|
| Section index | /llms.txt | Compact llmstxt.org directory of documentation pages and OpenAPI specs |
| Full corpus (EN / RU) | /llms-full.txt, /ru/llms-full.txt | Single-file Markdown bundle containing RLP schemas, API docs, and TypeScript/cURL examples |
| RAG chunk stream | /llms-rag.jsonl | Section-split JSON Lines carrying id, lang, url, heading_path, tokens, and sha256 metadata |
| Serialization fixtures | /test-vectors.json | Regression vectors for 37 active opcodes, 0x13, multisig, Mc... checks, and negative RLP inputs |
@minter-network/docs-mcp stdio server
@minter-network/docs-mcp runs locally over JSON-RPC 2.0 stdio, serves bundled documentation pages, the three OpenAPI 3.1 specifications, and test-vectors.json from package assets, and makes no outbound network requests.
| MCP tool | Arguments and returned data |
|---|---|
search_minter_docs | Full-text Orama search across all 5 tracks (earn, developers, validators, protocol, api) filtered by en or ru locale, with canonical portal links |
get_tx_rlp_schema | Ordered RLP data field schema, integer widths, opcode 0x01..0x26, and base fee key |
get_fee_schedule | Snapshot of all 48 v3.3.0 PriceCommission parameters in USDTE (coinId: 1993) plus linear CEIL conversion notes (query GET /v2/price_commissions for live on-chain governance state) |
get_test_vector | Lookup in test-vectors.json by opcode 0x01..0x26, multisig, check, negative, or summary |
get_openapi_endpoint | Applicable servers, request parameters, and response JSON schemas from the three OpenAPI 3.1 specs (gate, explorer, hub) |
Register in Claude Code CLI:
claude mcp add minter-docs -- npx -y @minter-network/docs-mcpConfigure in .cursor/mcp.json or mcp_config.json:
{
"mcpServers": {
"minter-docs": {
"command": "npx",
"args": ["-y", "@minter-network/docs-mcp"]
}
}
}Project rules for CLAUDE.md
# Minter v3.3.0 rules
- Network: use chainId 1 with base coin BIP on Mainnet and chainId 2 with base coin MNT on Public Testnet. Verify the current Testnet epoch at https://testnet.minter.network/status.json before signing.
- Amounts: 1 coin = 10^18 pip. Use BigInt and parsePip/formatPip from @minter-network/tx-core; do not use IEEE-754 Number for balances, reserves, or fees.
- Gate API v2 JSON: uint64 fields (code, height, type, coin.id) arrive as strings. Check tx.code === "0" and Number(tx.height) > 0 after gate.waitForTransaction(txHash).
- RLP: integer 0 encodes as 0x80; coin tickers are [10]byte right-padded with 0x00; signingHash = Keccak256(9 fields); txHash = "Mt" + SHA256(10 fields); check Lock encodes as unsigned big.Int with leading 0x00 stripped.
- Assets and DEX: match coins by numeric coin.id (0 = BIP on Mainnet, 1902 = HUB, 1993 = USDTE). Quote AMM pools with estimateAmmOutPip (998/1000, FLOOR - 1) and orderbook pairs with estimatePairV2SwapOutPip (deducting ceil(input / 1000)).