MCP Stdio Server
About
An MCP server using stdio transport, offering file system access, a calculator, and a code review tool. Requires Node.js.
Details
- Author
- hotjoebq
- Categories
- Developer Tools, File Management
Jump to
Setup
Install MCP Stdio Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/hotjoebq/hjmcpstdio
Follow the installation instructions in the repository README, then restart your MCP client.
An MCP server using stdio transport, offering file system access, a calculator, and a code review tool. Requires Node.js.
A complete Model Context Protocol (MCP) server implementation using stdio transport that showcases:
- Resources: File system access to read project files (README.md, package.json, src/server.ts)
- Tools: Calculator for mathematical operations and file listing
- Prompts: Code review and code explanation assistants
- MCP server with stdio transport
- File reading resources for project files
- Mathematical calculator tool
- Directory listing tool
- Code review and explanation prompt templates
- VSCode integration ready
- Test client for basic functionality testing
Option 1: Basic Functionality Test (No Additional Tools Required)
This runs a simple client that tests basic MCP communication with the server.
Option 2: Comprehensive Testing (Requires mcp-cli Installation)
npm install -g @modelcontextprotocol/cli
# Set the MCP configuration export MCP_CLI_CONFIG_PATH=$(pwd)/mcp_config.json # On Windows Command Prompt, use: set MCP_CLI_CONFIG_PATH=%cd%\mcp_config.json # List available tools mcp-cli tool list --server hjmcp-stdio # Test calculator tool mcp-cli tool call calculate --server hjmcp-stdio --input '{"expression": "2 + 3 4"}' # Test file listing tool mcp-cli tool call list_files --server hjmcp-stdio --input '{"directory": "."}' # Test resource reading mcp-cli tool read file://package.json --server hjmcp-stdio
VSCode Integration (No mcp-cli Required)
VSCode has built-in MCP support and connects directly to your server.You do NOT need to install mcp-cli for VSCode integration.
Add this to your VSCode MCP settings to use this server:
{ "mcpServers": { "hjmcp-stdio": { "command": "node", "args": ["dist/server.js"], "cwd": "/absolute/path/to/your/hjmcpstdio/directory", "transport": "stdio" } } }
- Replace/absolute/path/to/your/hjmcpstdio/directorywith the actual absolute path to this project directory
- Make sure you've runnpm run buildfirst to compile the TypeScript
- VSCode will handle all MCP communication automatically - no additional tools needed
- npm run build- Compile TypeScript to JavaScript
- npm run dev- Watch mode compilation
- npm run start- Run the MCP server directly
- npm run test-simple- Run basic client test
- npm run clean- Remove build files
- file://README.md- Project documentation
- file://package.json- Package configuration
- file://src/server.ts- Server source code
- calculate- Perform mathematical calculations
- Input:{"expression": "mathematical expression"}
- Example:{"expression": "2 + 3 4"}
- Input:{"directory": "relative path"}(optional, defaults to ".")
- Example:{"directory": "src"}
- code-review- Get code review suggestions
- Arguments:file_path(required),focus_areas(optional)
- Arguments:code_snippet(required),language(optional)
- src/server.ts- Main MCP server implementation
- src/simple-client.ts- Basic test client
- mcp_config.json- MCP CLI configuration for testing
- package.json- Project configuration and dependencies
- tsconfig.json- TypeScript configuration
- Usenpm run test-simplefor basic functionality verification
Comprehensive Testing (Requires mcp-cli):
- Install mcp-cli globally:npm install -g @modelcontextprotocol/cli
- Use mcp-cli commands for detailed tool and resource testing
- Add server configuration to VSCode MCP settings
- VSCode handles MCP communication automatically
- ✅ Tool functionality (calculate, list_files)
- ✅ Resource reading (package.json confirmed working)
- ✅ Stdio transport communication
- ✅ MCP protocol compliance
- ✅ Cross-platform compatibility (Windows, macOS, Linux)
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
Boost security in your dev lifecycle via SAST, SCA, Secrets & IaC scanning with Cycode.
Enable AI agents to secure code with Semgrep.
Skene is a codebase analysis toolkit for product-led growth. It scan your codebase, detect growth opportunities, and generate actionable implementation plans.
Provides seamless integration with SonarQube Server or Cloud, and enables analysis of code snippets directly within the agent context
AI-to-AI code review platform — Claude, Codex, and Gemini cross-check each other via MCP, REST API, and CLI for consensus-based results.
A stateful LSP runtime for AI agents: warm language server sessions with 50+ tools for go-to-definition, find-references, diagnostics, rename, and more across 30+ languages.
Persistent code index using Tree-sitter for fast, precise code search. Replaces grep with ~50 token responses instead of 2000+.
AI-powered code quality analysis to detect best practice violations, security issues, and architectural problems in real-time.
Orchestrates a dual-AI engineering loop where a Primary AI plans and implements, while a Review AI validates and reviews, with continuous feedback for optimal code quality. Supports custom AI pairing (Claude, Codex, Gemini, etc.)
Provides utility functions for common tasks like text processing, encoding, decoding, hashing, and system information.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





