Back to Home
GitHub-Insight-ANZ-Lab icon

copilot-lab-mcp-server

Verified Safe

by 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

Run Command
npx @modelcontextprotocol/inspector node src/build/index.js

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens200
Stars0
Forks1
Last Update2025-12-01

Tags

MCPAPI IntegrationNASATutorialNode.js