Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ€– Coding Agents
  3. Cli MCP Server
Cli MCP Server logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 7:04:53 PM

Cli MCP Server

User RatingsBe the first to rate and review this MCP server!
View Repository178 GitHub StarsTotal stargazers on GitHub for the source repository (178 stars).
code-executionclisecuritydeveloper-tools

Executes whitelisted CLI commands inside a restricted directory with configurable validation, timeouts, and shell protections.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mladensu-cli-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ€– More in Coding Agents

Overview

MladenSU/cli-mcp-server MCP server lets an MCP client run approved command-line operations within a configured directory. It validates commands, flags, paths, shell operators, command length, and execution time before running them. The server exposes command execution and security-rule inspection over stdio, with configuration supplied through environment variables. Reach for it when an agent needs controlled local CLI access rather than unrestricted shell execution.

Use cases

β€’Run approved file-inspection commands within a designated directory
β€’Restrict agent CLI access with command and flag allowlists
β€’Inspect active execution and security rules
β€’Enforce command timeouts and maximum command lengths

Key features

β€’Whitelisted command execution
β€’Configurable flag validation
β€’Restricted working-directory access
β€’Path traversal and symlink checks
β€’Shell operator blocking
β€’Timeout and command-length limits

Capabilities & Tool Schemas

Inspect callable tools, capabilities, and parameters exposed to AI agents by Cli MCP Server.

Extracted Tool Capabilities
Whitelisted command execution
Configurable flag validation
Restricted working-directory access
Path traversal and symlink checks
Shell operator blocking
Timeout and command-length limits

How Cli MCP Server works

What MladenSU/cli-mcp-server MCP server does

MladenSU/cli-mcp-server MCP server exposes a restricted command-line interface through MCP. It is intended for setups where an AI application needs to inspect files, query directories, or run other approved commands without granting unrestricted shell access. The server applies policy checks before execution and limits operations to a configured base directory.

The project targets Python 3.10 or newer and is distributed under the MIT License. It communicates over stdio, making it suitable for local MCP clients such as Claude Desktop.

How it works

The server reads its execution policy from environment variables. ALLOWED_DIR defines the directory boundary, while ALLOWED_COMMANDS and ALLOWED_FLAGS specify which commands and options may be used. Both allow the special value all, although using that value removes the corresponding whitelist restriction.

Each request is passed through validation before execution. Path normalization, traversal checks, and symlink resolution help keep file access within the permitted directory. Shell operators such as &&, pipes, and redirection are blocked by default and can be enabled explicitly with ALLOW_SHELL_OPERATORS=true.

Execution is also constrained by MAX_COMMAND_LENGTH and COMMAND_TIMEOUT. The default command length is 1024 characters and the default timeout is 30 seconds. Validation or execution failures are reported with specific error categories, including security, timeout, path, format, and command execution errors.

Setup and configuration

MladenSU/cli-mcp-server MCP server can be launched from its published package with uvx cli-mcp-server, or from a checked-out repository using the documented uv command. A working configuration must provide ALLOWED_DIR; the other settings have defaults.

For Claude Desktop, add an MCP server entry that uses uvx with cli-mcp-server as its argument. Put the policy variables in that entry’s env object. A typical policy might allow ls, cat, and pwd, permit selected flags, retain the 1024-character limit, use a 30-second timeout, and leave shell operators disabled.

Developers working from source can synchronize dependencies with uv sync and build distributions with uv build. The repository also documents publishing through uv publish, which requires a PyPI token.

Tools and capabilities

MladenSU/cli-mcp-server MCP server provides two documented tools:

  • run_command accepts one command string, such as ls -l or cat file.txt, and executes it after policy validation.
  • show_security_rules reports the active working directory, command and flag allowlists, maximum command length, and timeout.

The implementation supports asynchronous operations and returns detailed errors when requests violate the configured rules or when execution fails.

Limitations and notes

This server does not provide unrestricted shell access by default. Commands and flags must be allowed, paths must remain under ALLOWED_DIR, and shell operators remain unavailable unless explicitly enabled. Setting either whitelist to all broadens access and should be evaluated against the intended security boundary.

The README documents Claude Desktop configuration but does not identify compatibility with other MCP clients. Because the server runs over stdio, client configuration must start the local process rather than connect to a hosted endpoint. The project recommends MCP Inspector for debugging stdio-based development configurations.

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Coding Agents View all alternatives
  • MCP Shell Server logoMCP Shell Server

    A secure shell command execution server implementing the Model Context Protocol (MCP)

    πŸ€– Coding Agents3 views
    Compare vs MCP Shell Server β†’
  • Codemcp logoCodemcp

    Coding agent with basic read, write and command line tools.

    πŸ€– Coding Agents4 views
    Compare vs Codemcp β†’
  • MCP Safe Local Python Executor logoMCP Safe Local Python Executor

    Safe Python interpreter based on HF Smolagents LocalPythonExecutor

    πŸ€– Coding Agents3 views
    Compare vs MCP Safe Local Python Executor β†’
  • Codegraphcontext logoCodegraphcontext

    An MCP server that indexes local code into a graph database to provide context to AI assistants with a graphical code visualizations for humans.

    πŸ€– Coding Agents3 views
    Compare vs Codegraphcontext β†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

GitHub stars
178
Stargazers on the source repository.
npm downloads
36k
Package downloads in the last 30 days.
Last commit
1y ago
Most recent push to the default branch.
Directory activity
3 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about Cli MCP Server

Use the published package with `uvx cli-mcp-server`, or configure Claude Desktop to run `uvx` with `cli-mcp-server` as its argument.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCli MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mladensu-cli-mcp-server?style=directory)](https://allmcps.com/mcp/mladensu-cli-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/mladensu-cli-mcp-server"><img src="https://allmcps.com/api/badge/mladensu-cli-mcp-server?style=directory" alt="Cli MCP Server on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ€–Coding Agents
PricingFree
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
AuthNo auth required
LicenseMIT
ClientsClaude Desktop
Last updatedSep 7, 2026
Views3
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars178
GitHub Star CountTotal stargazers on GitHub representing community popularity (178 stars).
Last commit1y ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jul 4, 2025
npm downloads36,685/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
47Quality signal: Fair Β· 47/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools17/30
Adoption & activity8/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 20d ago via OSV.dev Β· @smithery/cli (npm)

β˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge and attach your website β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ€– Coding Agents β†’Best MCP servers for Coding Agents β†’Alternatives to Cli MCP Server β†’Install in Claude DesktopInstall in CursorInstall in VS Code