CLI Secure
A secure MCP server implementation for executing controlled command-line operations with comprehensive security features.
rating : 2.5 points
downloads : 4.9K
What is the CLI MCP Server?
The CLI MCP Server is a secure command-line execution server that allows specific commands to be run securely in a controlled environment. It prevents the execution of malicious or dangerous commands through strict permission control and verification mechanisms.How to use the CLI MCP Server?
Set the allowed commands and directories by configuring environment variables, and then send command requests via the MCP protocol. The server will verify and securely execute the allowed commands.Use cases
Suitable for scenarios where restricted command-line access needs to be provided for AI assistants or automation tools, such as non-sensitive operations like file browsing and log viewing.Main features
Secure command execution
Ensure that only allowed commands are executed through command whitelisting and path verification
Configurable rules
Allows setting of allowed commands, parameters, and working directories
Injection attack protection
Prevent command injection and path traversal attacks
Execution control
Supports timeout settings and command length limits
Advantages
Provide fine-grained command execution control
Prevent accidental or malicious dangerous operations
Detailed error reports help troubleshoot problems
Support asynchronous operations to improve efficiency
Limitations
Does not support shell operators (e.g., |, >, etc.)
Requires pre-configuration of the allowed command list
Execution environment is restricted to the specified directory
How to use
Install the server
Install the CLI MCP Server via Smithery
Configure environment variables
Set allowed commands, directories, and other security parameters
Integrate into Claude Desktop
Modify the configuration file to add MCP server settings
Send a command request
Send a command execution request via the MCP protocol
Usage examples
View project files
Ask the AI assistant to list the contents of the project directory
View log files
Ask the AI assistant to display the contents of a specific log file
Frequently Asked Questions
How to allow more commands?
Why is my command rejected?
How to debug server issues?
Related resources
MCP Protocol Documentation
Official documentation for the Model Context Protocol
MCP Inspector Tool
A tool for debugging MCP servers
Smithery Registration
Registration page for the CLI MCP Server

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
15.2K
4.5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
17.5K
4.3 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
47.0K
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
25.8K
5 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
21.2K
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
46.5K
4.5 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
16.6K
4.5 points

Context7
Context7 MCP is a service that provides real-time, version-specific documentation and code examples for AI programming assistants. It is directly integrated into prompts through the Model Context Protocol to solve the problem of LLMs using outdated information.
TypeScript
67.5K
4.7 points

