Skip to main content
Glama
Dysnomia Ecosystem Navigator — MCP Server

Dysnomia Ecosystem Navigator — MCP Server

by tehironclad

Dysnomia Ecosystem Navigator — MCP Server

An MCP (Model Context Protocol) server that gives AI assistants direct access to the Dysnomia/Atropa blockchain ecosystem on PulseChain. Ask Claude about contract state, debug transactions, trace minters, and map the entire ecosystem graph — all from natural language.

Tools

Tool

Description

list_ecosystem

List all registered contracts with categories and descriptions

get_contract_state

Read on-chain state — balances, supply, ownership, minting status

trace_minter

Trace a minter address across all ecosystem contracts

query_qing

Look up QING territory data — ownership, metadata

debug_call

Simulate contract calls to surface reverts before spending gas

map_relationships

Map ownership and dependency graph between contracts

search_events

Query on-chain event logs filtered by contract, event, block range

Related MCP server: PortalMCP

Setup

# Install dependencies
npm install

# Build
npm run build

Configuration

1. Add Contract Addresses

Edit src/config.ts and fill in the deployed addresses:

META:  { address: "0x...", category: "core",  description: "Root coordination contract" },
RING:  { address: "0x...", category: "core",  description: "Ring structure / orbital mechanics" },
// etc.

Rebuild after changes: npm run build

2. Custom RPC

Set the PULSECHAIN_RPC environment variable to override the default RPC:

export PULSECHAIN_RPC="https://your-rpc-endpoint.com"

3. Extend ABIs

Each tool file in src/tools/ has its own ABI definitions. Add function signatures as contracts evolve — the pattern is human-readable ABI strings:

const MY_ABI = [
  "function MyNewFunction(uint256) view returns (address)",
];

Connect to Claude Desktop

Add this to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on Mac):

{
  "mcpServers": {
    "dysnomia": {
      "command": "node",
      "args": ["/absolute/path/to/dysnomia-navigator/build/index.js"],
      "env": {
        "PULSECHAIN_RPC": "https://rpc.pulsechain.com"
      }
    }
  }
}

Connect to Claude Code

claude mcp add dysnomia node /absolute/path/to/dysnomia-navigator/build/index.js

Test with MCP Inspector

npm run inspector

Architecture

src/
├── index.ts          # Entry point — creates server, registers tools
├── config.ts         # RPC config, contract registry, ABIs, helpers
└── tools/
    ├── listEcosystem.ts      # list_ecosystem
    ├── getContractState.ts   # get_contract_state
    ├── traceMinter.ts        # trace_minter
    ├── queryQing.ts          # query_qing
    ├── debugCall.ts          # debug_call
    ├── mapRelationships.ts   # map_relationships
    └── searchEvents.ts       # search_events

Extending

To add a new tool:

  1. Create src/tools/myNewTool.ts

  2. Export a registerMyNewTool(server: McpServer) function

  3. Import and call it in src/index.ts

  4. Rebuild: npm run build

The server uses stdio transport so it works with any MCP-compatible client.

Phases (for context)

  • Terra: Forming data on minters — physics actions per-QING build minter token data

  • Firma: Personal GWATs establishing territory

  • Life: IoT hardware + YUE extensions creating real-world activity sandboxes

Available Tools

7 tools
debug_callA

Simulate a contract call (eth_call) without sending a transaction. Surfaces revert reasons, out-of-gas, division-by-zero, and other errors BEFORE you spend gas. Great for debugging Beat() and other state-changing functions.

Inputs: contract (required), function_sig (required), args, value, +1 more.

get_contract_stateA

Read the current on-chain state of any Dysnomia contract — balances, supply, ownership, minting status. Accepts a contract name (META, RING, etc.) or raw address.

Inputs: contract (required), target_address.

list_ecosystemA

List all known Dysnomia ecosystem contracts with their addresses, categories, and descriptions. Good starting point for exploration.

Inputs: no named parameters.

map_relationshipsB

Map the dependency and ownership relationships between Dysnomia contracts. Shows which contracts own, mint for, or reference each other — useful for understanding the ecosystem graph.

Inputs: contract.

query_qingA

Look up QING territory data — ownership, state, metadata. Can query by territory ID or by owner address to find all their territories.

Inputs: territory_id, owner_address.

search_eventsB

Search on-chain event logs across Dysnomia contracts. Filter by contract, event topic, address, or block range. Useful for tracking minting activity, transfers, Beat() calls, and terraforming events.

Inputs: contract, to_block, from_block, max_results, +2 more.

trace_minterA

Trace a minter address across the Dysnomia ecosystem — check its terraforming status, linked tokens, balances in each core contract, and progression toward apparition.

Inputs: minter_address (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 7 tools

    Disambiguation5/5

    Each tool has a clear, non-overlapping purpose: debug_call simulates calls, map_relationships graphs contract dependencies, list_ecosystem enumerates contracts, get_contract_state reads specific contract state, trace_minter follows minters, query_qing looks up QING territories, and search_events scans event logs. There is minimal ambiguity between tools.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun snake_case pattern (debug_call, map_relationships, list_ecosystem, get_contract_state, trace_minter, query_qing, search_events). The verbs are distinct and accurately describe each operation, and no naming conventions are mixed.

    Tool Count5/5

    Seven tools is well within the ideal 3-15 range for an ecosystem explorer. The count is neither too sparse nor overwhelming, and each tool provides a meaningful capability without redundancy.

    Completeness5/5

    The tool set covers the full read-only exploration lifecycle for the Dysnomia ecosystem: discovering contracts, inspecting state, simulating calls, mapping relationships, tracing minters, querying territories, and searching events. No obvious essential operation is missing for the apparent domain.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Universal AI gateway that enables interaction with Ethereum blockchain through natural language across multiple AI platforms (Claude, ChatGPT, Gemini, etc.). Supports contract deployment, token operations, NFT minting, DeFi operations, and general blockchain transactions.
      1
      MIT