Menu

1 / 2

LingTerm MCP Tutorial — Secure Terminal Access for AI Assistants

DEV Community·guangda·6 months ago
#69rJSnMt
#scenario#lingterm#mcp#ai#ling
Reading 0:00
15s threshold

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"] .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.