Skip to Content
Mantle MCP v0.1.0
ConceptsSkills and MCP Usage

Skills and MCP Usage

This page explains how the local skills/ library and mantle-mcp are intended to work together. The repository keeps the skills/ submodule path stable, but the actual skill folders come from mantle-xyz/mantle-skills under skills/skills/.

Operating Model

Skills provide workflow and decision guidance.
mantle-mcp provides deterministic data access and structured outputs.

A reliable agent loop is:

  1. Choose the right skill for the task.
  2. Use MCP discovery interfaces (listTools, listResources, listPrompts).
  3. Execute tool calls with validated inputs.
  4. Ground the final answer in tool/resource/prompt outputs.

How To Use Skills

All project skills live in skills/skills/<skill-name>/SKILL.md with references and agent manifests. If the checkout is missing after clone, run npm run skills:init to initialize the mantle-skills submodule.

Recommended usage flow:

  1. Map user intent to one primary skill (or a small sequence).
  2. Read that skill’s SKILL.md before tool execution.
  3. Follow its required checklist and safety constraints.
  4. Use the MCP tool/resource/prompt surface to execute the workflow.

For cross-environment integration guidance, see External Agent Integration.

Current Skill Catalog

SkillPrimary UseTypical MCP Touchpoints
mantle-network-primerExplain Mantle architecture and network basicsmantle_getChainInfo, mantle_getChainStatus, mantle://docs/network-basics
mantle-address-registry-navigatorResolve and validate canonical addressesmantle_resolveAddress, mantle_validateAddress, mantle://registry/contracts
mantle-portfolio-analystWallet balance/allowance portfolio reviewmantle_getBalance, mantle_getTokenBalances, mantle_getAllowances, mantle_getTokenPrices
mantle-data-indexerSubgraph + SQL data retrieval with quality controlsmantle_querySubgraph, mantle_queryIndexerSql
mantle-defi-operatorDeFi read workflows for swaps, pools, lendingmantle_getSwapQuote, mantle_getPoolLiquidity, mantle_getLendingMarkets
mantle-readonly-debuggerDiagnose read-path failures and tool errorsmantle_checkRpcHealth, mantle_probeEndpoint, error payload codes
mantle-risk-evaluatorRisk scoring and execution guardrailsmantle://docs/risk-checklist, mantle_getAllowances, mantle_getTokenPrices
mantle-tx-simulatorPre-signing transaction simulation guidanceprompt/resource guidance + simulation-oriented tool sequencing
mantle-smart-contract-deployerDeployment/verification checklist orchestrationchain/config resources + diagnostics checks before/after deploy

How To Use mantle-mcp in Practice

For most production workflows, start with this sequence:

  1. Check network context: mantle_getChainInfo, mantle_getChainStatus
  2. Resolve identifiers first: mantle_resolveAddress / mantle_resolveToken
  3. Run domain tools (account, token, DeFi read, indexer)
  4. Add diagnostics checks when any endpoint is unstable

This keeps the agent grounded in canonical Mantle metadata and reduces hallucinated addresses/endpoints.

Last updated on