Skip to main content
Glama
domain_lists.py925 B
# type: ignore from typing import Any from utils.policies import PoliciesRequests @when("policies.yaml included allowed_domains list with {host}") def step_impl(context: Any, host: str): policies_requests: PoliciesRequests = context.policies_requests policies_requests.domain_lists.allowed_domains.append(host) @when("policies.yaml included blocked_domains list with {host}") def step_impl(context: Any, host: str): policies_requests: PoliciesRequests = context.policies_requests policies_requests.domain_lists.blocked_domains.append(host) @when("gateway_config.yaml included allowed_domains list with {host}") def step_impl(context: Any, host: str): context.gateway_config.domain_lists.allowed_domains.append(host) @when("gateway_config.yaml included blocked_domains list with {host}") def step_impl(context: Any, host: str): context.gateway_config.domain_lists.blocked_domains.append(host)

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/TheLunarCompany/lunar'

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