Octoparse MCP Server

com.octoparse由 octoparse.com 发布官方发布者v1.0.0更新于 Oct 24, 2026

Official Octoparse MCP server for template discovery, cloud tasks, and structured data export.

已验证Streamable HTTP可网页运行网页搜索与抓取数据与分析

概览

AI 生成的概览

Octoparse 官方托管 MCP 服务器,让助手查找采集模板、运行云端任务并导出结构化数据。

可以做什么
  • 按关键词、模板 ID 或 slug 搜索 Octoparse 模板
  • 基于预设模板校验参数并创建、启动云端采集任务
  • 搜索账号中已有任务,并按任务 ID 启动或停止
  • 任务数据就绪后,将结果导出为 JSON、CSV、Excel、HTML 或 XML
  • 兑换用户提供的促销、优惠券或资源码
适用场景
适合让助手运行 Octoparse 预设的云端采集模板并把结果带入对话或导出成文件,例如抓取商品列表并导出为 CSV。不适合创建完全自定义的采集任务、编辑任务配置细节,或运行仅限本地桌面端的任务。
运行要求
需要远程 Streamable HTTP 端点 mcp.octoparse.com,并按 MCP 服务器而非 REST 工具配置。必须认证:OAuth(默认,需浏览器授权流程)或通过 x-api-key 请求头发送 API 密钥。云端运行取决于账号权限及可用积分或配额。
安装前请注意
API 密钥或 OAuth 令牌可访问 Octoparse 账号,请勿放入代码仓库、日志、截图或公开问题中,交互式客户端优先使用 OAuth。相关工具会创建并启动任务、兑换优惠码,会改变账号状态并可能消耗积分或配额。数据经 Octoparse 托管服务从第三方网站采集并导出。

安装

在 SourceWeft 中

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

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "octoparse": {
      "type": "http",
      "url": "https://mcp.octoparse.com/"
    }
  }
}

README

Octoparse MCP Server

[Octoparse] [Docs] [MCP]

English | 日本語

Octoparse MCP Server connects MCP-compatible AI clients to Octoparse so users can discover scraping templates, create cloud tasks from Octoparse preset templates, manage existing tasks, and export structured data.

Hosted Server

Use the hosted Streamable HTTP endpoint:

text
https://mcp.octoparse.com

Configure this as an MCP server endpoint, not as a REST API tool.

Authentication

The hosted server officially supports both OAuth and API key authentication:

  • OAuth: the default option when the MCP client can open a browser authorization flow.
  • API key: an optional authentication method for clients that can send custom HTTP headers.

For API key mode, send the key in the x-api-key header. Do not place real keys in source control, issue reports, screenshots, or shared logs.

Quick Start

Generic HTTP MCP configuration:

json
{  "mcpServers": {    "octoparse": {      "type": "http",      "url": "https://mcp.octoparse.com"    }  }}

Claude OAuth / default authentication:

bash
claude mcp add --transport http octoparse https://mcp.octoparse.com

Claude with API key:

bash
claude mcp add --transport http octoparse https://mcp.octoparse.com --header "x-api-key: YOUR_API_KEY"

Codex CLI:

bash
codex mcp add octoparse --url https://mcp.octoparse.com

Gemini CLI example configuration:

json
{  "mcpServers": {    "octoparse": {      "httpUrl": "https://mcp.octoparse.com",      "oauth": {        "clientId": "Octoparse",        "enabled": true      }    }  }}

After adding the server, complete authorization in the browser if your client prompts for OAuth.

More client examples are in Configuration.

Tools

ToolPurpose
search_templatesFind Octoparse templates by keyword, template ID, or slug.
execute_taskValidate parameters, create a cloud task from an Octoparse preset template, and start extraction.
export_dataExport task results as JSON, CSV, Excel, HTML, or XML when data is ready.
search_tasksSearch existing tasks in the authenticated account.
start_or_stop_taskStart or stop an existing cloud task by task ID.
redeem_coupon_codeRedeem a promotion, coupon, or resource code supplied by the user.

See Tools for inputs, examples, and common failure cases.

Typical Workflow

text
search_templates -> execute_task -> export_data

Example user prompt:

text
Find a cloud-capable Octoparse template for Amazon product listings, run it for wireless earbuds, and export the result as CSV.

For an existing task, use:

text
search_tasks -> export_data

Scheduling, notifications, recurring jobs, and external automations are handled by the MCP client or another automation system. The MCP server exposes task and export tools; it does not provide a standalone scheduler.

Scope

Octoparse MCP Server can:

  • Search the Octoparse template library.
  • Create and run cloud-capable tasks from Octoparse preset templates.
  • Validate template parameters before execution.
  • Export collected data when a task has data available.
  • Search, start, stop, monitor, and export existing cloud-supported tasks, including existing cloud-supported custom tasks.

It does not:

  • Run local-only desktop tasks through the hosted server.
  • Create fully custom scraping tasks.
  • Create or edit custom task configuration details such as custom fields, pagination rules, loop logic, browser workflow, or extraction steps.
  • Upload private templates.
  • Provide billing or account administration tools.
  • Schedule recurring runs by itself.

Common Limits

  • Some templates are local-only and must be run in the Octoparse desktop app.
  • Cloud execution depends on account permissions, available credits or quota, target-site availability, and template support.
  • Long-running tasks may need follow-up calls. If data is still collecting or exporting, wait and call export_data again.
  • Tool availability can be narrowed with includeTools or excludeTools URL parameters. See Overview.

Security

  • Keep API keys and OAuth tokens out of Git, logs, screenshots, and public issues.
  • Use OAuth when possible for interactive clients.
  • Use x-api-key only with clients that store headers securely.
  • Report vulnerabilities privately. See Security.

Documentation

Development

bash
npm installnpm run buildnpm test

For local environment variables, copy .env.example to .env and fill only values needed for your environment. Never commit .env.

Contributing

Contributions are welcome. Please read CONTRIBUTING.md before opening issues or pull requests.

License

MIT. See LICENSE.md.

来源:README.md,提交 3906b5e

工具

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

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 85%

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

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

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

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