MCP.so
登录

MCP Terminal Server

@cwmoore-ai

基本信息

分类

开发工具

许可证

MIT license

传输方式

stdio

作者

cwmoore-ai

关于 MCP Terminal Server

A lightweight FastAPI server that can run as a Windows service and exposes an endpoint to execute shell commands and stream their output

#mcp-terminal-server#fastapi#windows-service

MCP Terminal Server 配置

暂无标准配置

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

代码仓库

MCP Terminal Server 工具

工具列表暂未提供

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

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

概览

What is MCP Terminal Server?

A lightweight FastAPI server that runs as a Windows service and exposes an endpoint to execute shell commands and stream their output in real-time. It includes API key authentication, rate limiting, and configurable logging.

How to use MCP Terminal Server?

Install via the provided PowerShell script (install_service.ps1) with optional parameters for API key, port, host, and log level. Configure through environment variables or a JSON config file. Manage the service using service.py commands (install, start, stop, restart, remove, debug). Use the test client (test_client.py) or call the API endpoints directly (POST /run, GET /health) with the API key in the X-API-Key header.

Key features of MCP Terminal Server?

  • Run as a Windows service or in debug mode
  • Execute shell commands and stream output in real-time
  • API key authentication and rate limiting
  • Configurable via environment variables or configuration file
  • Robust error handling and logging
  • Automatic process restart on failure

Use cases of MCP Terminal Server?

  • Remotely execute shell commands on a Windows server via API
  • Automate administrative tasks using scripted API calls
  • Interactive command-line access through the test client with command history
  • Monitor server health and active sessions with the /health endpoint
  • Integrate terminal command execution into larger applications or workflows

常见问题

1

What are the prerequisites to install MCP Terminal Server?

Windows operating system, Python 3.7 or higher, and administrator privileges (for service installation).

2

How do I configure the API key?

Set the API key via the `-ApiKey` parameter during installation, the `MCP_TERMINAL_API_KEY` environment variable, or in the client configuration file (`client_config.json`).

3

How can I run the server temporarily without installing a service?

Use debug mode by running `python service.py debug` from the terminal.

4

What API endpoints are available?

`POST /run` executes a command (requires API key, returns streaming output), and `GET /health` returns server health status.

5

Are dangerous commands blocked?

The server blocks potentially dangerous commands, but additional security measures are recommended in production.

评论

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