ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

MCP Retrieval

โดย Role1776รุ่น 0.1.10i★ –iรันบนเครื่อง
ชื่อใน registryio.github.Role1776/mcp-retrieval

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Local Go MCP server: DuckDuckGo/Bing web + image search, readability scraping to Markdown.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ออกแบบ ภาพ และเสียง
  • ต้องใส่ค่าเหล่านี้: PROXY_LOGIN, PROXY_PASSWORD

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: MCP_TRANSPORT, MCP_NAME, MCP_PATH, SERVER_PORT, SERVER_READ_TIMEOUT, SERVER_WRITE_TIMEOUT, LOG_MODE, MAX_IDLE_CONNS_PER_HOST, MAX_QUERIES, DEFAULT_RESULTS, MAX_RESULTS, DEFAULT_IMAGES, MAX_IMAGES, DEFAULT_TIMEOUT_MS, MIN_TIMEOUT_MS, MAX_TIMEOUT_MS, DEFAULT_DOCUMENT_CHARS, MAX_DOCUMENT_CHARS, PROXY_SCHEME, PROXY_HOST, PROXY_PORT, PROXY_LOGIN, PROXY_PASSWORD

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • Dockerติดตั้ง Docker ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

ดาวน์โหลดไฟล์ .mcpb ของผู้ทำ

