A collection of Model Context Protocol (MCP) servers for interacting with the AMD ROCm™ ecosystem. This package provides tools for LLMs to compile HIP code, access documentation, and query system information.
Tool for compiling HIP C/C++ code into binary executables using hipcc compiler.
Provides access to the official HIP language and runtime developer reference documentation.
Exposes system topology and device information via the rocminfo utility.
You can install the package directly using uv or pip.
# Using uv (recommended)
uv pip install .
# Using pip
pip install .To use these servers, add the following to your configuration file:
{
"mcpServers": {
"hip-compiler-mcp": {
"command": "uv",
"args": ["run", "--directory", "/path/to/rocm_mcp", "hip-compiler-mcp"]
},
"hip-docs-mcp": {
"command": "uv",
"args": ["run", "--directory", "/path/to/rocm_mcp", "hip-docs-mcp"]
},
"rocminfo-mcp": {
"command": "uv",
"args": ["run", "--directory", "/path/to/rocm_mcp", "rocminfo-mcp"]
}
}
}Note: Adjust /path/to/rocm_mcp to the actual path where you have cloned or installed the package.
This project uses uv for dependency management.
-
Sync dependencies:
uv sync --dev
-
Run a server locally (for testing):
uv run ./examples/hip_compiler.py
-
Run tests:
pytest