Skip to main content
Glama

Oxylabs MCP Server

Official
by oxylabs
utils.py684 B
def convert_context_params(arguments: dict) -> dict: context_fields = ["category_id", "merchant_id", "currency", "autoselect_variant"] arguments_copy = {**arguments} for f in context_fields: if f in arguments_copy: if "context" not in arguments_copy: arguments_copy["context"] = [] arguments_copy["context"].append({"key": f, "value": arguments_copy[f]}) del arguments_copy[f] return arguments_copy def prepare_expected_arguments(arguments: dict) -> dict: arguments_copy = {**arguments} if "output_format" in arguments_copy: del arguments_copy["output_format"] return arguments_copy

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/oxylabs/oxylabs-mcp'

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