MCP Retrieval
v0.1.10Local Go MCP server: DuckDuckGo/Bing web + image search, readability scraping to Markdown.
Values you need
| Variable | What it is | |
|---|---|---|
MCP_TRANSPORT | optional | stdio (client spawns the process) or http (streamable HTTP listener). Default: stdio |
MCP_NAME | optional | Server name reported in the MCP initialize handshake. Default: mcp-retrieval |
MCP_PATH | optional | HTTP path the MCP endpoint is served on. Used only when MCP_TRANSPORT=http. Default: /mcp |
SERVER_PORT | optional | TCP port to listen on. Used only when MCP_TRANSPORT=http. Default: 8080 |
SERVER_READ_TIMEOUT | optional | HTTP read timeout as a Go duration. Used only when MCP_TRANSPORT=http. Default: 60s |
SERVER_WRITE_TIMEOUT | optional | HTTP write timeout as a Go duration. Used only when MCP_TRANSPORT=http. Default: 60s |
LOG_MODE | optional | local (text, debug) or prod (JSON, info). Logs go to stderr. Default: local |
MAX_IDLE_CONNS_PER_HOST | optional | Idle connections the outbound HTTP client keeps per host. Default: 100 |
MAX_QUERIES | optional | Maximum queries or URLs accepted in one call. Default: 10 |
DEFAULT_RESULTS | optional | Snippets returned per query when the call does not ask for a count. Default: 5 |
MAX_RESULTS | optional | Upper bound for snippets per query. Default: 20 |
DEFAULT_IMAGES | optional | Images returned per query when the call does not ask for a count. Default: 5 |
MAX_IMAGES | optional | Upper bound for images per query. Default: 10 |
DEFAULT_TIMEOUT_MS | optional | Per-call timeout in milliseconds when the call does not request one. Default: 5000 |
MIN_TIMEOUT_MS | optional | Lowest timeout a call may request, in milliseconds. Default: 1000 |
MAX_TIMEOUT_MS | optional | Highest timeout a call may request, in milliseconds. Default: 10000 |
DEFAULT_DOCUMENT_CHARS | optional | Characters kept per scraped page when the call does not ask for a limit. Default: 20000 |
MAX_DOCUMENT_CHARS | optional | Upper bound for characters kept per scraped page. Default: 20000 |
PROXY_SCHEME | optional | Outbound proxy scheme. Optional; set all five PROXY_* variables or none. |
PROXY_HOST | optional | Outbound proxy host. Enables per-request rotating proxy sessions. |
PROXY_PORT | optional | Outbound proxy port. Required when PROXY_HOST is set. |
PROXY_LOGIN | optional secret | Outbound proxy username. Required when PROXY_HOST is set. |
PROXY_PASSWORD | optional secret | Outbound proxy password. Required when PROXY_HOST is set. |
Docker discovery passed
Requires Docker
Run in a terminal
claude mcp add mcp-retrieval -- docker run -i --rm ghcr.io/role1776/mcp-retrieval:0.1.10Add to
claude_desktop_config.json{
"mcpServers": {
"mcp-retrieval": {
"args": [
"run",
"-i",
"--rm",
"ghcr.io/role1776/mcp-retrieval:0.1.10"
],
"command": "docker"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mcp-retrieval": {
"args": [
"run",
"-i",
"--rm",
"ghcr.io/role1776/mcp-retrieval:0.1.10"
],
"command": "docker"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mcp-retrieval": {
"args": [
"run",
"-i",
"--rm",
"ghcr.io/role1776/mcp-retrieval:0.1.10"
],
"command": "docker",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mcp-retrieval]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/role1776/mcp-retrieval:0.1.10"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: web_scrape, web_search, web_search_images.
- If it fails, check that the required runtime is installed (Docker) and that the values above are set.
Machine-readable: install.md · manifest.json