MCP Terminal Server - Execute commands within allowed paths
If you want an AI assistant working directly with MCP Terminal, the mcp terminal mcp server is the bridge. MCP Terminal Server - Execute commands within allowed paths.
A secure command-line interface server for the Model Context Protocol (MCP) that enables AI models to interact with your terminal while maintaining security and control.
Once connected, the assistant can call this tool directly:
execute_command — Run terminal commands securely (including SSH and remote commands)Setup follows the standard MCP pattern: clone or install the server, then register it in your client's configuration file and restart the client. The configuration snippets on this page cover Claude Desktop, Claude Code and Cursor.
File and storage servers are what separate an assistant that talks about your documents from one that actually works with them. MCP Terminal sits in that group, and the shape of its toolset — execute_command — tells you what it is really for. Worth comparing against the other file systems servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.
| Tool | What it does |
|---|---|
| execute_command | Run terminal commands securely (including SSH and remote commands) |
{
"mcpServers": {
"terminal": {
"command": "npx",
"args": [
"@dillip285/mcp-terminal",
"--allowed-paths",
"/path/to/allowed/directory"
]
}
}
}Configuration as documented by the project. Restart the client after saving.
Scoped local file access — read, write, search and reorganise files in directories you explicitly allow.
Search and read your Drive — Docs, Sheets and files become context your assistant can actually use.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Build a programmable telecommunications stack for connecting telephony services with the Internet via a cloud-based utility.
Chat with your second brain — search, read and write vault notes through the Local REST API.
Connects AI models to an Obsidian knowledge base for direct access and manipulation of notes and folders.