a

ant-mobile-mcp

felexYe/ant-mobile-mcp
Hosted
0 Stars 75 次浏览 更新于 2026-08-23

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "ant-mobile-mcp": {
      "args": [
        "--registry=https://registry.npmjs.org/",
        "ant-mobile-components-mcp@latest"
      ],
      "command": "npx"
    }
  }
}

服务介绍

Ant Mobile 组件库知识 MCP 服务

这是一个基于 Model Context Protocol (MCP) 的 Ant Mobile 组件库知识服务,为大模型提供组件文档查询功能。

功能特性

  • 📚 组件文档: 提供 Ant Mobile 组件的详细文档
  • 🔍 智能查询: 根据组件名称快速获取文档内容
  • 💡 MCP 协议: 标准化的大模型工具协议支持
  • 🛠️ TypeScript: 完全使用 TypeScript 开发,类型安全

MCP 工具说明

本服务提供以下 MCP 工具:

1. get_ant_mobile_component_doc

获取指定组件的文档内容。

参数:

  • componentName (string): 组件名称,如 "Button"、"Input" 等

示例:
json
{
"name": "get_ant_mobile_component_doc",
"arguments": {
"componentName": "Button"
}
}

2. list_ant_mobile_components

列出所有可用的组件。

参数:

示例:
json
{
"name": "list_ant_mobile_components",
"arguments": {}
}

相关 MCP 服务