https://github.com/yoshinorin/mcp-server-example.git
A learning project for implementing Model Context Protocol (MCP) servers. This project provides a simple MCP server with basic tools to understand MCP fundamentals.
This project is an educational sample created to learn the basic concepts of MCP servers. It includes the following features:
npm install
npm run build
npm run start
Development mode (build โ run):
npm run dev
mcp-server-sandbox/
โโโ src/
โ โโโ index.ts # Main MCP server implementation
โโโ dist/ # Compiled JavaScript
โโโ .vscode/
โ โโโ mcp.json # VS Code MCP configuration
โโโ .github/
โ โโโ copilot-instructions.md
โโโ package.json
โโโ tsconfig.json
โโโ README.md
Parameters:
name (string): Name of the person to greetlanguage (optional): "japanese" or "english"Parameters:
operation: "add", "subtract", "multiply", "divide"a (number): First numberb (number): Second numberParameters:
format (optional): "iso", "japanese", "timestamp"This server can be integrated with VS Code's MCP functionality. The configuration is included in .vscode/mcp.json and can be used in VS Code's Agent mode.
Through this project, you can learn: