Skip to main content
Glama
akramIOT

Zero Trust Access AI Agent - MCP Server

test_auth_cert.py457 B
from mcp_server.auth_cert import verify_certificate from fastapi.testclient import TestClient from fastapi import FastAPI, Request app = FastAPI() @app.get("/verify-cert") def protected_cert_route(request: Request): verify_certificate(request) return {"msg": "Cert valid"} def test_cert_auth(): client = TestClient(app) response = client.get("/verify-cert", headers={"X-Client-Cert": "valid_cert"}) assert response.status_code == 200

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