MCP Integration Mode (Recommended)
Categories:
MCP Integration (Recommended) Integrate Code Agent
Collaborate with external CLI via MCP. This mode works with all LLM clients that support MCP-Server invocation, such as Cherry Studio, Claude Code, Gemini-CLI, VS Code Copilot, Qwen Code, etc. Daily usage is to use make directly; for detailed commands see Quick Start, or check the root Makefile.
-
Prepare RTL and the corresponding SPEC docs under
examples/{dut}.{dut}is the module name; if it isAdder, the directory isexamples/Adder. -
Package RTL, place docs, and start MCP server:
make mcp_{dut}(e.g.,make mcp_Adder). -
Configure your MCP client:
{ "mcpServers": { "unitytest": { "httpUrl": "http://localhost:5000/mcp", "timeout": 10000 } } } -
Start the client: for Qwen Code, run
qwenunderUCAgent/output, then input the prompt. -
prompt:
Please get your role and basic guidance via RoleInfo, then complete the task. Use ReadTextFile to read files. Operate only within the current working directory; do not go outside it.