terminal

terminal

3.4

If you are the rightful owner of terminal and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Terminal MCP Server is a Model Context Protocol server that allows execution of terminal commands through Claude Desktop.

The Terminal MCP Server is designed to facilitate the execution of terminal commands via Claude Desktop, providing a seamless interface for users to interact with their system's command line. It supports a wide range of terminal operations, including executing commands with arguments, navigating directories, and retrieving terminal environment information. The server captures full command output, including standard output, error messages, and exit codes, ensuring comprehensive feedback for each operation. With robust error handling and formatting, the server ensures reliable and user-friendly command execution. The server requires Node.js v18 or higher and TypeScript, and it integrates with Claude Desktop for command execution permissions.

Features

  • Execute any terminal command with arguments and options
  • Navigate between directories while maintaining state
  • Get terminal environment information
  • Full output capture (stdout, stderr, exit codes)
  • Proper error handling and formatting

Tools

  1. execute_command

    Execute any terminal command, supports command arguments and options, captures full output and exit codes

  2. change_directory

    Change the current working directory, maintains state between commands, supports relative and absolute paths

  3. get_current_directory

    Get the current working directory path

  4. get_terminal_info

    Get information about the terminal environment, shows shell, user, platform, and recent command history