> For the complete documentation index, see [llms.txt](https://doc.thordata.com/doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.thordata.com/doc/scraping/serp-api/integration/mcp-integration/agent-builder-mcp-server-integration.md).

# Agent Builder MCP Server Integration

Connect Thordata MCP Server to OpenAI Agent Builder, select MCP tools, configure an AI agent, and test real-time web data workflows.

Integrate Thordata MCP Server with Agent Builder to give AI agents access to real-time SERP data and structured search results.

Connect OpenAI Agent Builder to the ThorData MCP server (featuring over 60 tools) to build AI agents with real-time web search, scraping, and structured data access capabilities.

**Require:**

* [ThorData account](https://www.thordata.com/)
* OpenAI account with a [verified organization](https://help.openai.com/en/articles/10910291-api-organization-verification)

{% stepper %}
{% step %}
**Create a new process**

Go to the [Agent Builder](https://platform.openai.com/agent-builder) and create a new flow.

<figure><img src="https://1563576391-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8nDscYLNSmSnujUsW4Dv%2Fuploads%2F7lomVDeHriMee5OOabE7%2F1.png?alt=media&#x26;token=70336fd1-0428-42c7-b948-4212c12722e4" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Click the agent node.**

After clicking a agent node, the agent configuration panel will appear on the left side of the screen.

<figure><img src="https://1563576391-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8nDscYLNSmSnujUsW4Dv%2Fuploads%2Fn7EFqLNSORNwEHQpD5Kr%2F2.png?alt=media&#x26;token=d24b36bc-7afb-47e5-bcfd-425833c51711" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Click "Tools" to add MCP.**

<div align="left"><figure><img src="https://1563576391-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8nDscYLNSmSnujUsW4Dv%2Fuploads%2F1ExUrhiAy3JYcvxK81Eu%2F3.png?alt=media&#x26;token=94907973-3581-4679-9c7d-0dea8477f62d" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**Select MCP and add a Web MCP server.**

Copy the following URL and paste it into the URL bar:

Please replace <kbd>YOUR\_USER\_TOKEN</kbd> with your actual **ThorData API Token**.

```
 https://mcp.thordata.net/YOUR_USER_TOKEN/mcp
```

Then click the "Connect" button.
{% endstep %}

{% step %}
**Select the tools you prefer and add them.**

You can select the relevant tools to expose to the agent, or click the "Add" button to add all tools.
{% endstep %}

{% step %}
**Configure the agent, including the name and description.**

Name your agent, provide a set of instructions, select the reasoning difficulty level, and then click the preview button to test it.
{% endstep %}

{% step %}
**Test your agent**

Ask your agent any questions requiring real-time web data to get instant answers.
{% endstep %}

{% step %}
**Monitor usage**

View your API usage in the [ThorData SERP API usage logs](https://dashboard.thordata.com/).
{% endstep %}
{% endstepper %}
