CLI MCP Server
@anjumanraut
About CLI MCP Server
A simplified MCP server for terminal command execution
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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.
More Developer Tools MCP servers
Hello World MCP Server (Reference Extension)
anthropicsDesktop Extensions: One-click local MCP server installation in desktop apps
test
prysmaticlabsGo implementation of Ethereum proof of stake
OpenSumi
opensumiA framework helps you quickly build AI Native IDE products. MCP Client, supports Model Context Protocol (MCP) tools via MCP server.
MCP-Scan: An MCP Security Scanner
invariantlabs-aiSecurity scanner for AI agents, MCP servers and agent skills.
nuxt-mcp / vite-plugin-mcp
antfuMCP server helping models to understand your Vite/Nuxt app better.
Comments