Skip to content

tianhaoz95/mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Hardware & Device Coordination MCP Servers

A set of zero-dependency MCP servers to coordinate shared hardware usage across multiple agent instances (Gemini CLI, Claude Code, etc.) on a single host.

Tools Included

Installation

🚀 Automated Installation (Gemini CLI)

Install directly from GitHub as a native extension:

gemini extensions install https://github.com/tianhaoz95/mcp

This handles cloning and tool registration automatically.

🛠️ Manual Installation (Claude Code & others)

  1. Clone the repository:

    git clone https://github.com/tianhaoz95/mcp
    cd mcp
  2. Register the tools:

    For Claude Code (Global):

    # GPU Coordination
    claude mcp add gpu-coordination python3 $(pwd)/tools/gpu-coordination/gpu_mcp_server.py --env GPU_COUNT=8 --scope user
    
    # Device Coordination
    claude mcp add device-coordination python3 $(pwd)/tools/device-coordination/device_mcp_server.py --scope user

    Note: To limit these tools to a specific project, omit the --scope user flag.

    For Gemini CLI (Manual):

    gemini mcp add gpu-coordination python3 $(pwd)/tools/gpu-coordination/gpu_mcp_server.py --env GPU_COUNT=8
    gemini mcp add device-coordination python3 $(pwd)/tools/device-coordination/device_mcp_server.py

Features

  • Zero Dependency: Only requires Python 3 (standard library).
  • Atomic Locking: Prevents resource contention between agents.
  • Shared State: All agents on the same host share the same inventory.
  • Auto-Release: Prevents deadlocks if an agent crashes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages