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:

-
security - not tested
F
license - not found
-
quality - not tested

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

      • -
        security
        F
        license
        -
        quality
        An 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
      • 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
        8
        1
        JavaScript
        MIT License
      • -
        security
        F
        license
        -
        quality
        A modular server based on Model Context Protocol (MCP) that provides weather queries, mathematical calculations, and search functionalities.
        Last updated -
        TypeScript

      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