MCPInstall
secure-mcp logo

secure-mcp

by fsilva7456 fsilva7456/secure-mcp

A secure MCP (Master Control Program) implementation for AI command line interaction

READMEmain

Secure MCP (Master Control Program)

A secure implementation for AI-assisted command line interactions.

Features

  • Secure command execution with validation
  • Whitelist-based command filtering
  • Client-server architecture
  • Timeout protection

Usage

  1. Start the server:
python server.py
  1. Connect with the client:
python client.py

Security

  • Only whitelisted commands are allowed
  • Command validation and sanitization
  • Network isolation
  • Execution timeouts

Configuration

Edit the allowed_commands list in server.py to modify permitted commands.