Configurable Command MCP Server
Provides tools for interacting with Git repositories, such as checking repository status through configurable command-line execution.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Configurable Command MCP Server search for all TODO comments in this project"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Related MCP server: Claude MCP Command Server
Setup Instructions
1. Create the project directory and install dependencies
cd /Users/dewoller/code/generic_mcp
npm install2. Build the TypeScript code
npm run build3. Configure your tools
Edit the tools.json file to define your command-line tools. The file is already configured with useful examples like:
list_files: List directory contentsgrep_search: Search for patterns in filesword_count: Count lines/words/charactersgit_status: Check git repository statusfind_files: Find files by patternAnd more!
4. Configure Claude Desktop
Add the following to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"command-executor": {
"command": "node",
"args": ["/Users/dewoller/code/generic_mcp/dist/index.js"],
"env": {
"CONFIG_PATH": "/Users/dewoller/code/generic_mcp/tools.json"
}
}
}
}5. Restart Claude Desktop
After saving the configuration, restart Claude Desktop to load the MCP server.
Testing the Installation
Run Integration Tests
npm run test:integrationThis will test several tools and show you their output.
Manual Testing in Development Mode
# Run in development mode (with TypeScript)
npm run dev
# Or run the built version
npm startUsage Examples
Once configured, you can ask Claude to use these tools:
"List all JavaScript files in my code directory"
"Search for TODO comments in the project"
"Show me the git status"
"Count lines in all Python files"
"Find all markdown files"
Adding Custom Tools
To add a new tool, edit tools.json:
{
"name": "my_tool",
"description": "Description for Claude",
"command": "actual-command",
"args": ["-flag", "{parameter}"],
"parametersAvailable Tools
1 toolread_docs_by_listB
Read multiple documents (PDF, Word, HTML) using pandoc
Inputs: files (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly defined as reading multiple document types using pandoc, making it distinct by default.
Since there is only one tool, naming consistency is inherently perfect. The tool name 'read_docs_by_list' follows a clear verb_noun pattern, and there are no other tools to compare it against for inconsistency.
A single tool is too few for a server named 'Configurable Command MCP Server', which suggests a broader scope of configurable commands. This minimal toolset feels thin and underdeveloped for the implied purpose, indicating a significant mismatch.
The server's name implies configurability and command execution, but the single tool only covers document reading. There are obvious gaps, such as lacking tools for configuration management, command execution, or other document operations, making the surface severely incomplete for the stated purpose.
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
MCP server for progressive tool usage at any scale (see https://klavis.ai)
The Remote MCP server acts as a standardized bridge between LLM applications (like Claude, ChatGPT, and Cursor) and external services, enabling AI agents to access external tools and resources. Its primary capability is providing a centralized search tool to discover other MCP servers and their respective tools. Unlike local implementations, it runs remotely with OAuth authentication and permission controls for security.
Nifty's MCP server β exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that allows integration with Claude Desktop by creating and managing custom tools that can be executed through the MCP framework.95 npm-
- FlicenseNot gradedqualityDmaintenanceA server implementation for the Model Context Protocol (MCP) that allows Claude AI to execute commands through a command-line interface, enabling direct system interactions from within Claude.-
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol (MCP) server built with the mcp-framework for developing and managing custom tools. It provides a structured foundation for building and integrating modular components like data processors and API clients into Claude Desktop.11 npm-
- AlicenseAqualityBmaintenanceLocal MCP server that wraps the headless Claude Code CLI as MCP tools, providing stateless access to Claude's coding capabilities through prompt-based interactions. It enables users to execute Claude Code commands with various prompt formats and structured outputs directly from MCP clients.3MIT