Labsco
dewoller logo

Configurable Command MCP Server

โ˜… 1

from dewoller

A flexible MCP server that executes arbitrary command-line tools defined in a configuration file.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeQuick setup

Configurable Command MCP Server

A flexible Model Context Protocol (MCP) server that allows you to define and execute arbitrary command-line tools through configuration files. Perfect for giving Claude Desktop access to specific command-line utilities in a secure, controlled manner.

Features

  • ๐Ÿ› ๏ธ Configuration-driven: Define tools via JSON without modifying code
  • ๐Ÿ”’ Secure execution: Parameter sanitization, directory restrictions, and command allowlisting
  • โšก Rate limiting: Prevent abuse with configurable execution limits
  • ๐Ÿ“ Parameter validation: Type checking, patterns, and required/optional parameters
  • ๐ŸŽฏ Directory scoping: Restrict tool execution to specific directories
  • โฑ๏ธ Timeout control: Configurable execution timeouts per tool
  • ๐Ÿ“Š Output management: Size limits and structured result formatting

Adding Custom Tools

To add a new tool, edit tools.json:

{
  "name": "my_tool",
  "description": "Description for Claude",
  "command": "actual-command",
  "args": ["-flag", "{parameter}"],
  "parameters