@modelcontextprotocol/server-terminal

Created at 20 hours ago

by RichardTheuws

starstarstarstarstar

Terminal server implementation for Model Context Protocol

Categories

developer-tools

Tags

mcp-terminal

model-context-protocol

terminal-server

@modelcontextprotocol/server-terminal

what is @modelcontextprotocol/server-terminal?

@modelcontextprotocol/server-terminal is a terminal server implementation designed for the Model Context Protocol (MCP), providing secure and controlled access to terminal commands and npm operations.

how to use @modelcontextprotocol/server-terminal?

To use the terminal server, you need to install it via npm and configure it according to your MCP setup, specifying allowed commands and environment variables.

key features of @modelcontextprotocol/server-terminal?

  • Execute shell commands with full control
  • Built-in npm operations (install, run scripts)
  • Timeout handling for command execution
  • Security through an allowed commands list
  • Management of environment variables
  • Control over working directories
  • Support for Typescript

use cases of @modelcontextprotocol/server-terminal?

  1. Controlling secure execution of terminal commands in various environments.
  2. Automating npm operations within a project.
  3. Managing command execution context with specified working directories.

FAQ from @modelcontextprotocol/server-terminal?

  • What commands can be executed?

You can execute commands specified in the allowed commands list in your configuration, such as 'npm', 'node', and 'git'.

  • How do I install this terminal server?

You can install the terminal server by running npm install @modelcontextprotocol/server-terminal in your project directory.

  • Is there Typescript support?

Yes, the terminal server supports Typescript, making it easier to integrate into Typescript projects.

View More