copilot-lab-mcp-server
Verified Safeby GitHub-Insight-ANZ-Lab
Overview
This MCP server demonstrates the creation of custom tools and resources to integrate AI clients (like Copilot) with external APIs, specifically providing a friendly greeting and fetching data from NASA's Astronomy Picture of the Day (APOD) API.
Installation
npx @modelcontextprotocol/inspector node src/build/index.jsEnvironment Variables
- NASA_API_KEY
Security Notes
The server securely retrieves the NASA API key from environment variables, with a fallback to a demo key. The documentation explicitly warns against committing API keys and recommends using environment variables, adding `.env` to `.gitignore`, and regular key rotation. Network requests are made to a known public API (api.nasa.gov). No 'eval' or other directly malicious patterns were found. The server implementation includes basic error handling for API calls. A minor risk is the 'DEMO_KEY' fallback, but it's clearly for a tutorial context and limited.
Similar Servers
youtube-mcp-server
This server provides examples of Model Context Protocol (MCP) implementations, integrating the YouTube API to enable Large Language Models (LLMs) like GitHub Copilot Chat to search for YouTube channels and videos.
mcp-server-nodejs-api-docs
Provides up-to-date Node.js API documentation and release schedule information as a service via the Model Context Protocol.
nasa-mcp-server-demo
Provides a Model Context Protocol server to access NASA's Astronomy Picture of the Day and image/video library APIs.
MCP-server-blogspace
An MCP server providing blog data via tools, resources, and prompts for AI applications, and an Express REST API for traditional consumption.