ลิงก์ไปที่ไฟล์ของผู้ทำเอง เราไม่ได้เก็บหรือแพ็กใหม่ เปิดไฟล์แล้ว Claude Desktop จะติดตั้งให้

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add retrieval --env MCP_TRANSPORT='ใส่ค่าของคุณ' --env MCP_NAME='ใส่ค่าของคุณ' --env MCP_PATH='ใส่ค่าของคุณ' --env SERVER_PORT='ใส่ค่าของคุณ' --env SERVER_READ_TIMEOUT='ใส่ค่าของคุณ' --env SERVER_WRITE_TIMEOUT='ใส่ค่าของคุณ' --env LOG_MODE='ใส่ค่าของคุณ' --env MAX_IDLE_CONNS_PER_HOST='ใส่ค่าของคุณ' --env MAX_QUERIES='ใส่ค่าของคุณ' --env DEFAULT_RESULTS='ใส่ค่าของคุณ' --env MAX_RESULTS='ใส่ค่าของคุณ' --env DEFAULT_IMAGES='ใส่ค่าของคุณ' --env MAX_IMAGES='ใส่ค่าของคุณ' --env DEFAULT_TIMEOUT_MS='ใส่ค่าของคุณ' --env MIN_TIMEOUT_MS='ใส่ค่าของคุณ' --env MAX_TIMEOUT_MS='ใส่ค่าของคุณ' --env DEFAULT_DOCUMENT_CHARS='ใส่ค่าของคุณ' --env MAX_DOCUMENT_CHARS='ใส่ค่าของคุณ' --env PROXY_SCHEME='ใส่ค่าของคุณ' --env PROXY_HOST='ใส่ค่าของคุณ' --env PROXY_PORT='ใส่ค่าของคุณ' --env PROXY_LOGIN='ใส่ค่าของคุณ' --env PROXY_PASSWORD='ใส่ค่าของคุณ' -- docker run -i --rm -e MCP_TRANSPORT -e MCP_NAME -e MCP_PATH -e SERVER_PORT -e SERVER_READ_TIMEOUT -e SERVER_WRITE_TIMEOUT -e LOG_MODE -e MAX_IDLE_CONNS_PER_HOST -e MAX_QUERIES -e DEFAULT_RESULTS -e MAX_RESULTS -e DEFAULT_IMAGES -e MAX_IMAGES -e DEFAULT_TIMEOUT_MS -e MIN_TIMEOUT_MS -e MAX_TIMEOUT_MS -e DEFAULT_DOCUMENT_CHARS -e MAX_DOCUMENT_CHARS -e PROXY_SCHEME -e PROXY_HOST -e PROXY_PORT -e PROXY_LOGIN -e PROXY_PASSWORD ghcr.io/role1776/mcp-retrieval:0.1.10

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "retrieval": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_TRANSPORT",
        "-e",
        "MCP_NAME",
        "-e",
        "MCP_PATH",
        "-e",
        "SERVER_PORT",
        "-e",
        "SERVER_READ_TIMEOUT",
        "-e",
        "SERVER_WRITE_TIMEOUT",
        "-e",
        "LOG_MODE",
        "-e",
        "MAX_IDLE_CONNS_PER_HOST",
        "-e",
        "MAX_QUERIES",
        "-e",
        "DEFAULT_RESULTS",
        "-e",
        "MAX_RESULTS",
        "-e",
        "DEFAULT_IMAGES",
        "-e",
        "MAX_IMAGES",
        "-e",
        "DEFAULT_TIMEOUT_MS",
        "-e",
        "MIN_TIMEOUT_MS",
        "-e",
        "MAX_TIMEOUT_MS",
        "-e",
        "DEFAULT_DOCUMENT_CHARS",
        "-e",
        "MAX_DOCUMENT_CHARS",
        "-e",
        "PROXY_SCHEME",
        "-e",
        "PROXY_HOST",
        "-e",
        "PROXY_PORT",
        "-e",
        "PROXY_LOGIN",
        "-e",
        "PROXY_PASSWORD",
        "ghcr.io/role1776/mcp-retrieval:0.1.10"
      ],
      "env": {
        "MCP_TRANSPORT": "ใส่ค่าของคุณ",
        "MCP_NAME": "ใส่ค่าของคุณ",
        "MCP_PATH": "ใส่ค่าของคุณ",
        "SERVER_PORT": "ใส่ค่าของคุณ",
        "SERVER_READ_TIMEOUT": "ใส่ค่าของคุณ",
        "SERVER_WRITE_TIMEOUT": "ใส่ค่าของคุณ",
        "LOG_MODE": "ใส่ค่าของคุณ",
        "MAX_IDLE_CONNS_PER_HOST": "ใส่ค่าของคุณ",
        "MAX_QUERIES": "ใส่ค่าของคุณ",
        "DEFAULT_RESULTS": "ใส่ค่าของคุณ",
        "MAX_RESULTS": "ใส่ค่าของคุณ",
        "DEFAULT_IMAGES": "ใส่ค่าของคุณ",
        "MAX_IMAGES": "ใส่ค่าของคุณ",
        "DEFAULT_TIMEOUT_MS": "ใส่ค่าของคุณ",
        "MIN_TIMEOUT_MS": "ใส่ค่าของคุณ",
        "MAX_TIMEOUT_MS": "ใส่ค่าของคุณ",
        "DEFAULT_DOCUMENT_CHARS": "ใส่ค่าของคุณ",
        "MAX_DOCUMENT_CHARS": "ใส่ค่าของคุณ",
        "PROXY_SCHEME": "ใส่ค่าของคุณ",
        "PROXY_HOST": "ใส่ค่าของคุณ",
        "PROXY_PORT": "ใส่ค่าของคุณ",
        "PROXY_LOGIN": "ใส่ค่าของคุณ",
        "PROXY_PASSWORD": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "retrieval": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "MCP_TRANSPORT",
        "-e",
        "MCP_NAME",
        "-e",
        "MCP_PATH",
        "-e",
        "SERVER_PORT",
        "-e",
        "SERVER_READ_TIMEOUT",
        "-e",
        "SERVER_WRITE_TIMEOUT",
        "-e",
        "LOG_MODE",
        "-e",
        "MAX_IDLE_CONNS_PER_HOST",
        "-e",
        "MAX_QUERIES",
        "-e",
        "DEFAULT_RESULTS",
        "-e",
        "MAX_RESULTS",
        "-e",
        "DEFAULT_IMAGES",
        "-e",
        "MAX_IMAGES",
        "-e",
        "DEFAULT_TIMEOUT_MS",
        "-e",
        "MIN_TIMEOUT_MS",
        "-e",
        "MAX_TIMEOUT_MS",
        "-e",
        "DEFAULT_DOCUMENT_CHARS",
        "-e",
        "MAX_DOCUMENT_CHARS",
        "-e",
        "PROXY_SCHEME",
        "-e",
        "PROXY_HOST",
        "-e",
        "PROXY_PORT",
        "-e",
        "PROXY_LOGIN",
        "-e",
        "PROXY_PASSWORD",
        "ghcr.io/role1776/mcp-retrieval:0.1.10"
      ],
      "env": {
        "MCP_TRANSPORT": "ใส่ค่าของคุณ",
        "MCP_NAME": "ใส่ค่าของคุณ",
        "MCP_PATH": "ใส่ค่าของคุณ",
        "SERVER_PORT": "ใส่ค่าของคุณ",
        "SERVER_READ_TIMEOUT": "ใส่ค่าของคุณ",
        "SERVER_WRITE_TIMEOUT": "ใส่ค่าของคุณ",
        "LOG_MODE": "ใส่ค่าของคุณ",
        "MAX_IDLE_CONNS_PER_HOST": "ใส่ค่าของคุณ",
        "MAX_QUERIES": "ใส่ค่าของคุณ",
        "DEFAULT_RESULTS": "ใส่ค่าของคุณ",
        "MAX_RESULTS": "ใส่ค่าของคุณ",
        "DEFAULT_IMAGES": "ใส่ค่าของคุณ",
        "MAX_IMAGES": "ใส่ค่าของคุณ",
        "DEFAULT_TIMEOUT_MS": "ใส่ค่าของคุณ",
        "MIN_TIMEOUT_MS": "ใส่ค่าของคุณ",
        "MAX_TIMEOUT_MS": "ใส่ค่าของคุณ",
        "DEFAULT_DOCUMENT_CHARS": "ใส่ค่าของคุณ",
        "MAX_DOCUMENT_CHARS": "ใส่ค่าของคุณ",
        "PROXY_SCHEME": "ใส่ค่าของคุณ",
        "PROXY_HOST": "ใส่ค่าของคุณ",
        "PROXY_PORT": "ใส่ค่าของคุณ",
        "PROXY_LOGIN": "ใส่ค่าของคุณ",
        "PROXY_PASSWORD": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • MCP_TRANSPORT env
    stdio (client spawns the process) or http (streamable HTTP listener).
  • MCP_NAME env
    Server name reported in the MCP initialize handshake.
  • MCP_PATH env
    HTTP path the MCP endpoint is served on. Used only when MCP_TRANSPORT=http.
  • SERVER_PORT env
    TCP port to listen on. Used only when MCP_TRANSPORT=http.
  • SERVER_READ_TIMEOUT env
    HTTP read timeout as a Go duration. Used only when MCP_TRANSPORT=http.
  • SERVER_WRITE_TIMEOUT env
    HTTP write timeout as a Go duration. Used only when MCP_TRANSPORT=http.
  • LOG_MODE env
    local (text, debug) or prod (JSON, info). Logs go to stderr.
  • MAX_IDLE_CONNS_PER_HOST env
    Idle connections the outbound HTTP client keeps per host.
  • MAX_QUERIES env
    Maximum queries or URLs accepted in one call.
  • DEFAULT_RESULTS env
    Snippets returned per query when the call does not ask for a count.
  • MAX_RESULTS env
    Upper bound for snippets per query.
  • DEFAULT_IMAGES env
    Images returned per query when the call does not ask for a count.
  • MAX_IMAGES env
    Upper bound for images per query.
  • DEFAULT_TIMEOUT_MS env
    Per-call timeout in milliseconds when the call does not request one.
  • MIN_TIMEOUT_MS env
    Lowest timeout a call may request, in milliseconds.
  • MAX_TIMEOUT_MS env
    Highest timeout a call may request, in milliseconds.
  • DEFAULT_DOCUMENT_CHARS env
    Characters kept per scraped page when the call does not ask for a limit.
  • MAX_DOCUMENT_CHARS env
    Upper bound for characters kept per scraped page.
  • PROXY_SCHEME env
    Outbound proxy scheme. Optional; set all five PROXY_* variables or none.
  • PROXY_HOST env
    Outbound proxy host. Enables per-request rotating proxy sessions.
  • PROXY_PORT env
    Outbound proxy port. Required when PROXY_HOST is set.
  • PROXY_LOGIN ความลับ env
    Outbound proxy username. Required when PROXY_HOST is set.
  • PROXY_PASSWORD ความลับ env
    Outbound proxy password. Required when PROXY_HOST is set.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub Role1776 ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ออกแบบ ภาพ และเสียงi

  • ดาวมากกว่า 0% ของอีก 2193 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 70% ของอีก 2193 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 2193 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

MCP Retrieval ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: PROXY_LOGIN, PROXY_PASSWORD

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.10) เข้า registry 13 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Docker, MCPB ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Figma Context MCP, Claude Real Video, Figma MCP Server

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Figma Context MCP

