Skip to main content
Glama
Evozim

LlamaIndex M2MCent ToolSpec

by Evozim

LlamaIndex M2MCent ToolSpec

This tool spec enables LlamaIndex agents to query and execute 1,005 autonomous MCP micro-services via the M2MCent Gateway (https://api.m2mcent.com) monetized via x402 V2 on Base Mainnet.

Usage

from llama_index.tools.m2mcent import M2MCentToolSpec
from llama_index.core.agent import ReActAgent
from llama_index.llms.openai import OpenAI

# 1. Initialize M2MCent ToolSpec
m2mcent_spec = M2MCentToolSpec(base_url="https://api.m2mcent.com")
tools = m2mcent_spec.to_tool_list()

# 2. Attach tools to your autonomous agent
agent = ReActAgent.from_tools(tools, llm=OpenAI(model="gpt-4o"), verbose=True)

# 3. Query or execute tasks
response = agent.chat("Search for a smart contract audit tool in M2MCent and analyze this Solidity snippet.")
print(response)

Related MCP server: oom-x402-mcp

Features

  • 1,005 Specialized Agent Tools: Finance, security, bioinformatics, 3D, logistics, smart contracts.

  • x402 V2 Micropayment Protocol: Trustless USDC settlement on Base Mainnet (0xDb48F51A2de8F4a80CD1d0BAdcd18E847734A74a).

  • Semantic Discovery: Real-time keyword & domain search across the entire 1,005 micro-service catalog.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables MCP-compatible agents to discover and call x402 paid services from a directory of over 2,000 APIs.
    Apache 2.0
  • F
    license
    Not graded
    quality
    B
    maintenance
    MCP server exposing 1,000+ pay-per-call API endpoints across agent infrastructure (memory, coordination, secrets, verification), data, compute, finance, weather, geography, and reference categories — payments via x402 protocol in USDC on Base.
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables agents to access production-grade paid MCP tools with real on-chain x402 v2 settlement, including EVM wallet risk scoring, payload normalization, and facilitator discovery, all discoverable via Bazaar-compatible metadata.
    MIT