Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MODENoServer mode: both HTTP+STDIO, HTTP only, or STDIO only. Options: both, http, stdioboth
PORTNoServer port (MCP HTTP/S; CLI daemon uses 3210 by default)3211
LOG_LEVELNoquiet suppresses startup config logs (MCP stdio bare startup is silent by default; use LOG_LEVEL=normal for diagnostics). Options: normal, quietnormal
PROXY_URLNoProxy server URLhttp://127.0.0.1:7890
USE_PROXYNoEnable HTTP proxyfalse
CORS_ORIGINNoCORS origin configuration*
ENABLE_CORSNoEnable CORSfalse
EXA_API_KEYNoOptional. Only needed for exa engine. Get a free key from https://dashboard.exa.ai/api-keys
SEARCH_MODENoSearch strategy. Currently only affects Bing: request only, request then Playwright fallback, or force Playwright. Options: request, auto, playwrightauto
FAKE_IP_CIDRSNoTreat DNS answers in these CIDRs as synthetic fake-IP results and do not block them as private-network DNS answers. Literal private/local targets and other private-network DNS answers remain blocked
PROXY_ENGINESNoWith USE_PROXY=true, only the engines in this whitelist route through the proxy; others stay direct. Empty = all engines proxied (legacy global behavior). Recommended for mainland China: PROXY_ENGINES=duckduckgo,exa,brave,startpage
CONTEXT7_API_KEYNoOptional API key for higher rate limits on Context7 docs tools
PLAYWRIGHT_PACKAGENoWhich Playwright client package to resolve when browser mode is enabled. Options: auto, playwright, playwright-coreauto
PLAYWRIGHT_HEADLESSNoWhether Playwright Chromium runs in headless modetrue
MCP_TOOL_SEARCH_NAMENoCustom name for the search toolsearch
DEFAULT_SEARCH_ENGINENoDefault search engine. Options: bing, duckduckgo, exa, brave, baidu, csdn, juejin, startpage, sogoubing
ALLOWED_SEARCH_ENGINESNoLimit which search engines can be used; if the default engine is not in this list, the first allowed engine becomes the default
FETCH_WEB_INSECURE_TLSNoDisable TLS certificate verification for fetchWebContent only. Use only when a target site has a broken certificate chainfalse
PLAYWRIGHT_MODULE_PATHNoReuse an existing Playwright client package outside this project
PLAYWRIGHT_WS_ENDPOINTNoValid Playwright ws:// / wss:// endpoint
BING_IMPERSONATE_TARGETNoBrowser fingerprint target for Bing's HTTP mode. Any curl-cffi-node impersonate target (e.g. chrome131, chrome124, chrome116)chrome131
MCP_TOOL_FETCH_WEB_NAMENoCustom name for generic web/Markdown fetch toolfetchWebContent
PLAYWRIGHT_CDP_ENDPOINTNoValid Chromium CDP endpoint
BING_PLAYWRIGHT_FALLBACKNoIn auto mode, when Bing's request mode hits an anti-bot page: true = launch a Playwright browser (slow, ~400MB); false = surface the error so the search service can cascade to lighter engines (e.g. duckduckgo/brave) via minResultstrue
MCP_TOOL_FETCH_CSDN_NAMENoCustom name for the CSDN article fetch toolfetchCsdnArticle
MCP_TOOL_FETCH_GITHUB_NAMENoCustom name for the GitHub README fetch toolfetchGithubReadme
MCP_TOOL_FETCH_JUEJIN_NAMENoCustom name for the Juejin article fetch toolfetchJuejinArticle
PLAYWRIGHT_EXECUTABLE_PATHNoLaunch an existing Chromium/Chrome executable without installing bundled browsers
OPEN_WEBSEARCH_QUIET_STARTUPNoSuppress startup config logs (compatibility switch, equivalent to LOG_LEVEL=quiet)false
STARTPAGE_PLAYWRIGHT_FALLBACKNofalse = do not launch a Playwright browser for Startpage's Anubis anti-bot warmup (saves ~400MB memory and seconds of latency); surface the error so minResults can cascade to lighter engines insteadtrue
PLAYWRIGHT_NAVIGATION_TIMEOUT_MSNoTimeout for Playwright navigation and Bing result waits20000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
searchA

Search the web across multiple engines with no API key required. searchMode: omit/auto = server SEARCH_MODE; request/playwright force that mode. Engine guidance: for Chinese queries prefer engines=["baidu","sogou","csdn","juejin"] (domestic engines have far better Chinese content coverage); for English/official docs use bing; overseas engines (duckduckgo/brave/startpage/exa) need a proxy. Omit engines to use server-side auto routing. Cite the relevant result URLs as markdown links in your answer. For OFFICIAL library/framework documentation, prefer resolveLibraryId + queryDocs (more reliable, works without proxy). Use the site: operator for site-specific queries (e.g. "update site:docs.elastic.co").

fetchCsdnArticleA

Fetch full article content from a CSDN article URL (blog.csdn.net /article/details/ only; for other sites use fetchWebContent)

fetchGithubReadmeA

Fetch README content from a GitHub/Gitee repository URL (github.com or gitee.com repo URLs only; for other pages use fetchWebContent)

fetchWebContentC

Fetch content from a public HTTP(S) URL (supports Markdown files and normal web pages)

fetchJuejinArticleA

Fetch full article content from a Juejin(掘金) post URL (juejin.cn or article.juejin.cn /post/ only; for other sites use fetchWebContent)

resolveLibraryIdA

PREFERRED for official docs: resolve a library/package name to a Context7 library ID (e.g. /vercel/next.js). Use this (then queryDocs) FIRST when the task needs official library/framework documentation — more reliable than web search and works without a proxy.

queryDocsA

Get up-to-date, version-specific official docs and code snippets for a Context7 library ID (e.g. /vercel/next.js, version-pinnable like /vercel/next.js@v15.1.8). Use with resolveLibraryId for official documentation lookups — direct, reliable, no proxy needed.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 7 tools

Disambiguation5/5

Each tool has a well-defined target: search vs. generic fetching vs. site-specific fetching vs. official docs. The specialized fetchers explicitly delegate non-matching URLs to fetchWebContent, reducing misselection.

Naming Consistency4/5

Most tools follow a verb-first camelCase pattern (fetchX, queryDocs, resolveLibraryId). 'search' is a bare verb without an object, and object specificity varies, but the pattern remains predictable.

Tool Count5/5

Seven tools cover the server's purpose without redundancy or bloat. The count is within the ideal 3–15 range and each tool contributes a distinct capability.

Completeness5/5

The set covers generic web fetching, specialized extraction for CSDN, Juejin, and GitHub READMEs, multi-engine web search, and official documentation lookups. No critical functionality appears missing for a web search and content-fetch server.

Maintenance

ActivityActive
ResponsivenessNo issues