> 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/data-for-llms/how-do-i-use-model-context-protocol-mcp-with-web-scraper-api.md).

# How do I use Model Context Protocol (MCP) with Web Scraper API?

When using [Web Scraper API](https://oxylabs.io/products/scraper-api/web), you have two options:

1. Continue using the API as before (no changes required).
2. Opt-in for MCP functionality with simple configuration updates.

For Claude Desktop, you can configure through Smithery.ai or UV.

NOTE: The integration is designed for backward compatibility, ensuring existing data pipelines remain functional while new MCP features are enabled.

🧠 See our [documentation](/products/web-scraper-api/solutions-for-ai-workflows/model-context-protocol-mcp.md) and [GitHub](https://github.com/oxylabs/oxylabs-mcp) for specific steps to enable MCP for your projects.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.oxylabs.io/help-center/data-for-llms/how-do-i-use-model-context-protocol-mcp-with-web-scraper-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
