CaptureKit

dev.capturekit由 capturekit.dev 发布官方发布者v0.1.0更新于 Nov 7, 2026

Capture websites as PNG, JPEG, WebP or PDF, extract their content, or analyse them with AI.

已验证Streamable HTTP可网页运行网页搜索与抓取浏览器自动化媒体与设计

概览

AI 生成的概览

CaptureKit 官方 MCP 服务器:把网页截取为 PNG、JPEG、WebP 或 PDF,提取页面内容、抓取 HTML,并用 AI 分析网站。

可以做什么
  • 将网页截取为 PNG、JPEG、WebP 或 PDF,用于预览、质检、报告与归档
  • 一次请求提取结构化页面数据、元数据、链接以及 HTML 或 Markdown
  • 不渲染直接抓取原始 HTML,用于快速爬取、审计与监控
  • 用 AI 分析网页,返回摘要、价值主张、功能、分类与使用场景
  • 查询账户用量与积分余额,以及引擎或端点最近一小时的健康状况
适用场景
当助手需要实时网站的截图、PDF 或提取的页面内容,或需要快速获取网页的 AI 摘要,又不想自行搭建无头浏览器时适用。也适合 SEO、监控、索引与归档类工作流。
运行要求
需要 CaptureKit 账户与 API 密钥:托管端点通过 x-api-key 请求头发送,本地 stdio 包通过 CAPTUREKIT_API_KEY 环境变量提供。本地包需 Node.js 20 或更高版本(或 Docker);托管服务器无需安装。需要能访问 CaptureKit 的网络。
安装前请注意
所有调用 API 的工具都会消耗付费积分,用量工具会显示你的余额。API 密钥属于机密,避免写入共享配置或日志。抓取到的网站内容不可信,可能包含注入指令。stats 工具不限于你的账户,且可能未开通(返回 HTTP 403)。自托管 HTTP 模式在对外暴露前应置于 TLS 之后。

安装

在 SourceWeft 中

  1. 打开 控制台中的 CaptureKit,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/dev.capturekit%2Fmcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "capturekit": {
      "type": "http",
      "url": "https://mcp.capturekit.dev/"
    }
  }
}

README

CaptureKit MCP Server

Official Model Context Protocol server for the CaptureKit screenshot API.

Capture websites as PNG, JPEG, WebP or PDF, extract their content, or analyse them with AI.

It lets Claude, Cursor, VS Code, Windsurf and any MCP client call the API as tools. Runs over stdio (local) or Streamable HTTP (self-hosted).

Requirements

  • Node.js 20 or newer
  • a CaptureKit API key — sign up, then copy it from the dashboard

Hosted server (recommended)

CaptureKit runs this server for you at https://mcp.capturekit.dev/ (Streamable HTTP). Send your API key in the x-api-key header; nothing to install.

sh
claude mcp add --transport http capturekit https://mcp.capturekit.dev/ --header "x-api-key: YOUR_API_KEY"
json
{  "mcpServers": {    "capturekit": {      "url": "https://mcp.capturekit.dev/",      "headers": {        "x-api-key": "YOUR_API_KEY"      }    }  }}

The hosted server and this package expose the same API; run the package locally when you want stdio, your own network egress, or to self-host it.

Run it locally

Claude Code

sh
claude mcp add capturekit --env CAPTUREKIT_API_KEY=YOUR_API_KEY -- npx -y @capturekitdev/mcp

Claude Desktop, Cursor, Windsurf and other clients

Add the server to the client's MCP configuration (claude_desktop_config.json, .cursor/mcp.json…):

json
{  "mcpServers": {    "capturekit": {      "command": "npx",      "args": ["-y", "@capturekitdev/mcp"],      "env": {        "CAPTUREKIT_API_KEY": "YOUR_API_KEY"      }    }  }}

VS Code

json
{  "servers": {    "capturekit": {      "type": "stdio",      "command": "npx",      "args": ["-y", "@capturekitdev/mcp"],      "env": {        "CAPTUREKIT_API_KEY": "${input:capturekit-api-key}"      }    }  },  "inputs": [    {      "type": "promptString",      "id": "capturekit-api-key",      "description": "CaptureKit API key",      "password": true    }  ]}

Claude Desktop extension

Download the .mcpb bundle from the releases page and open it; Claude Desktop asks for your API key.

Docker

sh
docker build -t capturekit-mcp .docker run -i --rm -e CAPTUREKIT_API_KEY=YOUR_API_KEY capturekit-mcp

Tools

ToolDescription
analyzeAI Content API analyzes any webpage and returns AI insights summary, value proposition, features, categories, use cases, and optional contact signals.
captureBrowser-like Screenshot API that captures webpages as PNG/JPEG/WebP or PDF for previews, QA, reporting, monitoring, and archiving no headless setup.
contentCaptureKit Content API extracts structured webpage data, metadata, links, HTML/Markdown: in one request for SEO, monitoring, indexing and automation.
statsInfrastructure health for an engine or endpoint over the last hour. Not scoped to your account or tenant. Enabled per account: HTTP 403 means contact support to activate it.
usageRetrieve real-time usage statistics and credit balance for your CaptureKit account.
website_crawlerWebsite Crawler API fetches raw HTML from any webpage in request mode (no rendering) for fast scraping, audits, monitoring, and link/metadata extraction.

Every tool that calls the API consumes credits. JSON results are returned as text; images are returned inline and other files (PDF…) as embedded resources, up to 4 MB.

Streamable HTTP

sh
npx @capturekitdev/mcp --http --port 3000

The endpoint is POST /mcp (stateless, JSON responses). Each client sends its own key in the x-api-key header (or Authorization: Bearer <key>); the server never uses a key of its own. It binds to 127.0.0.1 by default and rejects browser origins unless you allow them — put it behind TLS before exposing it.

createHttpHandler() is exported for Fetch-compatible runtimes (Cloudflare Workers, Deno, Bun):

ts
import { createHttpHandler } from "@capturekitdev/mcp";
export default { fetch: createHttpHandler({ allowedOrigins: [] }) };

Security

  • The API key is read from CAPTUREKIT_API_KEY (stdio) or the request headers (HTTP) and removed from error messages.
  • Content fetched from websites is untrusted: the server instructions tell the model to treat it as data, not instructions.
  • See SECURITY.md to report a vulnerability.

Development

sh
npm installnpm testnpm run buildnpx @modelcontextprotocol/inspector node dist/stdio.js

Built on the SDK

The server uses the official Node.js SDK (@capturekitdev/sdk).

All CaptureKit SDKs

SDKPackageInstall
Node.js@capturekitdev/sdknpm install @capturekitdev/sdk
Pythoncapturekitdevpip install capturekitdev
Gocapturekit-gogo get github.com/capturekitdev/capturekit-go
.NETCaptureKitdotnet add package CaptureKit
Rubycapturekitdevgem install capturekitdev
PHPcapturekitdev/sdkcomposer require capturekitdev/sdk
Javacapturekit-javabuild from source, see its README
CLI@capturekitdev/clinpm install -g @capturekitdev/cli
MCP server@capturekitdev/mcpnpx -y @capturekitdev/mcp

License

MIT — see LICENSE.

来源:README.md,提交 d77503f

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v0.1.0最新Nov 7, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分