my-mcp-server
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.
README
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
git clone https://github.com/devashish234073/my-mcps cd my-mcps npm install - Open the my-mcp folder in vscode
- Open copilot chat <br><img width="508" height="308" alt="image" src="https://github.com/user-attachments/assets/5cdec5fd-5931-48b4-8e28-e94ba1342e9c" />
- In the chat click on "Configure Tools" <br><img width="653" height="343" alt="image" src="https://github.com/user-attachments/assets/b819df14-72c7-407b-911f-43169b7d57b3" />
- Add more tools <br><img width="647" height="329" alt="image" src="https://github.com/user-attachments/assets/1a1487d6-3bb7-483a-956f-ea10b82dc7cd" />
- Add MCP Server <br><img width="669" height="168" alt="image" src="https://github.com/user-attachments/assets/f80488df-9a40-4cfb-a25d-c2ea8791d53d" />
- 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 <br><img width="572" height="112" alt="image" src="https://github.com/user-attachments/assets/f80488df-9a40-4cfb-a25d-c2ea8791d53d" /> <br><img width="572" height="227" alt="image" src="https://github.com/user-attachments/assets/0f2e8946-5101-48dc-9f7e-160b89597383" />
- Just go to that file and click "Restart"
- The server.js has three tools greet, calculate and weather_info <br><img width="432" height="242" alt="image" src="https://github.com/user-attachments/assets/db22b737-cde4-4950-8885-e24b965c2c2a" />
- You can interact with these now using prompts like: <br><img width="330" height="550" alt="image" src="https://github.com/user-attachments/assets/f9e24139-89e7-4630-8bd5-d61b80f67fb2" />
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.