runtime: "container"
minMcpVersion: "1.0.0"
docUrl: "https://github.com/NosytLabs/presearch-search-api-mcp#readme"
build:
dockerfile: "Dockerfile"
dockerBuildPath: "."
startCommand:
type: "http"
configSchema:
type: "object"
additionalProperties: false
required: ["PRESEARCH_API_KEY"]
properties:
PRESEARCH_API_KEY:
type: "string"
description: "Your Presearch API Key for authentication. Get one at https://presearch.com/"
PRESEARCH_TIMEOUT:
type: "number"
default: 10000
description: "Maximum time in milliseconds to wait for API requests."
SEARCH_MAX_RESULTS:
type: "number"
default: 50
description: "Maximum number of search results to return per query."
PRESEARCH_SAFE_SEARCH:
type: "string"
enum: ["off", "moderate", "strict"]
default: "moderate"
description: "Filter adult content from search results."
PRESEARCH_DEFAULT_LANGUAGE:
type: "string"
default: "en-US"
description: "Default language code for searches (e.g., en-US)."
CACHE_ENABLED:
type: "boolean"
default: true
description: "Enable in-memory caching of search results to improve performance."
CACHE_TTL:
type: "number"
default: 300
description: "Time-To-Live for cached entries in seconds."
CACHE_MAX_KEYS:
type: "number"
default: 1000
description: "Maximum number of entries to store in the cache."
PRESEARCH_RETRIES:
type: "number"
default: 3
description: "Number of retry attempts for failed API requests."
CONNECTION_POOL_MAX_SOCKETS:
type: "number"
default: 10
description: "Maximum number of concurrent connections in the HTTP connection pool."
CONNECTION_POOL_KEEP_ALIVE:
type: "boolean"
default: true
description: "Enable persistent connections for better performance."
SCRAPE_MAX_RETRIES:
type: "number"
default: 3
description: "Maximum retry attempts for web scraping failures."
RATE_LIMIT_MAX_REQUESTS:
type: "number"
default: 100
description: "Maximum number of requests allowed per window."
RATE_LIMIT_WINDOW_MS:
type: "number"
default: 60000
description: "Time window for rate limiting in milliseconds."
LOG_LEVEL:
type: "string"
enum: ["error", "warn", "info", "debug"]
default: "info"
description: "Verbosity of logging output."
LOG_PRETTY:
type: "boolean"
default: false
description: "Format logs for human readability (not recommended for production)."