LlamaIndex M2MCent ToolSpec
LlamaIndex M2MCent 工具规范
本工具规范使得LlamaIndex代理能够通过M2MCent网关(https://api.m2mcent.com)查询并执行1,005个自主MCP微服务,并通过Base主网上的x402 V2进行货币化。
用法
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: x402-gateway-mcp
特性
1,005个专用代理工具: 金融、安全、生物信息学、3D、物流、智能合约。
x402 V2微支付协议: 在Base主网(
0xDb48F51A2de8F4a80CD1d0BAdcd18E847734A74a)上进行无需信任的USDC结算。语义发现: 对整个1,005个微服务目录进行实时关键词 & 领域搜索。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceEnables MCP-compatible agents to discover and call x402 paid services from a directory of over 2,000 APIs.Apache 2.0
- AlicenseAqualityBmaintenanceEnables MCP clients to access all endpoints of an x402 gateway by paying real-time microtransactions (USDC on Base) per API call, with automatic tool discovery and spend guardrails.2389MIT
- Flicense-qualityAmaintenanceEnables agents to discover and verify paid agent services through x402 payment validation and release gate checks.
- Alicense-qualityBmaintenanceProduction-grade suite of monetized tools for autonomous AI agent-to-agent commerce, enabling payments and task execution via x402 protocol and MCP.288MIT
Related MCP Connectors
1005 pay-per-result MCP/x402 APIs for web, data, Base, reliability and agent delivery.
Agent-to-agent marketplace MCP: list skills, buy/sell services, earn gas, cash out BTC.
Agent x402 Paywall MCP — Coinbase HTTP 402 protocol + on-chain settlement. Agents pay per-call
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Evozim/llama-index-tools-m2mcent'
If you have feedback or need assistance with the MCP directory API, please join our Discord server