Terminal Command Runner MCP Server

Terminal Command Runner MCP Server

neoforge-mcp-server•byneoforge-dev

An MCP server that gives AI assistants terminal command execution, process management, and file system operations.

License: MIT License•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Executes shell commands with configurable timeouts and manages long-running background processes, including listing sessions and terminating processes.
  • •Performs file system operations such as reading and writing files, creating directories, listing contents, moving files, and searching with glob patterns.
  • •Applies precise text edits using search-and-replace with diff-like syntax.
  • •Exposes system information retrieval and mathematical expression evaluation tools, with command blacklisting for security.

BEST FOR

  • •AI assistants that need to run terminal commands and manage processes on a host system.
  • •Developer workflows requiring file reading, writing, directory management, and pattern-based file search through an AI assistant.
  • •Making precise code or text replacements via diff-like search-and-replace edits.

ABOUT NEOFORGE-MCP-SERVER

Terminal Command Runner MCP Server is cataloged as an MCP server attributed to neoforge-dev. An MCP server that gives AI assistants terminal command execution, process management, and file system operations. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Terminal Command Runner MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does the server address security concerns when running commands?

It implements command blacklisting to prevent dangerous commands, along with file size limits for reads and expression evaluation safeguards.

Can running commands be stopped or monitored after they start?

Yes; active command sessions can be listed, output read from running processes, and commands force-terminated, while system processes can also be listed and killed by PID.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 01bd096b91de · 采集于 2026-11-13 13:33:41 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Terminal Command Runner MCP Server

A powerful Model Control Protocol (MCP) server that provides terminal command execution and file system management capabilities for AI assistants through a RESTful API interface.

🌟 Features

Terminal Management

  • Execute commands with configurable timeouts
  • Manage long-running processes in the background
  • Fetch output from active command sessions
  • List all active sessions and system processes
  • Terminate or kill processes
  • Command blacklisting for security

File System Operations

  • Read and write files
  • Create directories
  • List directory contents
  • Move/rename files
  • Search for files using glob patterns
  • Get detailed file information

Advanced Features

  • Precise text editing with search and replace
  • System information retrieval
  • Mathematical expression evaluation

🚀 Quick Start

Prerequisites

  • Python 3.13+
  • uv package manager (recommended)

Installation

  1. Clone the repository:
git clone https://github.com/neoforge-dev/neoforge-mcp-server.git
cd python-server-mcp
  1. Create a virtual environment and install dependencies:
uv venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
uv pip install -e .
  1. Start the MCP server:
python server.py

The server will start on http://0.0.0.0:8000.

🧪 Testing

The project includes a comprehensive test suite to verify functionality:

# Install test dependencies
uv pip install -r requirements.txt

# Run all tests
./run_tests.py

# Run tests with coverage report
./run_tests.py --coverage

# Run tests with verbose output
./run_tests.py --verbose

# Run specific test file
./run_tests.py --test tests/test_command_execution.py

The test suite covers:

  • Command execution and process management
  • File system operations
  • System utilities
  • Security features

🔧 Configuration

Configure Cursor to use this MCP service by adding it to your ~/.cursor/mcp.json file:

{
  "mcpServers": {
    "NeoMCP": {
      "command": "/path/to/uv",
      "args": [
        "run",
        "--with",
        "mcp[cli]",
        "mcp",
        "run",
        "/path/to/python-server-mcp/server.py"
      ]
    }
  }
}

📖 API Reference

Terminal Tools

  • execute_command: Run commands with configurable timeouts
  • read_output: Get output from running processes
  • force_terminate: Stop a running command
  • list_sessions: Show all active command sessions
  • list_processes: View all system processes
  • kill_process: Kill processes by PID
  • block_command: Add commands to the blacklist
  • unblock_command: Remove commands from the blacklist

File System Tools

  • read_file: Read file contents
  • write_file: Write data to a file
  • create_directory: Create new directories
  • list_directory: List contents of a directory
  • move_file: Move or rename files and directories
  • search_files: Find files matching patterns
  • get_file_info: Get detailed file information

Edit Tools

  • edit_block: Apply precise text replacements using diff-like syntax

System Tools

  • system_info (resource): Get detailed system information
  • calculate: Evaluate mathematical expressions

🔒 Security Considerations

  • The server implements command blacklisting to prevent dangerous commands
  • File size limits for read operations
  • Expression evaluation safeguards
  • Default command safety checks

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Terminal Command Runner MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/neoforge-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools