a simple MCP server allowing VS Code to run a specific shell command without asking
Overview
what is MCP CLI?
MCP CLI is a Model Context Protocol server that allows AI assistants like GitHub Copilot to run specific shell commands without requiring user permission each time.
how to use MCP CLI?
To use MCP CLI, clone the repository, install it, and configure it in VS Code to add the MCP server as a tool. You can then use the command #mcp-cli in your prompts to instruct the AI to execute shell commands.
key features of MCP CLI?
- Allows AI assistants to run shell commands without repeated permissions.
- Supports a customizable list of allowed commands.
- Integrates seamlessly with VS Code for enhanced productivity.
use cases of MCP CLI?
- Automating repetitive shell command executions in coding environments.
- Enhancing AI assistant capabilities by allowing them to perform tasks that require shell commands.
- Streamlining workflows for developers using VS Code.
FAQ from MCP CLI?
- Can MCP CLI run any shell command?
Yes, as long as the command is added to the allowed list in the configuration.
- Is MCP CLI free to use?
Yes! MCP CLI is open-source and free for everyone.
- How do I modify the allowed commands?
You can modify the allowed commands in the
.vscode/mcp.jsonconfiguration file.