terminal-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@terminal-mcpRun pytest."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Terminal MCP
A secure Model Context Protocol (MCP) server providing controlled terminal access for AI assistants such as:
LM Studio
Claude Desktop
Cursor
Windsurf
Continue
Any MCP-compatible client
Features
Execute whitelisted commands
Configurable working directory
Configurable timeout
Output size limit
Windows support
Linux support
Asynchronous execution
MCP compliant
Related MCP server: cmd-line-mcp
Installation
Requirements
Python 3.11+
pip
Install:
pip install .or
pip install -e .Running
terminal-mcpor
py -m terminal_mcp.serverExample MCP configuration
{
"mcpServers": {
"terminal": {
"command": "terminal-mcp"
}
}
}Example prompt
Run pytest.or
Build the project.or
Run black on the repository.Security
The server intentionally restricts what can be executed.
Allowed commands are configurable.
Commands outside the whitelist are rejected.
Timeouts prevent hanging processes.
Output is truncated after a configurable limit.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceA secure MCP server for executing whitelisted shell commands with resource and timeout controls, designed for integration with Claude and other MCP-compatible LLMs.Last updated203777MIT
- AlicenseBqualityCmaintenanceA secure Model Context Protocol server that allows AI assistants to execute terminal commands with controlled directory access and command permissions. It features a robust security architecture including whitelisting, session IDs, and categorized command levels to ensure safe system interaction.Last updated8MIT
- FlicenseAqualityDmaintenanceA lightweight MCP server that provides AI assistants with access to a system's terminal through a secure terminal tool. It enables users to execute shell commands and receive stdout, stderr, and exit codes directly within an MCP-compatible client.Last updated1
- Alicense-qualityFmaintenanceA secure MCP server for shell operations, terminal management, and process control, enabling AI assistants to safely execute commands and manage interactive sessions.Last updated1564MIT
Related MCP Connectors
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
Security scanner for MCP servers. Detect vulnerabilities, prompt injection, and tool poisoning.
MCP server for AI dialogue using various LLM models via AceDataCloud
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/stuck1a/terminal-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server