A PTY-based MCP server with strong Windows support, giving MCP-capable AI clients and their agents persistent, interactive shell access via pseudo-terminals (node-pty).
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add smart-terminal -- npx -y smart-terminal-mcp~/.codex/config.toml
[mcp_servers.smart-terminal]
command = "npx"
args = ["-y", "smart-terminal-mcp"]
# codex mcp add smart-terminal -- npx -y smart-terminal-mcp~/.cursor/mcp.json
{
"mcpServers": {
"smart-terminal": {
"command": "npx",
"args": [
"-y",
"smart-terminal-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"smart-terminal": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"smart-terminal-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"smart-terminal": {
"command": "npx",
"args": [
"-y",
"smart-terminal-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"smart-terminal": {
"command": "npx",
"args": [
"-y",
"smart-terminal-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"smart-terminal": {
"command": "npx",
"args": [
"-y",
"smart-terminal-mcp"
]
}
}
}