Terminal MCP Server
About
MCP server for AI agents to interact with terminal applications. Think Playwright for terminals.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
DISPLAY RUST_LOGClaude Code
claude mcp add --env DISPLAY= --env RUST_LOG= mcp-server-terminal -- npx mcp-server-terminal
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"mcp-server-terminal","command":"npx","args":["mcp-server-terminal"],"env":{"DISPLAY":"","RUST_LOG":""}}'
JSON
{
"mcpServers": {
"mcp-server-terminal": {
"command": "npx",
"args": [
"mcp-server-terminal"
],
"env": {
"DISPLAY": "",
"RUST_LOG": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.