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.

Above ones are implemented in the server1.js

in server2 there is an agent that requires selenium web driver that launches the html provided in prompt in a browser and tests and returns if any console errors are thrown.

All these agents can be used in not just copilot but with other AI extensions too for example refer this video for Amazon Q --> https://www.youtube.com/watch?v=sF6KkaV102M

Features

  • MCP server using @modelcontextprotocol/sdk

  • Stdio transport for easy integration

  • Extensible tool definitions

Related MCP server: Weather MCP Server

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:

One-click Deploy
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

Latest Blog Posts

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