docs/mcp.en-US.md
AntDesign.Docs.MCP provides tools for AI coding to query component documentation and demo source code, helping AI produce accurate code for specific scenarios and features.
Add the following to your editor's MCP configuration. Note: dnx requires .NET 10+.
{
"servers": {
"AntDesign.Docs.MCP (nuget/dnx)": {
"type": "stdio",
"command": "dnx",
"args": [
"[email protected]",
"--add-source",
"${workspaceFolder}/nupkgs",
"--yes"
]
}
}
}
If your environment does not have .NET 10 installed, you can install the dotnet tool first and use the dotnet tool configuration:
dotnet tool install -g antdesign-docs-mcp
{
"servers": {
"AntDesign.Docs.MCP (dotnet tool)": {
"type": "stdio",
"command": "dotnet",
"args": [
"tool",
"run",
"antdesign-docs-mcp"
]
}
}
}
antdesign-docs-mcp component listantdesign-docs-mcp component search Button,Inputantdesign-docs-mcp demo list Buttonantdesign-docs-mcp demo source Button:Icon