A Model Context Protocol (MCP) server for terminal access. This server allows Claude to interact with specified directories on your system.
The server can be configured using the following environment variables:
ALLOWED_DIRECTORY
: The directory path that Claude is allowed to access (default: '${HOME}/your/allowed/directory')
You can set these variables either through:
- A
.env
file in your project root - Environment variables in your system
- Direct configuration in claude_desktop_config.json
Add this to your claude_desktop_config.json
:
{
"mcpServers": {
"terminal": {
"command": "node",
"args": [
"${HOME}/path/to/mcp-terminal-use/dist/index.js"
],
"env": {
"ALLOWED_DIRECTORY": "${HOME}/your/allowed/directory"
}
}
}
}