Skip to main content
Glama

FHIR MCP Server

by the-momentum
auth.pyβ€’489 B
from requests import PreparedRequest from requests.auth import AuthBase from requests.structures import CaseInsensitiveDict class BearerAuth(AuthBase): """Attaches HTTP Bearer Authentication to the given Request object.""" def __init__(self, token: str): self.token = token def __call__(self, r: PreparedRequest) -> PreparedRequest: r.headers = r.headers or CaseInsensitiveDict() r.headers["Authorization"] = f"Bearer {self.token}" return r

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/the-momentum/fhir-mcp-server'

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