Skip to directory

Ant Design MCP

wxzhishang

stdio7+ documented tools1

About Ant Design MCP

Provides AI assistants with comprehensive Ant Design component documentation, examples, API references, and best practices. Supports multiple versions and enables natural language queries for React UI component development.

What you can use it for

  • developer tools
  • design
Connection and setup
Hosting
Local stdio process
Transport
stdio
Endpoint
Local process; no hosted endpoint documented
Authentication
No credentials were configured; the tested read-only tool “get-best-practices” succeeded in an isolated environment. Other tools may have additional requirements.

Requirements

  • Node.js 18+
  • The npm package repository matched the repository linked from the public profile.

Setup steps

  1. npx -y antd-mcp@1.0.3
Tools 7+

The server returned 7 tools in tools/list. Only “get-best-practices” was invoked with a synthetic read-only input and succeeded.

  • change-component-version

    切换当前Ant Design版本 适用场景: 1. 用户主动切换版本 2. 其他工具需要切换版本时

    Parameters: version
    01
  • get-best-practices

    获取某个组件的最佳实践 适用场景: 1. 用户主动获取某个组件的最佳实践 2. 其他工具需要获取某个组件的最佳实践时

    Parameters: componentName
    02
  • get-component-changelog

    列出 Ant Design 特定组件的更新日志 适用场景: 1. 用户询问特定组件的更新日志 2. 在知道用户 antd 版本的情况下,当用户需要实现相关组件功能时判断是否在后续版本中才实现,来决定是否需要升级依赖

    Parameters: componentNames
    03
  • list-components

    当用户请求一个新的用户界面(UI)使用 Ant Design 组件时使用此工具。 此工具仅返回可用的组件列表。 适用场景: 1. 用户希望看到可用的组件列表 2. 用户想要根据描述的场景知道可以用哪些组件 3. 其他工具调用需要用到可用组件列表时

    04
  • get-component-docs

    获取 Ant Design 特定组件的详细文档,支持数组形式传入 适用场景: 用户询问如何使用特定组件

    Parameters: componentNames
    05
  • get-component-examples

    获取 Ant Design 特定组件的代码示例,支持数组形式传入 适用场景: 1. 用户询问特定组件的示例时 2. 用户想要实现某个功能时直接告知可使用的例子 3. 生成页面前需要获取组件的示例代码

    Parameters: componentNames
    06
  • get-component-api

    获取 Ant Design 特定组件的API,api名称支持数组形式传入 适用场景: 1. 用户询问如何使用特定组件的API 2. 用户希望查询到对应API的ts类型以及联合类型值 3. 其他工具需要查看对应API,需要获取API的ts类型以及联合类型值时

    Parameters: componentName, apiName
    07

This server’s available tools can vary by account, permissions, or configuration. The list shown is not its full runtime catalog.

Limitations and notes
  • Runtime verification covered one read-only tool call (get-best-practices); other listed tools were not individually exercised.
Original sources
  • MCP.Directory public profile

    Name, description, publisher identifier, categories, transport, tool inventory, and install configuration.

  • Linked publisher repository

    Repository URL linked from the public profile; npm package repository metadata matched this GitHub repository.

  • npm registry metadata

    Published package version 1.0.3 checked before launch. Registry repository: git+https://github.com/wxzhishang/antd-mcp.git.

  • maintainer or vendor reference

    Official Ant Design docs state the current CLI MCP provides eight tools and two prompts.

Documentation checked 2026-10-28T00:00:00Z. Connection has not been runtime tested.