> For the complete documentation index, see [llms.txt](https://developers.oxylabs.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.oxylabs.io/help-center/cn/mian-xiang-llm-de-shu-ju/how-does-model-context-protocol-mcp-standardize-data-for-llms.md).

# 模型上下文协议（MCP）如何为 LLM 标准化数据？

了解 MCP 如何让 AI 模型以一致的方式处理网页数据。

模型上下文协议（MCP）标准化了 AI 模型如何连接到工具和数据源。工具是有类型的，具有定义好的名称和输入集，任何 MCP 客户端都可以用相同方式调用它们。

使用 Oxylabs 的 MCP 服务器用于 [Web API](https://developers.oxylabs.io/products/web-api)，你的模型会以这种格式获得 search 和 scrape 工具。页面内容会以 Markdown 返回；当你提取特定字段时，则会以 JSON 返回。无需手动重新格式化。

### **工作原理**

* 将你的 MCP 客户端连接到用于 Web API 的 Oxylabs MCP 服务器。
* 你的模型会按需调用 search 和 scrape 工具。
* Web API 会以 Markdown 或 JSON 返回结果。

🧠 要进行设置，请查看 [MCP 服务器文档](https://developers.oxylabs.io/ai-workflows/mcp) 和 [GitHub](https://github.com/oxylabs/web-api-mcp).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developers.oxylabs.io/help-center/cn/mian-xiang-llm-de-shu-ju/how-does-model-context-protocol-mcp-standardize-data-for-llms.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
