Minter Docsv3.3.0
Developers / MCP and llms.txt
Developers

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.

AspectUser-bytecode VM chainsMinter v3.3.0
Execution logicUser-deployed contract bytecode37 built-in handlers 0x01..0x26 (0x13 disabled)
Fee pricing and gas coinNative-coin gas auction or external paymaster contracts48-parameter USDTE (1993) tariff schedule paid in BIP or any liquid pool coin
Settlement finalityMulti-block confirmation subject to chain reorganizationsSingle-block Tendermint v0.34.19 commit (code === "0") without reorgs

Four machine-readable artifacts

ArtifactPathFormat and purpose
Section index/llms.txtCompact llmstxt.org directory of documentation pages and OpenAPI specs
Full corpus (EN / RU)/llms-full.txt, /ru/llms-full.txtSingle-file Markdown bundle containing RLP schemas, API docs, and TypeScript/cURL examples
RAG chunk stream/llms-rag.jsonlSection-split JSON Lines carrying id, lang, url, heading_path, tokens, and sha256 metadata
Serialization fixtures/test-vectors.jsonRegression 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 toolArguments and returned data
search_minter_docsFull-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_schemaOrdered RLP data field schema, integer widths, opcode 0x01..0x26, and base fee key
get_fee_scheduleSnapshot 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_vectorLookup in test-vectors.json by opcode 0x01..0x26, multisig, check, negative, or summary
get_openapi_endpointApplicable servers, request parameters, and response JSON schemas from the three OpenAPI 3.1 specs (gate, explorer, hub)

Register in Claude Code CLI:

bash
claude mcp add minter-docs -- npx -y @minter-network/docs-mcp

Configure in .cursor/mcp.json or mcp_config.json:

json
{
  "mcpServers": {
    "minter-docs": {
      "command": "npx",
      "args": ["-y", "@minter-network/docs-mcp"]
    }
  }
}

Project rules for CLAUDE.md

markdown
# 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)).
Browser key vault inside a Dedicated Web Worker
Using @minter-network/docs-mcp and @minter-network/tx-core, build a non-custodial browser wallet running inside a Dedicated Web Worker. Encrypt 16 bytes of BIP-39 entropy in IndexedDB using WebCrypto PBKDF2-SHA256 (600000 iterations, extractable: false) and AES-GCM-256 with the derived Mx address bound in AAD, keep raw private key bytes inside the worker thread without exposing them to the UI thread, wipe Uint8Array key buffers in finally { privateKey.fill(0) } after signing, and validate outgoing payload strings with SecretLeakGuard.assertSafePublicText.