We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/h3ro-dev/motion-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
task_002.txt•745 B
# Task ID: 2
# Title: Implement Authentication Module
# Status: pending
# Dependencies: 1
# Priority: high
# Description: Create an authentication module to handle Motion API key authentication and secure key storage.
# Details:
1. Create an 'auth' module in src/auth/
2. Implement a function to read MOTION_API_KEY from environment variables
3. Create a function to validate API key format
4. Implement secure key storage using 'node-keytar' library (npm install keytar)
5. Create a function to retrieve stored API key
6. Implement error handling for missing or invalid API keys
# Test Strategy:
1. Unit test API key validation function
2. Test secure storage and retrieval of API key
3. Mock environment variables to test different scenarios