MCP.so
登录

CLI MCP Server

@anjumanraut

关于 CLI MCP Server

A simplified MCP server for terminal command execution

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

anjumanraut

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is CLI MCP Server?

CLI MCP Server is a Model Context Protocol (MCP) server implementation that allows MCP-compatible AI assistants to execute terminal commands in specified directories. It is for developers who want to let AI assistants run shell commands within controlled, user-defined paths.

How to use CLI MCP Server?

Install Node.js v16+ and npm v7+, then clone the repo and run npm install. Start the server by passing allowed directory paths as arguments to start-server.sh (macOS/Linux) or start-server.bat (Windows). Configure Claude by adding the server to its claude_desktop_config.json with the server path and allowed directories.

Key features of CLI MCP Server

  • Executes terminal commands via MCP-compatible AI assistants
  • Only allows commands in user-specified directories
  • Includes path validation to prevent unauthorized access
  • Cross-platform support (macOS, Linux, Windows)
  • Configurable with Claude Desktop via JSON configuration

Use cases of CLI MCP Server

  • Let Claude run file operations or scripts in a project directory
  • Automate development tasks like builds or tests through AI conversation
  • Execute system commands in a sandboxed, path-restricted environment

FAQ from CLI MCP Server

What directories can the server access?

Only directories provided as command-line arguments when starting the server. The server validates paths to block access outside those directories.

What runtime does CLI MCP Server require?

Node.js v16 or higher and npm v7 or higher.

How do I configure Claude to use this server?

Add an entry under mcpServers in Claude’s configuration file (e.g., claude_desktop_config.json) pointing to the server start script and listing allowed directory paths.

Are there security restrictions?

Yes. The server only executes commands in explicitly allowed directories and performs path validation. The README advises using a dedicated low‑permission user and reviewing all executed commands.

What transport or authentication does the server use?

The README does not mention transport or authentication details.

评论

开发工具 分类下的更多 MCP 服务器