Skip to main content

MCP 工具服务:管理云服务器机器记录(查询/插入/更新/删除),支持多云厂商

Project description

close-mcp-v1

MCP (Model Context Protocol) 工具服务,用于管理云服务器机器记录的增删改查操作。

功能

提供 4 个 MCP 工具:

工具 说明
query_machines 查询机器记录,支持完整 SQL SELECT 语句
insert_machine 插入新机器记录
update_machine 更新指定机器的字段
delete_machine 删除指定机器记录

支持的云厂商

qcloud / aliyun / huaweiyun / volcengine / aws / azure / bdcloud / jscloud / gcp

安装

cd close-mcp-v1
uv sync

环境变量

变量 说明 默认值
SQL_SERVER_HOST SQL 服务器地址 127.0.0.1
SQL_SERVER_PORT SQL 服务器端口 8900
SQL_SERVER_PASSWORD SQL 服务器密码

运行

close-mcp-v1

或在开发模式下:

uv run close-mcp-v1

MCP 客户端配置示例

{
  "mcpServers": {
    "close-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/close-mcp-v1",
        "run",
        "close-mcp-v1"
      ],
      "env": {
        "SQL_SERVER_HOST": "127.0.0.1",
        "SQL_SERVER_PORT": "8900",
        "SQL_SERVER_PASSWORD": "your_password"
      }
    }
  }
}

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

close_mcp_v1-0.1.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

close_mcp_v1-0.1.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file close_mcp_v1-0.1.0.tar.gz.

File metadata

  • Download URL: close_mcp_v1-0.1.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for close_mcp_v1-0.1.0.tar.gz
Algorithm Hash digest
SHA256 03eda118f0a90b2409649ef71f3e08a599bc63dcabf8eb4eb327856e41349650
MD5 affbb79ee8b8c9c4b74d56e4b2adf79a
BLAKE2b-256 3b28a25fc29d6d40852ee2f14d90eca724ff9fcbb869317b83d75d6c62b595c6

See more details on using hashes here.

File details

Details for the file close_mcp_v1-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: close_mcp_v1-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for close_mcp_v1-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ca399522de919628576de288866419d7e3d3cc2bc92f2fc327e8253f96ebf38
MD5 58a2554eb394b104fced9de40fdd3370
BLAKE2b-256 5b80b3564ff12a2c8fb38c26d888c6df813b045a752e8bc489b8bd16dcf3261d

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