diff --git a/mcp_center/mcp_config/cache_miss_audit_mcp/config.json b/mcp_center/mcp_config/cache_miss_audit_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..e238ae0d657fa34fa8420b76b30cf2e07abd942c --- /dev/null +++ b/mcp_center/mcp_config/cache_miss_audit_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "定位 CPU 缓存失效导致的性能损耗mcp", + "overview": "定位 CPU 缓存失效导致的性能损耗mcp", + "description": "定位 CPU 缓存失效导致的性能损耗mcp", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12217/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/cat_mcp/config.json b/mcp_center/mcp_config/cat_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..48d13362780fa4b340f9391cdd30260043ccaa13 --- /dev/null +++ b/mcp_center/mcp_config/cat_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "文件内容查看工具", + "overview": "文件内容查看工具", + "description": "文件内容查看工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13115/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/change.py b/mcp_center/mcp_config/change.py new file mode 100644 index 0000000000000000000000000000000000000000..cec514e9fe5c2639d12ac419344b60e2f460b896 --- /dev/null +++ b/mcp_center/mcp_config/change.py @@ -0,0 +1,67 @@ +import json +import toml + +def json_to_toml(json_data, toml_file_path, top_level_key="data"): + """ + 将JSON数据转换为TOML格式并写入文件 + + 参数: + json_data: JSON数据,可以是字典、列表或JSON字符串 + toml_file_path: 输出的TOML文件路径 + top_level_key: 当输入为列表时,用于包装列表的顶级键名 + """ + try: + # 如果输入是JSON字符串,则先解析为Python对象 + if isinstance(json_data, str): + data = json.loads(json_data) + else: + data = json_data + + # TOML不支持顶级列表,需要包装在字典中 + if isinstance(data, list): + data = {top_level_key: data} + + # 将数据转换为TOML格式并写入文件 + with open(toml_file_path, 'w', encoding='utf-8') as f: + toml.dump(data, f) + + print(f"成功将JSON数据转换为TOML并写入文件: {toml_file_path}") + return True + + except json.JSONDecodeError as e: + print(f"JSON解析错误: {e}") + except Exception as e: + print(f"转换过程中发生错误: {e}") + return False + +if __name__ == "__main__": + # 示例JSON数据(列表形式) + sample_json = [ + { + "appType":"agent", + "name":"hce运维助手", + "description":"hce运维助手,用于诊断hce环境和执行shell命令", + "mcpPath":[ + "remote_info_mcp", + "shell_generator_mcp" + ], + "published":True + } + ] + + # 转换并写入TOML文件 + # 对于列表数据,指定一个顶级键名(如"applications")使其符合TOML格式要求 + json_to_toml(sample_json, "mcp_to_app_config.toml", "applications") + + # 测试字典类型的JSON数据 + dict_json = { + "name": "测试", + "version": "1.0.0", + "features": ["简单", "易用"] + } + json_to_toml(dict_json, "from_dict.toml") + + # 测试JSON字符串 + json_str = '{"name": "字符串测试", "version": "2.0.0"}' + json_to_toml(json_str, "from_string.toml") + \ No newline at end of file diff --git a/mcp_center/mcp_config/chmod_mcp/config.json b/mcp_center/mcp_config/chmod_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..d8494f337bbca8fed4a26de87f7e7ee505200ef5 --- /dev/null +++ b/mcp_center/mcp_config/chmod_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "文件权限修改工具", + "overview": "文件权限修改工具", + "description": "文件权限修改工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13117/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/chown_mcp/config.json b/mcp_center/mcp_config/chown_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..a6e0baac2825bc55033ed8d05014bba51b5443b1 --- /dev/null +++ b/mcp_center/mcp_config/chown_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "文件所有者修改工具", + "overview": "文件所有者修改工具", + "description": "文件所有者修改工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13116/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/docker_mcp/config.json b/mcp_center/mcp_config/docker_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..bdab03d5c945d5ced010261d42ef34005ccb5654 --- /dev/null +++ b/mcp_center/mcp_config/docker_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "docker工具", + "overview": "docker工具", + "description": "docker工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12133/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/echo_mcp/config.json b/mcp_center/mcp_config/echo_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..c9966996fb6854ab3d3d3cd00fb5491e09ab087a --- /dev/null +++ b/mcp_center/mcp_config/echo_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "文本写入工具", + "overview": "文本写入工具", + "description": "文本写入工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13125/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/ethtool_mcp/config.json b/mcp_center/mcp_config/ethtool_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..c5f5d8eff0750cc93c285680f5b5a68188a354b5 --- /dev/null +++ b/mcp_center/mcp_config/ethtool_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "ethtool网卡信息查询,特性情况,网卡设置", + "overview": "ethtool网卡信息查询,特性情况,网卡设置", + "description": "ethtool网卡信息查询,特性情况,网卡设置", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12121/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/fallocate_mcp/config.json b/mcp_center/mcp_config/fallocate_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..50bfe29dcad9937ad2ea0b67afae8cc8ac243f97 --- /dev/null +++ b/mcp_center/mcp_config/fallocate_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "创建启用启用swap文件工具", + "overview": "创建启用启用swap文件工具", + "description": "创建启用启用swap文件工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13106/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/file_content_tool_mcp/config.json b/mcp_center/mcp_config/file_content_tool_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..73f71ff9707049eb02c28a7ca15a0871f643ec0c --- /dev/null +++ b/mcp_center/mcp_config/file_content_tool_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "文件内容增删改查", + "overview": "文件内容增删改查", + "description": "文件内容增删改查", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12125/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/file_transfer_mcp/config.json b/mcp_center/mcp_config/file_transfer_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..4dfbc4b1b8fae6aed7abb03d8c3d76760cb9bed8 --- /dev/null +++ b/mcp_center/mcp_config/file_transfer_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "基于`curl`、`wget`、`scp`、`sftp`工具的文件传输MCP", + "overview": "基于`curl`、`wget`、`scp`、`sftp`工具的文件传输MCP", + "description": "基于`curl`、`wget`、`scp`、`sftp`工具的文件传输MCP", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12136/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/find_mcp/config.json b/mcp_center/mcp_config/find_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..206c0db8b6455213443b4cd8bef344a5e6f6c7d0 --- /dev/null +++ b/mcp_center/mcp_config/find_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "文件查找工具", + "overview": "文件查找工具", + "description": "文件查找工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13107/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/firewalld_mcp/config.json b/mcp_center/mcp_config/firewalld_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..a04907a55c99c16f2b111e545d3b921355d59905 --- /dev/null +++ b/mcp_center/mcp_config/firewalld_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "Firewalld网络防火墙管理工具", + "overview": "Firewalld网络防火墙管理工具", + "description": "Firewalld网络防火墙管理工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12130/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/flame_graph_mcp/config.json b/mcp_center/mcp_config/flame_graph_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..7e89be95538b233986b4826b66dcb1562c4e2a32 --- /dev/null +++ b/mcp_center/mcp_config/flame_graph_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "火焰图生成:可视化展示性能瓶颈mcp", + "overview": "火焰图生成:可视化展示性能瓶颈mcp", + "description": "火焰图生成:可视化展示性能瓶颈mcp", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12222/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/free_mcp/config.json b/mcp_center/mcp_config/free_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..e88ddc2653c027ba5962b347a14028181cdacff2 --- /dev/null +++ b/mcp_center/mcp_config/free_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "系统整体内存资源信息收集工具", + "overview": "系统整体内存资源信息收集工具", + "description": "系统整体内存资源信息收集工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13100/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/func_timing_trace_mcp/config.json b/mcp_center/mcp_config/func_timing_trace_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..39515c29be2a3463e754e8cba11468a1d926f3a2 --- /dev/null +++ b/mcp_center/mcp_config/func_timing_trace_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "精准测量函数执行时间(含调用栈)mcp", + "overview": "精准测量函数执行时间(含调用栈)mcp", + "description": "精准测量函数执行时间(含调用栈)mcp", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12218/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/grep_mcp/config.json b/mcp_center/mcp_config/grep_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..fb5444d436410e8dfd2dd1a14d7a6fe9b9bd05aa --- /dev/null +++ b/mcp_center/mcp_config/grep_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "文件内容搜索工具", + "overview": "文件内容搜索工具", + "description": "文件内容搜索工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13120/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/head_mcp/config.json b/mcp_center/mcp_config/head_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..4266e6b955af64f2b889e208de739509004ff486 --- /dev/null +++ b/mcp_center/mcp_config/head_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "文件开头内容查看工具", + "overview": "文件开头内容查看工具", + "description": "文件开头内容查看工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13113/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/hotspot_trace_mcp/config.json b/mcp_center/mcp_config/hotspot_trace_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..4bf74db9411834578b3de33dbda4fe774a09fa13 --- /dev/null +++ b/mcp_center/mcp_config/hotspot_trace_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "快速定位系统 / 进程的 CPU 性能瓶颈mcp", + "overview": "快速定位系统 / 进程的 CPU 性能瓶颈mcp", + "description": "快速定位系统 / 进程的 CPU 性能瓶颈mcp", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12216/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/ifconfig_mcp/config.json b/mcp_center/mcp_config/ifconfig_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..f151afa0de291163613871df0a76e5780c861b8a --- /dev/null +++ b/mcp_center/mcp_config/ifconfig_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "ifconfig 网络接口信息监控", + "overview": "ifconfig 网络接口信息监控", + "description": "ifconfig 网络接口信息监控", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12120/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/iftop_mcp/config.json b/mcp_center/mcp_config/iftop_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..efa10860b6256cc5444051e02c07e6696bb927ac --- /dev/null +++ b/mcp_center/mcp_config/iftop_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "Iftop网络流量监控", + "overview": "Iftop网络流量监控", + "description": "Iftop网络流量监控", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12116/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/iptables_mcp/config.json b/mcp_center/mcp_config/iptables_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..9d952e90f37357669f0f348240487cd4c32e9f38 --- /dev/null +++ b/mcp_center/mcp_config/iptables_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "iptables防火墙管理工具", + "overview": "iptables防火墙管理工具", + "description": "iptables防火墙管理工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12131/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/kill_mcp/config.json b/mcp_center/mcp_config/kill_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..bcd3f1419df6bcfbba6ccccb8e75a9676ccbf14f --- /dev/null +++ b/mcp_center/mcp_config/kill_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "kill命令暂停/恢复进程&查询信号量含义", + "overview": "kill命令暂停/恢复进程&查询信号量含义", + "description": "kill命令暂停/恢复进程&查询信号量含义", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12111/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/ls_mcp/config.json b/mcp_center/mcp_config/ls_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..37143eaebb79ec63b4d49cac256df9be0d3cade2 --- /dev/null +++ b/mcp_center/mcp_config/ls_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "目录结构查看工具", + "overview": "目录结构查看工具", + "description": "目录结构查看工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13112/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/lscpu_mcp/config.json b/mcp_center/mcp_config/lscpu_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..03828124878a2a65797a777473011d8858e3d7bc --- /dev/null +++ b/mcp_center/mcp_config/lscpu_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "cpu架构等静态信息收集mcp", + "overview": "cpu架构等静态信息收集mcp", + "description": "cpu架构等静态信息收集mcp", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12202/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/lsof_mcp/config.json b/mcp_center/mcp_config/lsof_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..c0d782c0b97491371dd31491f003c74d7d7b353a --- /dev/null +++ b/mcp_center/mcp_config/lsof_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "快速排查文件占用冲突、网络连接异常及进程资源占用问题", + "overview": "快速排查文件占用冲突、网络连接异常及进程资源占用问题", + "description": "快速排查文件占用冲突、网络连接异常及进程资源占用问题", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12119/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/mcp_to_app_config.toml b/mcp_center/mcp_config/mcp_to_app_config.toml new file mode 100644 index 0000000000000000000000000000000000000000..c0dd5c7b4d7f9b7f14818b1f1fda18db813644ec --- /dev/null +++ b/mcp_center/mcp_config/mcp_to_app_config.toml @@ -0,0 +1,176 @@ +[[applications]] +appType = "agent" +name = "OE-智能运维助手" +description = "提供通用系统运维能力,含网络监控、性能分析、硬件信息查询、存储管理等功能" +mcpPath = [ +"remote_info_mcp", +"shell_generator_mcp", +"kill_mcp", +"nohup_mcp", +"strace_mcp", +"top_mcp", +"iftop_mcp", +"nload_mcp", +"netstat_mcp", +"lsof_mcp", +"ifconfig_mcp", +"ethtool_mcp", +"tshark_mcp", +"file_content_tool_mcp", +"firewalld_mcp", +"iptables_mcp", +"nmap_mcp", +"file_transfer_mcp", +"lscpu_mcp", +"perf_interrupt_mcp", +"flame_graph_mcp", +"free_mcp", +"sync_mcp", +"swapon_mcp", +"swapoff_mcp", +"fallocate_mcp", +"find_mcp", +"touch_mcp", +"mkdir_mcp", +"rm_mcp", +"mv_mcp", +"ls_mcp", +"head_mcp", +"tail_mcp", +"cat_mcp", +"chmod_mcp", +"chown_mcp", +"tar_mcp", +"zip_mcp", +"grep_mcp", +"sed_mcp", +"echo_mcp" +] +published = true + +[[applications]] +appType = "agent" +name = "OE-智算调优助手" +description = "面向AI/GPU/NPU智算场景,提供异构硬件监控、系统追踪、智算任务调优能力" +mcpPath = [ +"shell_generator_mcp", +"kill_mcp", +"nohup_mcp", +"strace_mcp", +"top_mcp", +"nvidia_mcp", +"npu_mcp", +"file_content_tool_mcp", +"firewalld_mcp", +"iptables_mcp", +"file_transfer_mcp", +"sync_mcp", +"find_mcp", +"touch_mcp", +"mkdir_mcp", +"rm_mcp", +"mv_mcp", +"ls_mcp", +"systrace_mcp", +"head_mcp", +"tail_mcp", +"cat_mcp", +"chmod_mcp", +"chown_mcp", +"tar_mcp", +"zip_mcp", +"grep_mcp", +"sed_mcp", +"echo_mcp" +] +published = true + +[[applications]] +appType = "agent" +name = "OE-通算调优助手" +description = "针对通用计算场景(尤其NUMA架构),提供NUMA优化、热点追踪、缓存分析、系统性能调优能力" +mcpPath = [ +"shell_generator_mcp", +"remote_info_mcp", +"kill_mcp", +"nohup_mcp", +"strace_mcp", +"top_mcp", +"file_content_tool_mcp", +"firewalld_mcp", +"iptables_mcp", +"file_transfer_mcp", +"lscpu_mcp", +"numa_topo_mcp", +"numa_bind_proc_mcp", +"numa_rebind_proc_mcp", +"numa_perf_compare_mcp", +"numa_diagnose_mcp", +"numastat_mcp", +"numa_cross_node_mcp", +"numa_container_mcp", +"hotspot_trace_mcp", +"cache_miss_audit_mcp", +"func_timing_trace_mcp", +"strace_syscall_mcp", +"perf_interrupt_mcp", +"flame_graph_mcp", +"free_mcp", +"vmstat_mcp", +"sar_mcp", +"sync_mcp", +"find_mcp", +"touch_mcp", +"mkdir_mcp", +"rm_mcp", +"mv_mcp", +"ls_mcp", +"tune_mcp", +"head_mcp", +"tail_mcp", +"cat_mcp", +"chmod_mcp", +"chown_mcp", +"tar_mcp", +"zip_mcp", +"grep_mcp", +"sed_mcp", +"echo_mcp" +] +published = true + +[[applications]] +appType = "agent" +name = "OE-容器镜像助手" +description = "提供容器与虚拟化环境管理能力,含Docker操作、QEMU虚拟化、容器NUMA绑定、镜像运维等功能" +mcpPath = [ +"shell_generator_mcp", +"remote_info_mcp", +"kill_mcp", +"strace_mcp", +"file_content_tool_mcp", +"firewalld_mcp", +"iptables_mcp", +"docker_mcp", +"qemu_mcp", +"file_transfer_mcp", +"numa_bind_docker_mcp", +"sync_mcp", +"find_mcp", +"touch_mcp", +"mkdir_mcp", +"rm_mcp", +"mv_mcp", +"ls_mcp", +"head_mcp", +"tail_mcp", +"cat_mcp", +"chmod_mcp", +"chown_mcp", +"tar_mcp", +"zip_mcp", +"grep_mcp", +"sed_mcp", +"echo_mcp" +] +published = true \ No newline at end of file diff --git a/mcp_center/mcp_config/mkdir_mcp/config.json b/mcp_center/mcp_config/mkdir_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..e8d88c6eeab15b79cf0a4daa147ea37e6315e963 --- /dev/null +++ b/mcp_center/mcp_config/mkdir_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "文件夹创建工具", + "overview": "文件夹创建工具", + "description": "文件夹创建工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13109/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/mv_mcp/config.json b/mcp_center/mcp_config/mv_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..2f9d372866d79f3f53f4eb6df209e2efdaaeb166 --- /dev/null +++ b/mcp_center/mcp_config/mv_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "文件移动工具", + "overview": "文件移动工具", + "description": "文件移动工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13111/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/netstat_mcp/config.json b/mcp_center/mcp_config/netstat_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..67ce2c686e28b25bb8ec2dce9887eb721eafab9b --- /dev/null +++ b/mcp_center/mcp_config/netstat_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "netstat网络连接监控", + "overview": "netstat网络连接监控", + "description": "netstat网络连接监控", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12118/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/nload_mcp/config.json b/mcp_center/mcp_config/nload_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..93f49bfca2476bc3ed57eda98b29ca30d53b5c92 --- /dev/null +++ b/mcp_center/mcp_config/nload_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "Nload带宽监控", + "overview": "Nload带宽监控", + "description": "Nload带宽监控", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12117/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/nmap_mcp/config.json b/mcp_center/mcp_config/nmap_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..6ecad2504f86a5f4103343ebdd0525431293b485 --- /dev/null +++ b/mcp_center/mcp_config/nmap_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "Nmap扫描IP(网段)", + "overview": "Nmap扫描IP(网段)", + "description": "Nmap扫描IP(网段)", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12135/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/nohup_mcp/config.json b/mcp_center/mcp_config/nohup_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..cd2b5bad769cf10c588ddaf63a128d2f8ec1df00 --- /dev/null +++ b/mcp_center/mcp_config/nohup_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "后台运行进程", + "overview": "后台运行进程", + "description": "后台运行进程", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12112/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/npu_mcp/config.json b/mcp_center/mcp_config/npu_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..a02dfc820c4096b7f4b329c49c1060d826615813 --- /dev/null +++ b/mcp_center/mcp_config/npu_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "npu的查询和控制", + "overview": "npu的查询和控制", + "description": "npu的查询和控制", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12115/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/numa_bind_docker_mcp/config.json b/mcp_center/mcp_config/numa_bind_docker_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..36d8a769c601b1e307aa63d358e16f67cd81db7d --- /dev/null +++ b/mcp_center/mcp_config/numa_bind_docker_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "为 Docker 容器配置 NUMA 绑定mcp", + "overview": "为 Docker 容器配置 NUMA 绑定mcp", + "description": "为 Docker 容器配置 NUMA 绑定mcp", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12206/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/numa_bind_proc_mcp/config.json b/mcp_center/mcp_config/numa_bind_proc_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..aec44574a127700e54ca128601c6eb282a17a543 --- /dev/null +++ b/mcp_center/mcp_config/numa_bind_proc_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "启动时绑定进程到指定 NUMA 节点mcp", + "overview": "启动时绑定进程到指定 NUMA 节点mcp", + "description": "启动时绑定进程到指定 NUMA 节点mcp", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12204/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/numa_container_mcp/config.json b/mcp_center/mcp_config/numa_container_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..4ea1c2f92f3df60958a4e044682fc3034a079892 --- /dev/null +++ b/mcp_center/mcp_config/numa_container_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "监控 Docker 容器的 NUMA 内存访问mcp", + "overview": "监控 Docker 容器的 NUMA 内存访问mcp", + "description": "监控 Docker 容器的 NUMA 内存访问mcp", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12214/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/numa_cross_node_mcp/config.json b/mcp_center/mcp_config/numa_cross_node_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..2c8bb0b3e66e459349133297fec069c4305df415 --- /dev/null +++ b/mcp_center/mcp_config/numa_cross_node_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "定位跨节点内存访问过高的进程mcp", + "overview": "定位跨节点内存访问过高的进程mcp", + "description": "定位跨节点内存访问过高的进程mcp", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12211/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/numa_diagnose_mcp/config.json b/mcp_center/mcp_config/numa_diagnose_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..26672639be08348c9858ba65f8e87c0c0195b685 --- /dev/null +++ b/mcp_center/mcp_config/numa_diagnose_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "用 NUMA 绑定定位硬件问题mcp", + "overview": "用 NUMA 绑定定位硬件问题mcp", + "description": "用 NUMA 绑定定位硬件问题mcp", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12209/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/numa_perf_compare_mcp/config.json b/mcp_center/mcp_config/numa_perf_compare_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..2b0bb3d1313e9437d419f928829c031f1f5e5030 --- /dev/null +++ b/mcp_center/mcp_config/numa_perf_compare_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "用 NUMA 绑定控制测试变量性能测试mcp", + "overview": "用 NUMA 绑定控制测试变量性能测试mcp", + "description": "用 NUMA 绑定控制测试变量性能测试mcp", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12208/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/numa_rebind_proc_mcp/config.json b/mcp_center/mcp_config/numa_rebind_proc_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..4117a4e20f4c11130d5a8af2950c3928f24112f6 --- /dev/null +++ b/mcp_center/mcp_config/numa_rebind_proc_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "修改已启动进程的 NUMA 绑定mcp", + "overview": "修改已启动进程的 NUMA 绑定mcp", + "description": "修改已启动进程的 NUMA 绑定mcp", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12205/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/numa_topo_mcp/config.json b/mcp_center/mcp_config/numa_topo_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..3e45b998467110f65ede3c9282e02fa5017a3f13 --- /dev/null +++ b/mcp_center/mcp_config/numa_topo_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "查询 NUMA 硬件拓扑与系统配置mcp", + "overview": "查询 NUMA 硬件拓扑与系统配置mcp", + "description": "查询 NUMA 硬件拓扑与系统配置mcp", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12203/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/numastat_mcp/config.json b/mcp_center/mcp_config/numastat_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..ef74979dc8c2493cd2a743565a781b2b44b44ef5 --- /dev/null +++ b/mcp_center/mcp_config/numastat_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "查看系统整体 NUMA 内存访问状态mcp", + "overview": "查看系统整体 NUMA 内存访问状态mcp", + "description": "查看系统整体 NUMA 内存访问状态mcp", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12210/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/nvidia_mcp/config.json b/mcp_center/mcp_config/nvidia_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..438c2683b3c0e88468cd2b0b770637e63c35aa67 --- /dev/null +++ b/mcp_center/mcp_config/nvidia_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "nvidia查询GPU信息", + "overview": "nvidia查询GPU信息", + "description": "nvidia查询GPU信息", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12114/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/perf_interrupt_mcp/config.json b/mcp_center/mcp_config/perf_interrupt_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..6b9b3323e4812c46f4fe57543868488fb836a368 --- /dev/null +++ b/mcp_center/mcp_config/perf_interrupt_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "定位高频中断导致的 CPU 占用mcp", + "overview": "定位高频中断导致的 CPU 占用mcp", + "description": "定位高频中断导致的 CPU 占用mcp", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12220/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/qemu_mcp/config.json b/mcp_center/mcp_config/qemu_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..3cc69861d18bf9b122d4bb3568f76f00414a25fd --- /dev/null +++ b/mcp_center/mcp_config/qemu_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "Qemu虚拟机管理工具", + "overview": "Qemu虚拟机管理工具", + "description": "Qemu虚拟机管理工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12134/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/remote_info_mcp/config.json b/mcp_center/mcp_config/remote_info_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..b52fd80d54a4c2258d01056062b12f81bddbcbe4 --- /dev/null +++ b/mcp_center/mcp_config/remote_info_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "端侧信息收集工具", + "overview": "端侧信息收集工具", + "description": "端侧信息收集工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12100/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/rm_mcp/config.json b/mcp_center/mcp_config/rm_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..049291a69c905a29321d62af28f2cb63e7294626 --- /dev/null +++ b/mcp_center/mcp_config/rm_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "文件删除工具", + "overview": "文件删除工具", + "description": "文件删除工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13110/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/sar_mcp/config.json b/mcp_center/mcp_config/sar_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..95357f3dff3dce38f60d88b0c4c6b8a29a0c1167 --- /dev/null +++ b/mcp_center/mcp_config/sar_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "系统资源监控&历史信息分析工具", + "overview": "系统资源监控&历史信息分析工具", + "description": "系统资源监控&历史信息分析工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13102/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/sed_mcp/config.json b/mcp_center/mcp_config/sed_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..eb6c61e53a7a5a9ba8bdbcaf337d9c17f10a7b69 --- /dev/null +++ b/mcp_center/mcp_config/sed_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "文本处理工具", + "overview": "文本处理工具", + "description": "文本处理工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13121/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/shell_generator_mcp/config.json b/mcp_center/mcp_config/shell_generator_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..4dc6f2f62f171059c44f6a3434f4620d242e0991 --- /dev/null +++ b/mcp_center/mcp_config/shell_generator_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "端测命令生成&执行mcp", + "overview": "端测命令生成&执行mcp", + "description": "端测命令生成&执行mcp", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12101/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/strace_mcp/config.json b/mcp_center/mcp_config/strace_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..158bf6495fb69e793d74105ff42e151b71dcec6b --- /dev/null +++ b/mcp_center/mcp_config/strace_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "strace命令跟踪进程", + "overview": "strace命令跟踪进程", + "description": "strace命令跟踪进程", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12113/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/strace_syscall_mcp/config.json b/mcp_center/mcp_config/strace_syscall_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..a88c2c50e8a8da761e10f32bce0ab926d6f23dd7 --- /dev/null +++ b/mcp_center/mcp_config/strace_syscall_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "排查不合理的系统调用(高频 / 耗时)mcp", + "overview": "排查不合理的系统调用(高频 / 耗时)mcp", + "description": "排查不合理的系统调用(高频 / 耗时)mcp", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12219/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/swapoff_mcp/config.json b/mcp_center/mcp_config/swapoff_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..9e31b400154b36741a8ad29d2c32df499a9682ea --- /dev/null +++ b/mcp_center/mcp_config/swapoff_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "停用swap空间工具", + "overview": "停用swap空间工具", + "description": "停用swap空间工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13105/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/swapon_mcp/config.json b/mcp_center/mcp_config/swapon_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..737085b8b7013ddec140881db2e755c27902ae5f --- /dev/null +++ b/mcp_center/mcp_config/swapon_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "swap设备查看工具", + "overview": "swap设备查看工具", + "description": "swap设备查看工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13104/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/sync_mcp/config.json b/mcp_center/mcp_config/sync_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..fcb433c619158998c07f6febf30e91225f8536da --- /dev/null +++ b/mcp_center/mcp_config/sync_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "内存缓冲刷新工具", + "overview": "内存缓冲刷新工具", + "description": "内存缓冲刷新工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13103/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/systrace_mcp/config.json b/mcp_center/mcp_config/systrace_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..7f19a49a63f97eec6e534e3afcf38f5db964402f --- /dev/null +++ b/mcp_center/mcp_config/systrace_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "systracemcp", + "overview": "systracemcp", + "description": "systracemcp", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12145/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/tail_mcp/config.json b/mcp_center/mcp_config/tail_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..c39582009a1be67db693a510cb79c20ec553bdf2 --- /dev/null +++ b/mcp_center/mcp_config/tail_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "文件末尾内容查看工具", + "overview": "文件末尾内容查看工具", + "description": "文件末尾内容查看工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13114/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/tar_mcp/config.json b/mcp_center/mcp_config/tar_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..484fa4efc772dcf9ecc6a86d43f5bf840c40107b --- /dev/null +++ b/mcp_center/mcp_config/tar_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "文件压缩解压工具", + "overview": "文件压缩解压工具", + "description": "文件压缩解压工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13118/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/top_mcp/config.json b/mcp_center/mcp_config/top_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..8605736a6e57f0bd7a5e355359df85959e25c47f --- /dev/null +++ b/mcp_center/mcp_config/top_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "top命令获取系统负载信息", + "overview": "top命令获取系统负载信息", + "description": "top命令获取系统负载信息", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12110/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/touch_mcp/config.json b/mcp_center/mcp_config/touch_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..99786c85ca0a809ae69dc8d41932c04be86ab1b7 --- /dev/null +++ b/mcp_center/mcp_config/touch_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "系统整体内存资源信息收集工具", + "overview": "系统整体内存资源信息收集工具", + "description": "系统整体内存资源信息收集工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13108/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/tshark_mcp/config.json b/mcp_center/mcp_config/tshark_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..ce7e55babd66b25ff497ddf39622b38b2ad57a6e --- /dev/null +++ b/mcp_center/mcp_config/tshark_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "捕获、显示和分析网络流量", + "overview": "捕获、显示和分析网络流量", + "description": "捕获、显示和分析网络流量", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12122/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/tune_mcp/config.json b/mcp_center/mcp_config/tune_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..1ce62b09ba2ba8349665a53dd8b18e7d79ec199e --- /dev/null +++ b/mcp_center/mcp_config/tune_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "调优mcp", + "overview": "调优mcp", + "description": "调优mcp", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:12147/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/vmstat_mcp/config.json b/mcp_center/mcp_config/vmstat_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..cbff7a7bb02d48f88c20c647dcc663ed53dd1476 --- /dev/null +++ b/mcp_center/mcp_config/vmstat_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "系统资源交互瓶颈信息收集工具", + "overview": "系统资源交互瓶颈信息收集工具", + "description": "系统资源交互瓶颈信息收集工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13101/sse" + } +} \ No newline at end of file diff --git a/mcp_center/mcp_config/zip_mcp/config.json b/mcp_center/mcp_config/zip_mcp/config.json new file mode 100644 index 0000000000000000000000000000000000000000..3c53bd4e90f6a2e75e616a75a29c17ccc87f0370 --- /dev/null +++ b/mcp_center/mcp_config/zip_mcp/config.json @@ -0,0 +1,9 @@ +{ + "name": "文件压缩解压工具", + "overview": "文件压缩解压工具", + "description": "文件压缩解压工具", + "mcpType": "sse", + "config": { + "url": "http://127.0.0.1:13119/sse" + } +} \ No newline at end of file