
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
@dean0x/showme
Advanced tools
MCP server providing ShowFile and ShowDiff tools for VS Code integration with syntax highlighting
A Model Context Protocol (MCP) server that enables coding agents to open files and git diffs directly in VS Code. Provides two MCP tools that require no summary - the user sees the results directly in their editor.
The rise of CLI-based coding agents has fundamentally changed how we write code. We're no longer working in our IDEs—we're working with AI agents through conversational interfaces. This shift creates a new challenge: how do we quickly review the code our agents are writing?
ShowMe bridges this gap. Instead of keeping your IDE open and constantly switching contexts, you can stay focused on your conversation with the agent. When you need to see something, just ask:
Review what you need, close the window, and continue the conversation. It's ephemeral, on-demand code viewing designed for the age of AI-assisted development.
| Tool | Purpose | Example |
|---|---|---|
ShowFile | Opens file(s) in VS Code | ShowFile({ files: ["README.md"] }) |
ShowDiff | Shows changes since last commit | ShowDiff({ files: ["src/index.ts"] }) |
npm install -g @dean0x/showme
Or install locally in your project:
npm install @dean0x/showme
{
"mcpServers": {
"showme": {
"command": "npx",
"args": ["-y", "@dean0x/showme", "mcp", "start"]
}
}
}
{
"mcpServers": {
"showme": {
"command": "node",
"args": ["/path/to/showme-mcp/dist/index.js"]
}
}
}
Note: The server uses the current working directory and will run in your project folder.
ShowFileOpen one or multiple files in VS Code.
Parameters:
files (string[], required) - Files to open in VS Codeline (number, optional) - Line number to jump to (only applies to first file)Examples:
// Single file
await ShowFile({ files: ["src/index.ts"] })
// Single file with line number
await ShowFile({ files: ["src/utils.ts"], line: 42 })
// Multiple files as tabs
await ShowFile({ files: ["src/index.ts", "package.json", "README.md"] })
ShowDiffDisplay git diffs showing all changes since the last commit (HEAD vs working directory).
Parameters:
files (string[], optional) - Specific files to show diff for. If not provided, shows all changed files.Examples:
// Show all changes since last commit
await ShowDiff({})
// Show changes for specific file
await ShowDiff({ files: ["src/index.ts"] })
// Show changes for multiple files (opens each in separate tab)
await ShowDiff({
files: ["src/index.ts", "package.json", "README.md"]
})
Note: ShowDiff always compares HEAD to the working directory, showing all uncommitted changes (both staged and unstaged).
The package includes a CLI tool for testing the functionality:
# Open single file
showme file README.md
# Open file at specific line
showme file src/index.ts --line 42
showme file src/main.ts -l 100
# Open multiple files as tabs
showme file src/index.ts src/utils.ts README.md
showme file src/*.ts # Using shell expansion
# Show all changes since last commit
showme diff
# Show diff for specific files
showme diff --files src/index.ts src/utils.ts
showme diff -f package.json
# Show diff for multiple files
showme diff -f src/index.ts README.md package.json
# Show help
showme --help
showme -h
# Show version
showme --version
showme -v
The server follows clean architecture principles:
Result<T, E> for explicit error handlingany typesshowme/
├── src/
│ ├── index.ts # MCP server entry point
│ ├── cli.ts # CLI tool entry point
│ ├── handlers/ # MCP tool handlers
│ │ ├── show-file-handler.ts
│ │ └── show-diff-handler.ts
│ ├── utils/ # Utilities and services
│ │ ├── vscode-executor.ts
│ │ ├── git-detector.ts
│ │ ├── git-diff-generator.ts
│ │ └── ...
│ └── __tests__/ # Test files
└── dist/ # Compiled output (generated)
code command# Install dependencies
npm install
# Build the project
npm run build
# Run tests
npm test
# Run with coverage
npm run test:coverage
# Development mode
npm run dev
# Lint code
npm run lint
# Type check
npm run type-check
The project uses Vitest for testing with a focus on integration tests:
# Run all tests
npm test
# Run in watch mode
npm run test
# Run once
npm run test:run
# Coverage report
npm run test:coverage
# Build the project
npm run build
# Test locally
npm link
showme-mcp
# Publish to npm
npm publish --access public
If you get an error about code command not being found:
Cmd+Shift+P (Mac) or Ctrl+Shift+P (Windows/Linux)MIT - See LICENSE file for details
Contributions are welcome! Please follow the project's engineering principles and code style.
For issues and feature requests, please visit our GitHub Issues page.
Built using the Model Context Protocol specification.
FAQs
MCP server providing ShowFile and ShowDiff tools for VS Code integration with syntax highlighting
The npm package @dean0x/showme receives a total of 30 weekly downloads. As such, @dean0x/showme popularity was classified as not popular.
We found that @dean0x/showme demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.