Skip to main content
Glama
akramIOT

Zero Trust Access AI Agent - MCP Server

auth_apikey.py331 B
from fastapi import Request, HTTPException import os VALID_API_KEYS = os.getenv("VALID_API_KEYS", "123456").split(",") def verify_api_key(request: Request): api_key = request.headers.get("X-API-Key") if api_key not in VALID_API_KEYS: raise HTTPException(status_code=403, detail="Invalid API Key") return True

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/akramIOT/ZTA_MCP_Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server