🤖 MCP Server
@reynan-dev
MCP Server framework with auto import, valid to use as boilerplate
Overview
What is 🤖 MCP Server?
The 🤖 MCP Server is a Node.js and TypeScript implementation of the Model Context Protocol (MCP) built with the @modelcontextprotocol/sdk. It enables AI agents to communicate with various AI models through a standardized interface, targeting developers integrating MCP into their projects.
How to use 🤖 MCP Server?
Install Node.js 18+, run npm install && npm run build, copy .env.example to .env and configure environment variables. Start with npm run start. Integrate with GitHub Copilot in VS Code using the provided stdio configuration in .vscode/mcp.json or via global settings.
Key features of 🤖 MCP Server
- Built with TypeScript and the @modelcontextprotocol/sdk
- Includes example tools: get-alerts and get-forecast for weather data
- Supports adding custom tools and resources via structured templates
- Integrates with GitHub Copilot in VS Code
- Uses stdio transport for communication with Copilot
- Configurable via environment variables
Use cases of 🤖 MCP Server
- Retrieve weather forecasts for specific coordinates using the get-forecast tool via Copilot
- Fetch weather alerts for a U.S. state with the get-alerts tool
- Extend the server with custom tools and resources for any AI agent integration
- Embed MCP capabilities into a VS Code development workflow with GitHub Copilot
- Standardize communication between applications and multiple AI models
FAQ from 🤖 MCP Server
How do I integrate with GitHub Copilot?
Copy the provided stdio configuration into your project's .vscode/mcp.json or configure globally in VS Code settings with the command npm run start and the project path.
What tools are included by default?
Two example tools: get-alerts for fetching