MCP.so
登录

Antd Components MCP Server

@zhixiaoqiang

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

zhixiaoqiang

提交者

志强 蒋

关于 Antd Components MCP Server

An MCP service for Ant Design components query | 一个减少 Ant Design 组件代码生成幻觉的 MCP 服务,包含系统提示词、组件文档、API 文档、代码示例和更新日志查询

Antd Components MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "antd-components-mcp": {
      "command": "npx",
      "args": [
        "@jzone-mcp/antd-components-mcp",
        "extract",
        "[ant",
        "design",
        "repo",
        "path]",
        "#默认提取路径为",
        "./ant-design"
      ]
    }
  }
}

Antd Components MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Antd Components Mcp?

Antd Components Mcp is a Model Context Protocol (MCP) server that provides Ant Design component documentation to large language models (LLMs) like Claude. It allows LLMs to explore, understand, and generate code for Ant Design components through a set of dedicated tools.

How to use Antd Components Mcp?

Configure the server in your Claude Desktop configuration file (claude_desktop_config.json) using the npx command: npx @jzone-mcp/antd-components-mcp. Optionally, extract component documentation for other versions by cloning the Ant Design repository and running the extract command.

Key features of Antd Components Mcp

  • Pre-processed Ant Design component data (version 6.5.0, 2026/6/29)
  • List all available Ant Design components with descriptions
  • View specific component documentation, props, and API definitions
  • Access code examples and changelog for each component
  • Extensive caching to reduce IO pressure
  • Pre-configured prompts for efficient LLM interaction

Use cases of Antd Components Mcp

  • Let an LLM answer questions about Ant Design component props and usage
  • Generate complete, runnable Ant Design component code examples
  • Retrieve component changelog during version upgrades
  • Assist frontend developers in selecting the right Ant Design component for a task

常见问题

1

How does the version mapping work?

The package major version is always one higher than the Ant Design major version. For example, Ant Design 5.0 uses package version 1.0.x, Ant Design 6.0 uses 2.0.x, and so on.

2

When should I extract component documentation myself?

You should extract the documentation yourself if you need the latest version or a version other than the pre‑packaged one. Clone the Ant Design repository and run `npx @jzone-mcp/antd-components-mcp extract [repo path]`.

3

What dependencies does the server require?

The server requires `antd` as a peer dependency matching the corresponding major version (e.g., `antd ^6.0.0` for package version 2.0.x).

4

Which MCP clients are supported?

The server is tested with Claude Desktop. It is currently not working with GitHub Copilot or Cline plugins.

5

What tools does the MCP server provide?

The server provides four tools: `list-components`, `get-component-docs`, `list-component-examples`, and `get-component-changelog`.

评论

其他 分类下的更多 MCP 服务器