Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Mcp Terminal Server

    Terminal server implementation for Model Context Protocol

    4 stars
    TypeScript
    Updated Jun 22, 2025

    Table of Contents

    • Features
    • Installation
    • Configuration
    • Usage

    Table of Contents

    • Features
    • Installation
    • Configuration
    • Usage

    Documentation

    @modelcontextprotocol/server-terminal

    Terminal server implementation for Model Context Protocol (MCP). Provides secure and controlled access to terminal commands and npm operations.

    Features

    • Execute shell commands with full control
    • Built-in npm operations (install, run scripts)
    • Timeout handling
    • Security through allowed commands list
    • Environment variables management
    • Working directory control
    • Typescript support

    Installation

    bash
    npm install @modelcontextprotocol/server-terminal

    Configuration

    Add to your MCP config:

    json
    {
      "terminal": {
        "command": "npx",
        "args": ["-y", "@modelcontextprotocol/server-terminal"],
        "autoApproveScope": ["execute_command", "npm_install", "npm_run"],
        "config": {
          "allowedCommands": ["npm", "node", "git"],
          "defaultTimeout": 30000,
          "defaultCwd": "/your/project/path",
          "environmentVariables": {
            "NODE_ENV": "development"
          }
        }
      }
    }

    Usage

    typescript
    // Execute command
    const result = await terminal.executeCommand('ls', ['-la'], {
      cwd: '/some/path'
    });
    
    // Install npm package
    await terminal.install('typescript');
    
    // Run npm script
    await terminal.runScript('build');
    
    // Direct npm commands
    await terminal.dev();  // npm run dev
    await terminal.build();  // npm run build

    Similar MCP

    Based on tags & features

    • GL

      Glm Mcp Server

      TypeScript·
      3
    • NS

      Ns Private Access Mcp

      TypeScript·
      3
    • MC

      Mcp Server Aws Sso

      TypeScript·
      6
    • MC

      Mcp Wave

      TypeScript00

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • GL

      Glm Mcp Server

      TypeScript·
      3
    • NS

      Ns Private Access Mcp

      TypeScript·
      3
    • MC

      Mcp Server Aws Sso

      TypeScript·
      6
    • MC

      Mcp Wave

      TypeScript00

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k