Terminal

by dillip285

5 stars
Not rated
GitHub

About

Provides a secure terminal environment for executing system commands within allowed paths, enabling controlled file management and script execution.

Details

Author
dillip285
Repository
dillip285/mcp-terminal
GitHub stars
5
License
MIT License
Categories
Developer Tools, Productivity, Design, File Management, AI, Project Management, Security, Frontend

- ๐Ÿ”’ Secure command execution with configurable permissions
- ๐Ÿ“ File system operations within allowed paths
- ๐ŸŒ Environment variable management
- ๐Ÿ’ป Cross-platform support (Windows, macOS, Linux)
- ๐Ÿ”Œ Remote system connections support via command execution

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Terminal
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 @dillip285/mcp-terminal
    • Argument 2 --allowed-paths
    • Argument 3 /path/to/allowed/directory

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Add the server configuration to your Claude Desktop config file:

{
  "mcpServers": {
    "terminal": {
      "command": "npx",
      "args": [
        "@dillip285/mcp-terminal",
        "--allowed-paths",
        "/path/to/allowed/directory"
      ]
    }
  }
}

Restart Claude Desktop to apply the changes. You can now use the terminal capabilities through Claude with secure file access and command execution.

npm install

cp .npmrc.example .npmrc

execute_command

Run terminal commands securely (including SSH and remote commands)

- execute_command: Run terminal commands securely (including SSH and remote commands)

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "terminal": {
            "cwd": "",
            "env": {},
            "args": [
                "@dillip285/mcp-terminal",
                "--allowed-paths",
                "/path/to/allowed/directory"
            ],
            "shell": false,
            "command": "npx"
        }
    }
}

Linux

{
    "cwd": "",
    "env": [],
    "args": [
        "@dillip285/mcp-terminal",
        "--allowed-paths",
        "/path/to/allowed/directory"
    ],
    "shell": false,
    "command": "npx"
}

Macos

{
    "cwd": "",
    "env": [],
    "args": [
        "@dillip285/mcp-terminal",
        "--allowed-paths",
        "/path/to/allowed/directory"
    ],
    "shell": false,
    "command": "npx"
}

Windows

{
    "cwd": "",
    "env": [],
    "args": [
        "/c",
        "npx",
        "@dillip285/mcp-terminal",
        "--allowed-paths",
        "/path/to/allowed/directory"
    ],
    "shell": false,
    "command": "cmd"
}

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.

- ๐Ÿ”’ Secure command execution with configurable permissions
- ๐Ÿ“ File system operations within allowed paths
- ๐ŸŒ Environment variable management
- ๐Ÿ’ป Cross-platform support (Windows, macOS, Linux)
- ๐Ÿ”Œ Remote system connections support via command execution

Add the server configuration to your Claude Desktop config file:

{ "mcpServers": { "terminal": { "command": "npx", "args": [ "@dillip285/mcp-terminal", "--allowed-paths", "/path/to/allowed/directory" ] } } }

Restart Claude Desktop to apply the changes. You can now use the terminal capabilities through Claude with secure file access and command execution.

- execute_command: Run terminal commands securely (including SSH and remote commands)

- All operations are restricted to specified allowed paths
- Commands are validated and sanitized before execution
- Environment variables are carefully managed
- Proper error handling for security-related issues

# Clone the repository git clone https://github.com/dillip285/mcp-terminal.git # Install dependencies npm install # Configure npm authentication cp .npmrc.example .npmrc # Edit .npmrc and add your NPM_TOKEN # Run tests npm test # Build the project npm run build

- Copy.npmrc.exampleto.npmrc
- Add your npm authentication token to.npmrc
- Runnpm publish --access public

Note: Never commit your.npmrcfile with the authentication token. It is already added to.gitignore.
- Fork the repository
- Create your feature branch (git checkout -b feature/amazing-feature)
- Commit your changes (git commit -m 'feat: Add amazing feature')
- Push to the branch (git push origin feature/amazing-feature)
- Open a Pull Request

MIT License - see theLICENSEfile for details.

For bug reports and feature requests, pleaseopen an issue.

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Create crafted UI components inspired by the best 21st.dev design engineers.

Bring agent evaluations, observability, and synthetic test set generation directly into your IDE for free with Galileo's new MCP server

An MCP server to help AI assistants to answer questions and generate AccelByte Extend SDK code more effectively .

MCP server for AI Diagram Maker โ€” generate beautiful software engineering diagrams directly inside Cursor, Claude Desktop, Claude Code, or any MCP-compatible AI agent

ALAPI MCP Tools,Call hundreds of API interfaces via MCP

AI-powered SVG animation generator that transforms static files into animated SVG components using the Allyson platform

MCP server that gives AI assistants on-demand access to 1,500+ amCharts docs, ~300 code examples, and 1000+ class API references.

APIMatic MCP Server is used to validate OpenAPI specifications using APIMatic. The server processes OpenAPI files and returns validation summaries by leveraging APIMaticโ€™s API.

One shared context layer for AI agents and humans โ€” live API specs, DB schemas, and versioned contracts across repos so every agent and teammate works from the same source of truth.

Build and deploy full-stack Next.js apps with 98 tools for React, AWS, and MongoDB

No reviews yet โ€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.