Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
作者提供的说明(英文原文)
Local Go MCP server: DuckDuckGo/Bing web + image search, readability scraping to Markdown.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
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标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。
在终端中运行这条命令
claude mcp add retrieval --env MCP_TRANSPORT=your-value --env MCP_NAME=your-value --env MCP_PATH=your-value --env SERVER_PORT=your-value --env SERVER_READ_TIMEOUT=your-value --env SERVER_WRITE_TIMEOUT=your-value --env LOG_MODE=your-value --env MAX_IDLE_CONNS_PER_HOST=your-value --env MAX_QUERIES=your-value --env DEFAULT_RESULTS=your-value --env MAX_RESULTS=your-value --env DEFAULT_IMAGES=your-value --env MAX_IMAGES=your-value --env DEFAULT_TIMEOUT_MS=your-value --env MIN_TIMEOUT_MS=your-value --env MAX_TIMEOUT_MS=your-value --env DEFAULT_DOCUMENT_CHARS=your-value --env MAX_DOCUMENT_CHARS=your-value --env PROXY_SCHEME=your-value --env PROXY_HOST=your-value --env PROXY_PORT=your-value --env PROXY_LOGIN=your-value --env PROXY_PASSWORD=your-value -- 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/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": "your-value",
"MCP_NAME": "your-value",
"MCP_PATH": "your-value",
"SERVER_PORT": "your-value",
"SERVER_READ_TIMEOUT": "your-value",
"SERVER_WRITE_TIMEOUT": "your-value",
"LOG_MODE": "your-value",
"MAX_IDLE_CONNS_PER_HOST": "your-value",
"MAX_QUERIES": "your-value",
"DEFAULT_RESULTS": "your-value",
"MAX_RESULTS": "your-value",
"DEFAULT_IMAGES": "your-value",
"MAX_IMAGES": "your-value",
"DEFAULT_TIMEOUT_MS": "your-value",
"MIN_TIMEOUT_MS": "your-value",
"MAX_TIMEOUT_MS": "your-value",
"DEFAULT_DOCUMENT_CHARS": "your-value",
"MAX_DOCUMENT_CHARS": "your-value",
"PROXY_SCHEME": "your-value",
"PROXY_HOST": "your-value",
"PROXY_PORT": "your-value",
"PROXY_LOGIN": "your-value",
"PROXY_PASSWORD": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .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": "your-value",
"MCP_NAME": "your-value",
"MCP_PATH": "your-value",
"SERVER_PORT": "your-value",
"SERVER_READ_TIMEOUT": "your-value",
"SERVER_WRITE_TIMEOUT": "your-value",
"LOG_MODE": "your-value",
"MAX_IDLE_CONNS_PER_HOST": "your-value",
"MAX_QUERIES": "your-value",
"DEFAULT_RESULTS": "your-value",
"MAX_RESULTS": "your-value",
"DEFAULT_IMAGES": "your-value",
"MAX_IMAGES": "your-value",
"DEFAULT_TIMEOUT_MS": "your-value",
"MIN_TIMEOUT_MS": "your-value",
"MAX_TIMEOUT_MS": "your-value",
"DEFAULT_DOCUMENT_CHARS": "your-value",
"MAX_DOCUMENT_CHARS": "your-value",
"PROXY_SCHEME": "your-value",
"PROXY_HOST": "your-value",
"PROXY_PORT": "your-value",
"PROXY_LOGIN": "your-value",
"PROXY_PASSWORD": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
MCP_TRANSPORT envMCP_NAME envMCP_PATH envSERVER_PORT envSERVER_READ_TIMEOUT envSERVER_WRITE_TIMEOUT envLOG_MODE envMAX_IDLE_CONNS_PER_HOST envMAX_QUERIES envDEFAULT_RESULTS envMAX_RESULTS envDEFAULT_IMAGES envMAX_IMAGES envDEFAULT_TIMEOUT_MS envMIN_TIMEOUT_MS envMAX_TIMEOUT_MS envDEFAULT_DOCUMENT_CHARS envMAX_DOCUMENT_CHARS envPROXY_SCHEME envPROXY_HOST envPROXY_PORT env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 Role1776 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:PROXY_LOGIN, PROXY_PASSWORD
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.10)于14天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Docker, MCPB。
同一分类中有:Figma Context MCP, Claude Real Video, Figma MCP Server
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
Let any LLM watch a video locally — and search everything it has ever watched.
The Figma MCP server brings Figma design context directly into your AI workflow.
按原文从作者的仓库复制。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
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:
| Tool | Description |
|---|---|
| `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| Parameter | Type | Default | Notes |
|---|---|---|---|
queries | []string | — | Required. Executed in parallel. |
max_results | int | 5 | Snippets per query, capped at max_results config (20). |
timeout_ms | int64 | 5000 | Whole-call timeout; clamped to [min, max] from config. |
date | string | — | Freshness filter: d (day), w (week), m (month), y (year). |
web_search_images| Parameter | Type | Default | Notes |
|---|---|---|---|
queries | []string | — | Required. Executed in parallel. |
max_images | int | 5 | Images per query, capped at max_images config (10). |
timeout_ms | int64 | 5000 | Whole-call timeout; clamped to [min, max] from config. |
date | string | — | Freshness filter: d / w / m / y. |
web_scrape| Parameter | Type | Default | Notes |
|---|---|---|---|
urls | []string | — | Required. Downloaded in parallel. |
robots_txt | bool | false | Respect the page's robots.txt. |
timeout_ms | int64 | 5000 | Whole-call timeout; clamped to [min, max] from config. |
remove_links | bool | false | Strip Markdown links from the text. |
max_chars | int | 20000 | Truncate page text to N characters, capped at max_document_chars config (20000). |
Both
queries/urlslists are capped atmax_queries(10) items per call. Queries must be ≤ 512 characters; URLs ≤ 2048 characters andhttp/httpsonly.
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.
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:
| Message | Meaning |
|---|---|
invalid request | The arguments did not pass validation. |
too many queries / too many urls | The 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 empty | An empty query, or an empty queries list. |
query is too long | A query exceeds 512 characters. |
invalid url | A URL is malformed, over 2048 characters, or not http/https. |
robots.txt denied | robots_txt: true and the page disallows fetching. |
every url failed to be scraped; the pages may be unreachable or hold no extractable text | Every 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 unreachable | Every 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 canceled | The client canceled the call before it finished; nothing about the upstream is implied. |
internal server error | Anything 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.
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.status: "success". Treat image results as best-effort and verify them before showing them to a user.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
# defaults: stdio transport, no configuration needed
./bin/mcp-retrieval
./bin/mcp-retrieval -env /absolute/path/to/.env
The one flag is optional:
| Flag | Meaning |
|---|---|
-env | Path 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. |
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.
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.
Set MCP_TRANSPORT=http and the server listens on SERVER_PORT at MCP_PATH (default http://localhost:8080/mcp).
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
只显示了开头部分;其余内容请在仓库中阅读