﻿---
title: "网页 Site tools 是 WebMCP，不要当成 config.toml 里的 MCP"
summary: "桌面内置浏览器里，站点自己登记工具。GPT-5.6 Sol / Terra 才有；Luna、Enterprise / Edu 没有。关站或跳走，工具就没了。"
category: mcp
level: intermediate
surfaces: [app]
tags: ["WebMCP", "浏览器", "桌面"]
canonical: /tips/webmcp-site-tools-not-mcp/
---

# 网页 Site tools 是 WebMCP，不要当成 config.toml 里的 MCP

桌面内置浏览器里，站点自己登记工具。GPT-5.6 Sol / Terra 才有；Luna、Enterprise / Edu 没有。关站或跳走，工具就没了。

打开桌面内置浏览器，地址栏选 Site tools。提示示例：

```text
Use @Edge to read the current page and turn it into a concise checklist.
Find the documentation for building reusable skills, open the relevant page, and explain when I should turn a skill into a plugin.
```

Learn / Developers 文档页会提供 `search_openai_docs`、`lookup_page` 这类工具。这不是 `codex mcp add`：不用另装服务器，但工具跟当前页面走，iframe 里登记的发现不了。

关掉：Settings > Browser > Permissions > Enable site tools。站点给的工具定义和结果都是不信任内容。有专用 MCP / 插件时，不要靠网页工具去扒数据。

给自己的站点加只读工具：

```javascript
if (typeof document.modelContext?.registerTool === "function") {
  await document.modelContext.registerTool({
    name: "get_page_title",
    description: "Read the title of the current page.",
    inputSchema: { type: "object", properties: {}, additionalProperties: false },
    annotations: { readOnlyHint: true },
    execute: async () => ({ title: document.title }),
  });
}
```

## 来源

- [OpenAI · Site tools](https://learn.chatgpt.com/docs/webmcp)
