Skip to content
Cursor

Terminal sessions for agents for Cursor

io.github.ryamgoh/terminal-mcp

Real terminal sessions for agents: run commands, stream output, type into programs, kill trees.

client:Cursor transport:stdio runtime:npm

Install Terminal sessions for agents in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "terminal-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ryamgoh/terminal-mcp"
      ]
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

Terminal sessions for agents in other clients