Skip to main content

A MCP server implementation for HAI (Hyper Application Inventor) services

Project description

mcp-server-hai

A MCP server implementation for Tencent HAI (Hyper Application Inventor) services

Installation

Cline

if you are using cline, no installation is needed, the installation is automatically executed by uvx.

Local install

uv init example-project # init your project
uv add mcp-server-hai # download and install the package on PYPI
uv run mcp-server-hai # run the package

Usage

Using in Cline

open your cline setting file: cline_mcp_setting.json

add mcp-server-hai configuration to mcpServers as follows:

{
    "mcpServers": {
      "mcp-server-hai": {
        "command": "uvx",
        "args": [
          "mcp-server-hai"
        ],
        "env": {
          "TENCENTCLOUD_SECRET_ID": "YOUR_SECRET_ID_HERE",
          "TENCENTCLOUD_SECRET_KEY": "YOUR_SECRET_KEY_HERE"
        },
        "transportType": "stdio"
      }
    }
  }

Then you can find the mcp server named mcp-server-hai in cline, enjoy ;)

Directly run the server

uvx mcp-server-hai

Environment variables required:

  • TENCENTCLOUD_SECRET_ID: Your Tencent Cloud secret ID
  • TENCENTCLOUD_SECRET_KEY: Your Tencent Cloud secret key

Features

  • Create, start, stop and remove HAI instances
  • Query instance information and network status
  • Get available regions and instance types

Development

Install development dependencies:

uv sync

Publishing

Build and publish to PYPI:

uv add build twine
uv run python -m build
uv run twine upload dist/*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_hai-1.2.0.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_hai-1.2.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_hai-1.2.0.tar.gz.

File metadata

  • Download URL: mcp_server_hai-1.2.0.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for mcp_server_hai-1.2.0.tar.gz
Algorithm Hash digest
SHA256 59f24bd7db5acb1af74279d888f50854c7d43854a1a01c180f6b26fd790cc117
MD5 25aa41409da19e7fd7219cc66d57206e
BLAKE2b-256 13ce577f12b668890572dc06e075772a22c404c4e6d982c598bd0aa9e003b344

See more details on using hashes here.

File details

Details for the file mcp_server_hai-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: mcp_server_hai-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for mcp_server_hai-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3a09b907b39bb7055dbc575773f5a66b01a95956abea0bc17dbbe0e4e5d20e6c
MD5 603398124c6e0a49509c2e44a82e6c7d
BLAKE2b-256 6715242411ccb753f934564e51d6babefd75bf5be8d83a5d35e3538c18b5ef71

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page