String Web Access
概览
作者提供的说明(英文原文)
Search the web, fetch any URL and map a site as clean, LLM-ready Markdown.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i3 项中通过 3 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 322/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 电脑或云端
- 传输方式: stdio, Streamable HTTP
- 分类: 搜索与 AI 记忆
- 你需要填写:STRING_AI_API_KEY, Authorization
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:3 项中通过 3 项
- 在作者的服务器上运行:你向它提出的内容会经过他们的服务器。
- 可以做 4 件事(工具) web_access_fetch, web_access_request, web_access_search, web_access_sitemap
- 需要你自己填写:
STRING_AI_API_KEY,Authorization
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
或者在你的电脑上运行
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"web-access": {
"command": "npx",
"args": [
"-y",
"@usestring/mcp"
],
"env": {
"STRING_AI_API_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add --transport http web-access https://mcp.usestring.ai/v1/mcp --header 'Authorization: your-value'或者在你的电脑上运行
claude mcp add web-access --env STRING_AI_API_KEY=your-value -- npx -y @usestring/mcp运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"web-access": {
"url": "https://mcp.usestring.ai/v1/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}或者在你的电脑上运行
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"web-access": {
"command": "npx",
"args": [
"-y",
"@usestring/mcp"
],
"env": {
"STRING_AI_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"web-access": {
"type": "http",
"url": "https://mcp.usestring.ai/v1/mcp",
"headers": {
"Authorization": "your-value"
}
}
}
}或者在你的电脑上运行
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"web-access": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@usestring/mcp"
],
"env": {
"STRING_AI_API_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个地址需要在请求的 header 中放入密钥,而添加连接器的菜单无法设置。请改用 Claude Code、Cursor 或 VS Code。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- Your String API key (get one at portal.usestring.ai)
Authorization机密 必填 HTTP headerBearer
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
工具名称和描述与服务器在 2026年11月6日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
web_access_fetchFetch a caller-specified HTTP(S) URL and get clean, LLM-ready Markdown back. **Primary use (the common case):** pass only a `url`. The page is fetched with a normal GET and returned as Markdown — no other parameters are needed. ```json { "url": "https://example.com/article" } ```
web_access_requestSend a POST, PUT or PATCH request to any URL, through String's Web Access API. It works like web_access_fetch, but for calls that submit data rather than read a page — a JSON API that only accepts POST, a GraphQL endpoint, a search backend that takes a body. **Use web_access_fetc
web_access_searchSearch the public web for a caller-specified query and get ranked organic results back, plus whatever Google rendered around them: knowledge panel, AI overview, People also ask, local pack, videos, discussions. Google's images, videos, shopping, books, places and forums tabs are
web_access_sitemapManage an asynchronous crawl of authorized public pages on one website. Starting from one URL, the crawler follows same-domain links breadth-first and can also seed from the site's /sitemap.xml. Requests must comply with destination policy, robots directives, rate limits, and acc
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
- ✓ 通过
作者与仓库一致
注册名称已通过域名 usestring.ai 验证(注册中心会核实域名所有权)
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- ✓ 通过
端点有响应
在 317 毫秒内响应(HTTP 200)
- – 不适用
使用 OAuth 登录
无需登录
- ✓ 通过
工具描述中没有隐藏指令
已读取 4 个工具描述,未发现针对 AI 的隐藏指令
与“搜索与 AI 记忆”中的其他服务器比较i
- 星标数多于此分类中其他 5688 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5688 个服务器的 89% 更新
- 基础检查结果等于或优于此分类中其他 5688 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
String Web Access 安全吗?
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:STRING_AI_API_KEY, Authorization
它在我的电脑上运行还是在云端?
两种方式都可以:安装在你的电脑上,或者连接云端版本。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(1.3.8)于5天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
有什么可以替代它?
同一分类中有:Context7, Codebase Memory, Exa
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
String AI Web Access MCP Server
The official Model Context Protocol (MCP) server for String AI's Web Access API. Search the web, fetch any URL or send it a request, and map a site's URLs — all returned as clean, LLM-ready Markdown. Connect any MCP-compatible client — VS Code, Cursor, Windsurf, Claude Desktop, and more.
Tools
| Tool | Description |
|---|---|
web_access_fetch | Fetch one URL and get clean, LLM-ready Markdown back |
web_access_product_help | Ask about String products or services; get one source (two for comparisons), with a shared 4 KiB excerpt budget and source links |
web_access_request | Send a POST, PUT or PATCH with a body to a URL |
web_access_search | Search the web: ranked results plus the knowledge panel, AI overview, local pack and other surfaces Google rendered; optional searchCount (1–300) pages Google; searchType searches Google's images, videos, shopping, books, places or forums tab; safeSearch, includeOmittedResults, autocorrect, restrictCountry and verbatim filter it; page, dateRange and sortBy refine a Google search; format is "structured" (JSON, the default and recommended) or "raw" (the Google results page as HTML, one page per call; page only, searchCount is rejected with raw) |
web_access_sitemap | Crawl a site and map its URLs as an asynchronous job, driven by action |
web_access_report | Send one redacted, credit-free failure diagnostic to String support |
web_access_fetch, web_access_search, and web_access_product_help are read-only. web_access_request writes, and web_access_sitemap creates billed crawl jobs.
The six-tool shape above is what the hosted server at
https://mcp.usestring.ai/v1/mcp
serves. The npm package ships five of them: it includes product help and failure reporting but
omits
web_access_request, sending writes throughweb_access_fetch'smethodandbody
parameters instead.
web_access_sitemap — sitemap crawl jobs
A crawl is a two-phase, asynchronous quote → approve → poll → read job: nothing is crawled or billed until the quote is explicitly approved.
action | What it does | |||
|---|---|---|---|---|
submit | Quote a crawl (url required; maxPages ≤ 10000 default 10, maxDepth ≤ 100 default 2, pathPrefix, budgetUsd, useSitemap optional). Returns jobId + estimatedCostUsd + estimatedPages, status awaiting_approval. | |||
approve | Billing consent — starts the crawl. 402 = insufficient funds; 409 partial_state = retry approve. | |||
status | Poll progress: awaiting_approval → running (pending/processed) → completed \ | failed \ | canceled \ | token_cap_exceeded; partial_state = retry approve. Returns counts only — URLs come from results. |
results | Paginated discovered URLs (limit ≤ 5000 default 1000, offset). Durable after completion; per-URL discoveredUrls is only present for ~1h. | |||
cancel | Stop a non-terminal job; already-fetched pages stay billed and readable. | |||
list | The account's recent crawl jobs (limit ≤ 100 default 20, offset). |
web_access_report — failure diagnostics
Reporting is optional and best-effort. Continue useful recovery first. If reporting remains useful and permitted, send at most one report per distinct failure per task, not per retry. Report exceptions, timeouts, tool errors, or unusable output; exclude usable origin statuses, valid negatives, empty 204 responses, running sitemap jobs, and cancellations. Each reporting attempt has a two-second deadline.
Remove Authorization headers, API keys, cookies, session tokens, personal data, and unrelated conversation content before calling. The server redacts common credential forms again. Never report a web_access_report failure or repeat a failed call only to gather reporting context. Reports use the configured API key for authentication but do not consume Web Access credits. If reporting is unavailable, unauthorized, rate-limited, or fails, stop reporting for the task.
Quick Start
Run with npx
env STRING_AI_API_KEY=your-key npx @usestring/mcp
Install globally
npm install -g @usestring/mcp
STRING_AI_API_KEY=your-key string-ai-mcp
Build from source
git clone https://github.com/usestring/string-ai-mcp.git
cd string-ai-mcp npm install npm run build STRING_AI_API_KEY=your-key node build/index.js
Environment Variables
| Variable | Required | Description |
|---|---|---|
STRING_AI_API_KEY | Yes | Your String AI API key |
Client Configuration
VS Code
Press Ctrl+Shift+P → Preferences: Open User Settings (JSON) and add:
{
"inputs": [ { "type": "promptString", "id": "stringAiKey", "description": "String AI API Key", "password": true } ], "servers": { "string-ai": { "command": "npx", "args": ["-y", "@usestring/mcp"], "env": { "STRING_AI_API_KEY": "${input:stringAiKey}" } } } }
Or add a .vscode/mcp.json file to share the configuration with your team.
Cursor
Open Settings → Features → MCP Servers → + Add new global MCP server and paste:
{
"mcpServers": { "string-ai": { "command": "npx", "args": ["-y", "@usestring/mcp"], "env": { "STRING_AI_API_KEY": "YOUR_API_KEY" } } } }
Windsurf
Add to ~/.codeium/windsurf/model_config.json:
{
"mcpServers": { "string-ai": { "command": "npx", "args": ["-y", "@usestring/mcp"], "env": { "STRING_AI_API_KEY": "YOUR_API_KEY" } } } }
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": { "string-ai": { "command": "npx", "args": ["-y", "@usestring/mcp"], "env": { "STRING_AI_API_KEY": "YOUR_API_KEY" } } } }
Testing with the MCP Inspector
The MCP Inspector lets you test your server interactively in a browser:
npx @modelcontextprotocol/inspector node build/index.js
Then open http://127.0.0.1:6274, connect via stdio, and try calling each tool from the UI.
How It Works
┌──────────────────┐ stdio (JSON-RPC) ┌──────────────────┐ HTTPS ┌──────────────────┐
│ VS Code / Cursor │ ◄──────────────────► │ String AI │ ────────► │ String AI │ │ Windsurf / Claude│ │ Web Access MCP │ │ Web Access API │ └──────────────────┘ └──────────────────┘ └──────────────────┘
- The IDE spawns this server as a child process and communicates over stdio.
- When the LLM decides it needs web content, it invokes
web_access_fetch,web_access_search, orweb_access_sitemap. Every failed call is reported exactly once withweb_access_report, even when recovery later succeeds. - This server forwards the request to String AI's Web Access API (using your API key from the environment) and returns the result to the LLM.
About String AI
String AI provides a web access API that returns any page as clean, LLM-ready Markdown. Get your API key at usestring.ai.
License
MIT
Security
Please report security vulnerabilities privately as described in SECURITY.md.
Maintenance and releases
This server may remain unchanged while its tools meet the documented contract. Maintenance includes checking runtime and MCP compatibility, investigating reported issues, and releasing fixes when needed. Commit frequency alone does not establish whether the server works.
Before shipping a change, run npm test and node scripts/check-versions.mjs. The package declares its supported Node.js versions in package.json; CI builds with Node.js 22. Report compatibility problems through GitHub issues.
The publish workflow records each published npm version as a GitHub release, tagged at the source commit recorded in the npm package metadata. Release notes describe the changes. The release job checks npm directly, so a registry publication failure does not hide a version that users can already install. A manual workflow run can record a missing GitHub release for the current published version without republishing the package or changing its version.
For a historical version whose source predates workflow changes, a maintainer may need to create its source tag first: GitHub limits the workflow token's ability to target older workflow history. The release job verifies that an existing tag matches the published package's source before using it.