โดย GLips

Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.

รันบนเครื่อง★ 16,165MITอัปเดต 5 เดือนที่ผ่านมา
ติดตั้ง

Claude Real Video

โดย HUANGCHIHHUNGLeo

Let any LLM watch a video locally — and search everything it has ever watched.

รันบนเครื่อง★ 2,284MITอัปเดต 2 เดือนที่ผ่านมา
ติดตั้ง

Figma MCP Server

โดย figma

server ทางการของ Figma ส่งข้อมูลงานออกแบบให้ AI อ่าน เพื่อเปลี่ยนแบบเป็นโค้ดหรืออธิบายแบบได้ตรงขึ้น ต่อผ่านคลาวด์ของ Figma

รันบนคลาวด์★ 2,152อัปเดต 13 เดือนที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

mcp-retrieval

An MCP server that gives an LLM three web tools: search, image search, and page scraping — no API keys required.

Tools · Quick start · Configuration · Retrieval engine · Architecture · Contributing


What it is

mcp-retrieval is a Model Context Protocol server written in Go. It exposes web retrieval capabilities to any MCP-compatible client (Claude Desktop, IDE agents, custom LLM apps) as three read-only tools. Under the hood it uses the retrieval-go library to search the web and fetch pages, returning results as clean Markdown ready to hand to a model.

