Cursor
将 Scrapeless MCP 连接到 Cursor IDE。你需要准备好你的 Scrapeless API token。
设置
- 打开 Cursor,进入
Settings→MCP→Add new global MCP server(这会打开~/.cursor/mcp.json)。你也可以在工作区中创建一个项目级的.cursor/mcp.json。 - 添加 Scrapeless 服务器:
{
"mcpServers": {
"Scrapeless MCP Server": {
"command": "npx",
"args": ["-y", "scrapeless-mcp-server"],
"env": {
"SCRAPELESS_KEY": "YOUR_SCRAPELESS_KEY"
}
}
}
}- 保存文件。Cursor 会在
Settings→MCP下列出该服务器;如有需要,将其开启。 - 在 Chat/Composer(Agent 模式)中,让 Cursor 使用网络——例如:
- “在 Google 上搜索此错误的解决方案,并总结排名靠前的结果。”
- “抓取此页面的 HTML。”
Cursor 会在后台调用 Scrapeless。
若要使用托管端点而非本地进程,请使用 Authentication and Transports 中的 Streamable HTTP 配置。