Enables access to a GitHub repository containing the MCP server implementation, allowing users to clone the project and use the provided tools.
Provides a simple MCP server implementation in Node.js with three tools: greet for personalized messages, calculate for basic math operations, and weather_info for retrieving mock weather data for cities.
my-mcp-server
A simple Model Context Protocol (MCP) server implementation in Node.js. This server exposes three tools via MCP:
- greet: Greet someone with a personalized message.
- calculate: Perform basic math calculations.
- weather_info: Get mock weather information for a city.
Features
- MCP server using
@modelcontextprotocol/sdk
- Stdio transport for easy integration
- Extensible tool definitions
Steps
- Clone the repo and install dependencies
- Open the my-mcp folder in vscode
- Open copilot chat
- In the chat click on "Configure Tools"
- Add more tools
- Add MCP Server
- This creates an mcp.json file with minimal configuration of the command your mcp server will run, in our case the repo already has that so step #4 to #7 is not needed
- Just go to that file and click "Restart"
- The server.js has three tools greet, calculate and weather_info
- You can interact with these now using prompts like:
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
A simple Node.js MCP server that exposes three tools: greet for personalized messages, calculate for basic math operations, and weather_info for mock weather data retrieval.
Related MCP Servers
- -securityFlicense-qualityAn MCP (Model Context Protocol) server implementation using HTTP SSE (Server-Sent Events) connections with built-in utility tools including echo, time, calculator, and weather query functionality.Last updated -JavaScript
- AsecurityFlicenseAqualityA simple MCP server that provides a tool to fetch current weather information for cities using the Open-Meteo API, communicating through stdin/stdout.Last updated -12TypeScript
- AsecurityAlicenseAqualityA TypeScript-based MCP server that provides simulated weather data including current conditions, forecasts, alerts, and location search functionality through both MCP protocol and HTTP API endpoints.Last updated -581JavaScriptMIT License
- -securityFlicense-qualityA modular server based on Model Context Protocol (MCP) that provides weather queries, mathematical calculations, and search functionalities.Last updated -TypeScript