Skip to main content
Glama

my-mcp-server

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

  1. Clone the repo and install dependencies
    git clone https://github.com/devashish234073/my-mcps cd my-mcps npm install
  2. Open the my-mcp folder in vscode
  3. Open copilot chat
  4. In the chat click on "Configure Tools"
  5. Add more tools
  6. Add MCP Server
  7. 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
  8. Just go to that file and click "Restart"
  9. The server.js has three tools greet, calculate and weather_info
  10. You can interact with these now using prompts like:

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

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.

  1. Features
    1. Steps

      Related MCP Servers

      • A
        security
        F
        license
        A
        quality
        A 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 -
        1
        2
        TypeScript
      • A
        security
        A
        license
        A
        quality
        A 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 -
        5
        9
        1
        JavaScript
        MIT License
      • A
        security
        A
        license
        A
        quality
        A simple educational MCP server implemented in Node.js that allows users to fetch weather information for cities using the Open-Meteo API.
        Last updated -
        1
        1
        TypeScript
        MIT License
      • -
        security
        F
        license
        -
        quality
        A TypeScript-based MCP server that provides weather information through resources and tools, allowing users to access current weather data and forecast predictions for different cities.
        Last updated -
        1
        TypeScript
        • Apple

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/devashish234073/my-mcps'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server