{
  "markdown": "# AI Hardware & Device Coordination MCP Servers\n\nA set of zero-dependency MCP servers to coordinate shared hardware usage across multiple agent instances (Gemini CLI, Claude Code, etc.) on a single host.\n\n## Tools Included\n\n- **[GPU Coordination](./tools/gpu-coordination/README.md)**: Manages atomic locks for NVIDIA GPUs.\n- **[Device Coordination](./tools/device-coordination/README.md)**: Manages atomic locks for Flutter mobile/web devices.\n\n## Installation\n\n### 🚀 Automated Installation (Gemini CLI)\nInstall directly from GitHub as a native extension:\n```bash\ngemini extensions install https://github.com/tianhaoz95/mcp\n```\n*This handles cloning and tool registration automatically.*\n\n### 🛠️ Manual Installation (Claude Code & others)\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/tianhaoz95/mcp\n   cd mcp\n   ```\n2. **Register the tools:**\n\n   **For Claude Code (Global):**\n   ```bash\n   # GPU Coordination\n   claude mcp add gpu-coordination python3 $(pwd)/tools/gpu-coordination/gpu_mcp_server.py --env GPU_COUNT=8 --scope user\n   \n   # Device Coordination\n   claude mcp add device-coordination python3 $(pwd)/tools/device-coordination/device_mcp_server.py --scope user\n   ```\n   *Note: To limit these tools to a specific project, omit the `--scope user` flag.*\n\n   **For Gemini CLI (Manual):**\n   ```bash\n   gemini mcp add gpu-coordination python3 $(pwd)/tools/gpu-coordination/gpu_mcp_server.py --env GPU_COUNT=8\n   gemini mcp add device-coordination python3 $(pwd)/tools/device-coordination/device_mcp_server.py\n   ```\n\n## Features\n- **Zero Dependency**: Only requires Python 3 (standard library).\n- **Atomic Locking**: Prevents resource contention between agents.\n- **Shared State**: All agents on the same host share the same inventory.\n- **Auto-Release**: Prevents deadlocks if an agent crashes.\n",
  "bytes": 1836,
  "sha": "91faab4a55e90372df947e62e8c62aafc1965e62c5fb15d4c07376c43ff1493d",
  "repo_slug": "tianhaoz95/mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_tianhaoz95_mcp_6cdb94b3/readme"
}