The library needs no API keys: web search goes through DuckDuckGo Lite, image search through Bing Images, and page fetching runs the HTML through a readability extractor before converting it to Markdown. To stay reliable against bot protection it impersonates real browsers at the TLS level and can rotate both browser fingerprints and proxies — see Retrieval engine.

Both transports the MCP SDK supports are available and expose the identical tool set:

  • stdio — the client launches the binary and talks over stdin/stdout (the default, ideal for desktop clients).
  • http — a long-running streamable HTTP server (useful for remote/shared deployments).

Tools

ToolDescription
`web_search`Runs one or more queries in parallel and returns per-query deduplicated, reranked snippets with links.
`web_search_images`Runs one or more image queries in parallel and returns per-query deduplicated image results.
`web_scrape`Downloads one or more pages in parallel and returns the main article text as Markdown.

All three are annotated as read-only. Each tool returns a structured JSON payload that matches its output schema; the SDK mirrors the same JSON into the text content block for clients that do not read structuredContent.

web_search
ParameterTypeDefaultNotes
queries[]string—Required. Executed in parallel.
max_resultsint5Snippets per query, capped at max_results config (20).
timeout_msint645000Whole-call timeout; clamped to [min, max] from config.
datestring—Freshness filter: d (day), w (week), m (month), y (year).
web_search_images
ParameterTypeDefaultNotes
queries[]string—Required. Executed in parallel.
max_imagesint5Images per query, capped at max_images config (10).
timeout_msint645000Whole-call timeout; clamped to [min, max] from config.
datestring—Freshness filter: d / w / m / y.
web_scrape
ParameterTypeDefaultNotes
urls[]string—Required. Downloaded in parallel.
robots_txtboolfalseRespect the page's robots.txt.
timeout_msint645000Whole-call timeout; clamped to [min, max] from config.
remove_linksboolfalseStrip Markdown links from the text.
max_charsint20000Truncate page text to N characters, capped at max_document_chars config (20000).

Both queries/urls lists are capped at max_queries (10) items per call. Queries must be ≤ 512 characters; URLs ≤ 2048 characters and http/https only.

Results and counts

Every call fans out across the input list and returns one entry per query/URL, each with its own status — success, failed, or timeout — so a partial failure still returns the items that did work.

count is the number of items actually returned, and it can be lower than the requested `max_results` / `max_images`: duplicates within a single query's results are removed before the limit is applied, and the upstream may simply have fewer items to give. A smaller count is a normal outcome, not an error.

Deduplication is per query, not across queries. Each entry is deduplicated on its own, so a link found by two of the queries in the same call appears in both entries — dedupe the union yourself if you need it.

Errors

Request-level failures are returned as a tool result with isError: true and a plain-text message, not as a JSON-RPC error — the model reads the message and can correct the call itself. Per-item failures never do this; they stay inside the payload as status: "failed" / "timeout".

A call fails outright only when the input is rejected before any work starts, or when every item in it fails:

