LingTerm MCP — Let AI Safely Control Your Terminal
A hands-on tutorial. After reading, you'll have AI executing terminal commands in Cursor or Claude — safely.
Quick Start
1. Install
Option A: Run with npx (recommended)
No clone needed — just use npx in your MCP config:
"ling-term-mcp" : { "command" : "npx" , "args" : [ "-y" , "ling-term-mcp" ] }
Enter fullscreen mode
Exit fullscreen mode
Option B: Install from source
git clone https://github.com/guangda88/ling-term-mcp.git cd ling-term-mcp npm install && npm run build
Enter fullscreen mode
Exit fullscreen mode
Or use the one-liner: bash quickstart.sh (auto-checks environment, installs deps, builds, and runs tests).
2. Connect to Cursor
Open Cursor Settings → MCP Servers, add:
{ "mcpServers" : { "ling-term-mcp" : { "command" : "npx" , "args" : [ "-y" , "ling-term-mcp" ] } } }
Enter fullscreen mode
Exit fullscreen mode
If installing from source, change command to "node" and args to ["/your/absolute/path/ling-term-mcp/dist/index.js"] .…