Basic information
About antd-components-mcp Server
antd-components-mcp — 一站式 Ant Design 组件查询服务,提供组件文档、API 文档、代码示例与更新日志,快速查找与实战参考。
antd-components-mcp is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by zhixiaoqiang. It exposes 4 tools, including get-component-docs, list-component-examples, get-component-changelog, list-components. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 244 GitHub stars. Source code is hosted on github.com. Related topics: antd, community, components, developer-tools, documentation.
Setup
{
"mcpServers": {
"Ant Design Components": {
"command": "npx",
"args": [
"@jzone-mcp/antd-components-mcp"
]
}
}
}
{
"mcpServers": {
"Ant Design Components": {
"command": "npx",
"args": [
"@jzone-mcp/antd-components-mcp"
]
}
}
}
{
"servers": {
"Ant Design Components": {
"command": "npx",
"args": [
"@jzone-mcp/antd-components-mcp"
]
}
}
}
antd-components-mcp config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"Ant Design Components": {
"command": "npx",
"args": [
"@jzone-mcp/antd-components-mcp"
]
}
}
}
antd-components-mcp tools
- get-component-docs — 获取 Ant Design 特定组件的详细文档 适用场景: 1. 用户询问如何使用特定组件 2. 用户需要查看该组件的 api 属性
- list-component-examples — 获取 Ant Design 特定组件的代码示例 适用场景: 1. 用户询问特定组件的示例时 2. 用户想要实现某个功能时直接告知可使用的例子 3. 生成页面前需要获取组件的示例代码
- get-component-changelog — 列出 Ant Design 特定组件的更新日志 适用场景: 1. 用户询问特定组件的更新日志 2. 在知道用户 antd 版本的情况下,当用户需要实现相关组件功能时判断是否在后续版本中才实现,来决定是否需要升级依赖
- list-components — 当用户请求一个新的用户界面(UI)使用 Ant Design 组件时使用此工具。 此工具仅返回可用的组件列表。 调用此工具后,你必须编辑或添加文件,以便将代码片段集成到代码库中
Overview
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
Frequently asked questions
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.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In