Server Run Commands

Server Run Commands

🚀 运行命令服务器

运行命令服务器是一个 MCP 服务器,可在本地操作系统上运行命令。该服务器的代码依据官方 MCP 指南编写,相关指南可参考:MCP 快速开始

✨ 主要特性

运行命令工具

  • 能够在本地操作系统上运行指定命令。
  • 输入为 command(字符串类型)。
  • 会将进程退出码和 stdout 回传给 LLM。

📦 安装指南

按照以下步骤进行安装:

  1. 克隆项目仓库:
git clone https://github.com/anton-107/server-run-commands.git
  1. 进入项目目录:
cd server-run-commands
  1. 安装依赖:
npm install
  1. 构建项目:
npm run build

💻 使用示例

在 Claude Desktop 中的使用

将以下内容添加到你的 claude_desktop_config.json 文件中:

{
"mcpServers": {
"run-commands": {
"command": "<本地 NODE 路径>",
"args": [
"/server-run-commands/build"
]
}
}
}
  • 0 关注
  • 0 收藏,11 浏览
  • system 提出于 2025-09-25 13:12

相似服务问题

相关AI产品