Set up MCP in IntelliKit#
IntelliKit provides several MCP servers, which allow LLM agents to compile HIP code, profile applications, access documentation, and query GPU hardware. This topic explains how to configure these servers.
Prerequisites#
Before configuring MCP servers, ensure you have the following installed.
uv(recommended) orpipROCm installation for GPU-related MCP servers
AMD uProf for
uprof-profiler-mcp
Full configuration#
To configure MCP servers using uv and a cloned IntelliKit repository, set up your MCP client to point to each package directory. The following is an example configuration:
{
"mcpServers": {
"metrix-mcp": {
"command": "uv",
"args": ["run", "--directory", "/path/to/intellikit/metrix", "metrix-mcp"]
},
"kerncap-mcp": {
"command": "uv",
"args": ["run", "--directory", "/path/to/intellikit/kerncap", "kerncap-mcp"]
},
"hip-compiler-mcp": {
"command": "uv",
"args": ["run", "--directory", "/path/to/intellikit/rocm_mcp", "hip-compiler-mcp"]
},
"hip-docs-mcp": {
"command": "uv",
"args": ["run", "--directory", "/path/to/intellikit/rocm_mcp", "hip-docs-mcp"]
},
"rocminfo-mcp": {
"command": "uv",
"args": ["run", "--directory", "/path/to/intellikit/rocm_mcp", "rocminfo-mcp"]
},
"uprof-profiler-mcp": {
"command": "uv",
"args": ["run", "--directory", "/path/to/intellikit/uprof_mcp", "uprof-profiler-mcp"]
}
}
}
Replace /path/to/intellikit with the actual path to your cloned IntelliKit repository.
Using pip-installed packages#
If you installed IntelliKit using pip or the install.sh script, the MCP console script names are already added to your system’s PATH. You can configure the MCP client with these simple references:
{
"mcpServers": {
"metrix-mcp": {
"command": "metrix-mcp"
},
"kerncap-mcp": {
"command": "kerncap-mcp"
},
"hip-compiler-mcp": {
"command": "hip-compiler-mcp"
}
}
}
Available servers#
IntelliKit provides the following MCP servers.
Server |
Package |
What it does |
|---|---|---|
|
|
Profiles GPU applications and generates human-readable performance metrics |
|
|
Extracts and isolates GPU kernels |
|
|
Compiles HIP C/C++ code |
|
|
Accesses HIP documentation |
|
|
Queries GPU hardware topology |
|
|
Profiles CPU hotspots using AMD uProf |
Agent skills#
IntelliKit provides installable SKILL.md playbooks for Kerncap, Metrix, Linex, Nexus, and Accordo:
curl -sSL https://raw.githubusercontent.com/AMDResearch/intellikit/main/install/skills/install.sh | bash
Target options: --target cursor | claude | codex | agents | github
See Install IntelliKit for more details about the skills script and usage.