MCP ExplorerExplorer

Hex Mcp

@hexsupporton 9 months ago
1 MIT
FreeCommunity
AI Systems
mcp server to interact with modelmanager api

Overview

What is Hex Mcp

hex-mcp is an MCP server designed to interact with the ModelManager API of HexagonML, providing a Model context protocol interface for various tools.

Use cases

Use cases for hex-mcp include deploying machine learning models, managing model versions, and integrating with other HexagonML services for enhanced model management.

How to use

To use hex-mcp, configure it in your local environment or via Docker. For local configuration, specify the command and arguments in a JSON format. For Docker, run the specified command with necessary environment variables.

Key features

Key features of hex-mcp include seamless integration with HexagonML tools, support for local and Docker configurations, and the ability to manage model contexts efficiently.

Where to use

hex-mcp is used in machine learning and data science environments where model management and deployment are critical, particularly in applications involving HexagonML tools.

Content

HexagonML ModelManager MCP Server

This is a HexagonML MCP server that provides a Model context protocol interface for HexagonML ModelManager tools.

Configuration For mcp integration on host (g: windsurf, vscode, claude desktop)

Local Configuration

{
  "mcpServers": {
    "hex-mm-mcp": {
      "command": "hex-mm-mcp/.venv/bin/mcp",
      "args": [
        "run",
        "hex-mm-mcp/server/mm_mcp_server.py"
      ]
    }
  }
}

Docker Configuration

For Dev (Using Local URL)
  • Run the ModelManager server in --host 0.0.0.0 --port 8000
    • cmd python manage.py runserver 0.0.0.0:8000
  • Get the hostname of your system using hostname -I command
    • eg: 192.168.10.75 172.17.0.1 2400:1a00:4b26:2af0:8f53:ede1:ec3a:c59b 2400:1a00:4b26:2af0:9139:c926:2fb5:6008
    • use first ip address from the list eg: 192.168.10.75
  • Replace your-api-base-url with http://<hostIP>:8000
{
  "mcpServers": {
    "hex-mm-mcp-docker": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "--network=host",
        "-e",
        "SECRET_KEY",
        "-e",
        "MM_API_BASE_URL",
        "-v",
        "OUTPUT_DIR",
        "<image-name>:<tag>"
      ],
      "env": {
        "SECRET_KEY": "your-secret-key",
        "MM_API_BASE_URL": "your-api-base-url",
        "OUTPUT_DIR": "your-output-dir"
      }
    }
  }
}

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers