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"
}
}
}
}
Metadata
Release files for close-mcp-v1 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| close_mcp_v1-0.1.0.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| close_mcp_v1-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.6 kB
Release files / close_mcp_v1-0.1.0.tar.gz
| Download URL | close_mcp_v1-0.1.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03eda118f0a90b2409649ef71f3e08a599bc63dcabf8eb4eb327856e41349650
|
|
BLAKE2b-256 checksum How to use checksums |
3b28a25fc29d6d40852ee2f14d90eca724ff9fcbb869317b83d75d6c62b595c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / close_mcp_v1-0.1.0-py3-none-any.whl
| Download URL | close_mcp_v1-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1ca399522de919628576de288866419d7e3d3cc2bc92f2fc327e8253f96ebf38
|
|
BLAKE2b-256 checksum How to use checksums |
5b80b3564ff12a2c8fb38c26d888c6df813b045a752e8bc489b8bd16dcf3261d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|