Terminal Server
FreeNot checkedProvides secure and controlled access to terminal commands and npm operations via the Model Context Protocol.
About
Provides secure and controlled access to terminal commands and npm operations via the Model Context Protocol.
README
Terminal server implementation for Model Context Protocol (MCP). Provides secure and controlled access to terminal commands and npm operations.
Features
- Execute shell commands with full control
- Built-in npm operations (install, run scripts)
- Timeout handling
- Security through allowed commands list
- Environment variables management
- Working directory control
- Typescript support
Installation
npm install @modelcontextprotocol/server-terminal
Configuration
Add to your MCP config:
{
"terminal": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-terminal"],
"autoApproveScope": ["execute_command", "npm_install", "npm_run"],
"config": {
"allowedCommands": ["npm", "node", "git"],
"defaultTimeout": 30000,
"defaultCwd": "/your/project/path",
"environmentVariables": {
"NODE_ENV": "development"
}
}
}
}
Usage
// Execute command
const result = await terminal.executeCommand('ls', ['-la'], {
cwd: '/some/path'
});
// Install npm package
await terminal.install('typescript');
// Run npm script
await terminal.runScript('build');
// Direct npm commands
await terminal.dev(); // npm run dev
await terminal.build(); // npm run build
Installing Terminal Server
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/RichardTheuws/mcp-terminal-serverFAQ
Is Terminal Server MCP free?
Yes, Terminal Server MCP is free — one-click install via Unyly at no cost.
Does Terminal Server need an API key?
No, Terminal Server runs without API keys or environment variables.
Is Terminal Server hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Terminal Server in Claude Desktop, Claude Code or Cursor?
Open Terminal Server on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Terminal Server with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
