A Model Context Protocol (MCP) server that enables execution of terminal commands through Claude Desktop.
git clone https://github.com/stat-guy/terminal.git
cd terminal
npm install
npm run build
Create or edit your Claude Desktop configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\\Claude\\claude_desktop_config.json
Add the following configuration:
{
"mcpServers": {
"terminal": {
"command": "node",
"args": [
"[PATH_TO_REPO]/dist/index.js"
],
"env": {
"PERMISSION_REQUIRED": "true"
}
}
}
}
Replace [PATH_TO_REPO]
with the actual path to your cloned repository.
Ask Claude to execute terminal commands like:
Can you check what's in my current directory?
-> Executes: ls -la
Can you tell me the current directory?
-> Executes: pwd
Can you change to the Downloads folder?
-> Executes: cd ~/Downloads
npm run watch
src/
npm run build
/
├── src/
│ └── index.ts # Main server implementation
├── package.json # Project configuration and dependencies
├── tsconfig.json # TypeScript configuration
└── README.md # This file
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License
Seamless access to top MCP servers powering the future of AI integration.