Terminal MCP Server
An open-source MCP server that enables AI agents to interact with terminal applications and TUI/CLI tools. It provides a structured Terminal State Tree (TST) to manage sessions, allowing agents to create terminal sessions, list active ones, take snapshots, and simulate key presses or text input for automation purposes.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Create a terminal session running htop
- Take a snapshot of the terminal
- Press the down arrow key
- Type 'ls -la' and press Enter
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
mcp-server-terminal 1.0.3
{
"version": "1.0.3",
"transport": "stdio",
"identifier": "mcp-server-terminal",
"registryType": "npm",
"packageArguments": [
{
"name": "--headless",
"type": "named",
"description": "Run in headless mode without spawning visible terminal windows"
}
],
"environmentVariables": [
{
"name": "DISPLAY",
"description": "X11 display for visual mode (Linux/WSL). Example: :0"
},
{
"name": "RUST_LOG",
"default": "info",
"description": "Logging level: error, warn, info, debug, trace"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"terminal-mcp-server": {
"command": "npx",
"args": [
"-y",
"mcp-server-terminal@1.0.3"
],
"env": {
"DISPLAY": "<YOUR_DISPLAY>",
"RUST_LOG": "<YOUR_RUST_LOG>"
}
}
}
}Cline
{
"mcpServers": {
"terminal-mcp-server": {
"command": "npx",
"args": [
"-y",
"mcp-server-terminal@1.0.3"
],
"env": {
"DISPLAY": "<YOUR_DISPLAY>",
"RUST_LOG": "<YOUR_RUST_LOG>"
}
}
}
}VS Code
{
"servers": {
"terminal-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-server-terminal@1.0.3"
],
"env": {
"DISPLAY": "<YOUR_DISPLAY>",
"RUST_LOG": "<YOUR_RUST_LOG>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"terminal-mcp-server": {
"command": "npx",
"args": [
"-y",
"mcp-server-terminal@1.0.3"
],
"env": {
"DISPLAY": "<YOUR_DISPLAY>",
"RUST_LOG": "<YOUR_RUST_LOG>"
}
}
}
}Let your agent find its tools
Find servers like Terminal MCP Server from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.