Vscode Terminal MCP server
io.github.sirlordt/vscode-terminal-mcp·v0.1.0·2 starsExecute commands in visible VSCode terminal tabs with output capture and session reuse.
2 stars35 downloads/wk
Reviews
Write oneNobody has reviewed Vscode Terminal yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Vscode Terminal tools (7, 4 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
closeClose a terminal session and its associated VSCode terminal tab.
createwrite actionCreate a new visible terminal session in VSCode. Returns a sessionId for subsequent operations.
execwrite actionExecute a command in an existing terminal session and capture the output. The command runs visibly in the VSCode terminal tab.
inputwrite actionSend text input to an interactive terminal session. Useful for answering prompts or interacting with REPLs.
listList all active terminal sessions. Optionally filter by agentId for subagent isolation.
readRead output from a terminal session with pagination support. Use offset and lines parameters for incremental reads.
runwrite actionCreate a new terminal and execute a command in one step. Combines create + exec for convenience.
Public scan report
scanner v0.1.10 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan4 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 192 days ago4/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Vscode Terminal compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 75/100
- higher than 45% of 48,255 servers
- Tools
- 7
- the typical server has 7
- Tools that change things
- 57%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 2
- more than 75% of 28,688 servers
- Downloads a week
- 35
- more than 25% of 12,191 servers with a package
What its tools let an agent do: 2 read · 1 create · 2 change · 2 run or deploy
Install Vscode Terminal in Claude Code, Cursor or VS Code
Runs npx -y vscode-terminal-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add vscode-terminal-mcp -- npx -y vscode-terminal-mcp
What the publisher says
From the Vscode Terminal repository's README, as published. We do not edit it. Read it on GitHub
vscode-terminal-mcp
MCP server that executes commands in visible VSCode terminal tabs with full output capture. Unlike inline execution, every command runs in a real terminal you can see, scroll, and interact with.
Key Features
- Visible Terminals: Commands run in real VSCode terminal tabs, not hidden processes. You see everything in real time.
- Session Reuse: The run tool automatically reuses idle sessions, creating new terminals only when needed.
- Long-Running Support: Fire-and-forget execution with waitForCompletion: false, then poll output incrementally with read.
- Subagent Isolation: Tag sessions with agentId to keep parallel agent workloads separated.
Requirements
- VS Code 1.93+ (for Shell Integration API)
- Node.js 20+
Getting Started
Claude Code
claude mcp add BashTerm -- npx vscode-terminal-mcp@latestVS Code / Copilot
Add to your .vscode/mcp.json:
{
"servers": {
"BashTerm": {
"type": "stdio",
"command": "npx",
"args": ["vscode-terminal-mcp@latest"]
}
}
}Cursor
Add to your .cursor/mcp.json:
{
"mcpServers": {
"BashTerm": {
"command": "npx",
"args": ["-y", "vscode-terminal-mcp@latest"]
}
}
}Claude Desktop
Add to your claudedesktopconfig.json:
{
"mcpServers": {
"BashTerm": {
"command": "npx",
"args": ["-y", "vscode-terminal-mcp@latest"]
}
}
}Your First Prompt
After installation, try asking:
Run ls -la in the terminal
You should see a new terminal tab open in VSCode with the command output.
Screenshots
Running a command with run
Permission dialog for exec
Exec result with clean output
Tools
Quick Execution
Session Management
Usage Patterns
Simple Command
The run tool handles everything — creates a terminal if needed, executes, and returns clean output:
> Run npm test$ npm test
PASS src/utils.test.ts (3 tests)
PASS src/index.test.ts (5 tests)
[exit: 0 | 1243ms | session-abc123]Long-Running Process
For builds, deployments, or any command that takes a while:
> Start `npm run build` without waiting, then check progressThe agent will:
- Call run with waitForCompletion: false — returns immediately
- Call read with offset: -10 to check the last 10 lines
- Repeat until the process completes
Interactive Commands
For commands that need user input:
> Run npm init and answer the promptsThe agent will:
- Call run with npm init
- Call read to see the prompt
- Call input to send the answer
Parallel Agents
Subagents can work in isolated terminals using agentId:
> Have one agent run tests while another runs the linterEach subagent gets its own terminal tagged with its agentId, preventing output from mixing.
Configuration
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Vscode Terminal: common questions
- Is Vscode Terminal MCP server safe?
- Mostly: it is graded B (75/100). Read the Vscode Terminal safety report
- How do I install Vscode Terminal?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Vscode Terminal need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Vscode Terminal maintained?
- The last commit was 229 days ago (2026-03-20). The latest release is v0.1.0.
- What can I use instead of Vscode Terminal?
- Servers from other publishers that do the same job: Desktop Commander MCP server and Ouroboros MCP server.
- How does Vscode Terminal compare with other MCP servers?
- safety score 75/100 (higher than 45% of 48,255 servers); tools 7 (the typical server has 7); tools that change things 57% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Vscode Terminal
Same job from other publishers: the closest match first, then the best rated.
- Desktop CommanderMCP server for terminal commands, file operations, and process managementnot reviewedWidely usedC
- OuroborosPins an acceptance spec; the verify command and expected output never enter the success contract.not reviewedWidely usedC