MCP.so
登录

Terminal MCP Server

@stat-guy

基本信息

分类

开发工具

传输方式

stdio

作者

stat-guy

关于 Terminal MCP Server

MCP server for executing terminal commands through Claude Desktop

Terminal MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Terminal MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Terminal MCP Server?

Terminal MCP Server is a Model Context Protocol (MCP) server that enables Claude Desktop to execute terminal commands, navigate directories, and retrieve terminal environment information. It is designed for developers who want to interact with their local terminal directly through Claude.

How to use Terminal MCP Server?

Clone the repository, install dependencies (npm install), and build the project (npm run build). Then add the server configuration to your Claude Desktop configuration file (e.g., ~/Library/Application Support/Claude/claude_desktop_config.json on macOS) with the correct path and the environment variable PERMISSION_REQUIRED: "true". After restarting Claude Desktop, you can ask Claude to run commands such as checking directory contents or changing folders.

Key features of Terminal MCP Server

  • Execute any terminal command with arguments and options.
  • Navigate directories while maintaining state between commands.
  • Get the current working directory path.
  • Retrieve terminal environment information (shell, user, platform).
  • Full output capture (stdout, stderr, exit codes).
  • Proper error handling and formatting.

Use cases of Terminal MCP Server

  • Quickly list files in a directory without leaving Claude Desktop.
  • Change to a specific folder and continue executing commands there.
  • Retrieve terminal environment details during a conversation.
  • Execute system commands while maintaining session state.

常见问题

1

What dependencies are required to run Terminal MCP Server?

Node.js v18 or higher, TypeScript, and Claude Desktop are required.

2

How is Terminal MCP Server configured for Claude Desktop?

Add a JSON entry to the Claude Desktop configuration file (`claude_desktop_config.json`) with the `command`, `args` pointing to the built `dist/index.js`, and an environment variable `PERMISSION_REQUIRED` set to `"true"`.

3

What security measures does Terminal MCP Server implement?

It requires explicit user permission through Claude Desktop, allows controlling environment variables via configuration, and includes timeouts and error handling for command execution.

4

What tools does Terminal MCP Server provide?

Four tools are available: `execute_command`, `change_directory`, `get_current_directory`, and `get_terminal_info`.

评论

开发工具 分类下的更多 MCP 服务器