MessageMeaning
invalid requestThe arguments did not pass validation.
too many queries / too many urlsThe list exceeds MAX_QUERIES. Lists this long are normally rejected earlier by input-schema validation (the schema carries maxItems), so the client sees validating "arguments": maxItems: ... instead; this message is a fallback.
query must not be emptyAn empty query, or an empty queries list.
query is too longA query exceeds 512 characters.
invalid urlA URL is malformed, over 2048 characters, or not http/https.
robots.txt deniedrobots_txt: true and the page disallows fetching.
every url failed to be scraped; the pages may be unreachable or hold no extractable textEvery URL failed with an error other than a timeout. Individual causes are logged to stderr, not returned.
every query failed; the search upstream may be unreachableEvery query failed with an error other than a timeout, including the upstream rejecting the requests (any non-200 answer, such as DuckDuckGo's HTTP 202 bot challenge under a burst of requests). The per-query cause is logged to stderr.
request canceledThe client canceled the call before it finished; nothing about the upstream is implied.
internal server errorAnything unclassified.

A timeout is never a call-level error: an item that runs out of time gets status: "timeout", and a call where every item timed out still returns all of them with that status. The all-failed messages only fire when no item succeeded or timed out.

Known limitations
  • `web_scrape` handles HTML only. Pages are run through a readability extractor, which needs article markup, so text/plain responses yield nothing and come back as status: "failed". Raw-file hosts are the common case: raw.githubusercontent.com, github.com/.../raw/..., cdn.jsdelivr.net. Scrape the rendered page instead of the raw file.
  • `web_search_images` relevance is not guaranteed. For some queries Bing Images serves a page that is not a result set, and it is parsed as though it were — the tool then returns unrelated images with status: "success". Treat image results as best-effort and verify them before showing them to a user.
  • No JavaScript. Pages are fetched as-is; content rendered client-side is invisible to the extractor.
  • Bursts of parallel searches can trip DuckDuckGo's bot challenge. The challenge answers with HTTP 202, which counts as a failed query, so queries keep failing until the request rate drops. A rotating proxy (see HTTP client and proxy) spreads the load across exit IPs.

Quick start

Install

Pick whichever fits — all of them give the identical server.

Container (no Go toolchain needed):

docker pull ghcr.io/role1776/mcp-retrieval:latest

Prebuilt binary — grab the archive for your platform from the latest release, unpack it, and put mcp-retrieval on your PATH.

MCP Bundle — for clients that install .mcpb files, download mcp-retrieval_ _ _ .mcpb from the latest release and open it with your client. The bundle carries the compiled binary, so it needs neither Docker nor Go. Pick the file matching your OS *and* CPU architecture: a bundle holds one native binary.

From source:

go install github.com/Role1776/mcp-retrieval/app/cmd/mcp-retrieval@latest   # needs Go 1.25.5+

Or build the binary in place (the Go module lives in app/):

make build          # -> bin/mcp-retrieval
Run
# defaults: stdio transport, no configuration needed

./bin/mcp-retrieval

with an explicit env file

./bin/mcp-retrieval -env /absolute/path/to/.env

The one flag is optional:

FlagMeaning
-envPath to a .env file. If omitted — or if the file does not exist — the server starts on defaults and whatever is already in the environment. There is no implicit lookup: under stdio the working directory is chosen by the MCP client, so a relative default would be unpredictable.
Connecting an MCP client (stdio)

Point your client at the built binary. Example Claude Desktop config:

{

"mcpServers": { "retrieval": { "command": "/absolute/path/to/mcp-retrieval", "env": { "MAX_RESULTS": "20" } } } }

The env block is optional — "command" alone is enough.

Connecting an MCP client (container)

Run the image on stdio. Configuration still travels through the env block, but Docker needs each variable named on the command line with -e for it to reach the process:

{

"mcpServers": { "retrieval": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MAX_RESULTS", "-e", "DEFAULT_TIMEOUT_MS", "ghcr.io/role1776/mcp-retrieval:latest" ], "env": { "MAX_RESULTS": "20", "DEFAULT_TIMEOUT_MS": "5000" } } } }

-i is required — without it the container gets no stdin and the client sees the server die immediately. Clients that install from the MCP Registry build this invocation themselves and prompt for the variables declared in server.json.

Running over HTTP

Set MCP_TRANSPORT=http and the server listens on SERVER_PORT at MCP_PATH (default http://localhost:8080/mcp).


Configuration

Everything is configured through environment variables, and each value is validated before startup: a non-numeric or non-positive value is a startup error (the *_IN_FLIGHT caps also accept 0). Relationships *between* limits are not checked at startup — see Limits. Variables already present in the environment win over a .env file, so

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx