> For the complete documentation index, see [llms.txt](https://developers.make.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.make.com/mcp-server/connect-using-mcp-token/usage-with-openai-api.md).

# Usage with OpenAI API

This guide outlines how to connect Make MCP server to the OpenAI API.&#x20;

### Prerequisites

* [MCP token](/mcp-server/connect-using-mcp-token.md)

### Connect to OpenAI API

To connect Make MCP server to the OpenAI API:

1. Configure your API call with the following:

```sh
curl https://api.openai.com/v1/responses \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $OPENAI_API_KEY" \
  -d '{
  "model": "gpt-4.1",
  "input": "List all available tools.",
  "tools": [
    {
      "type": "mcp",
      "server_label": "make",
      "server_url": "https://<MAKE_ZONE>/mcp/stateless",
      }
    ]
  }'
```

{% hint style="success" %}
If you experience connection issues, you can add  `/stream`  instead of `/stateless` to the end of your connection URL. For SSE, add  `/sse`  instead.&#x20;
{% endhint %}

2. Replace `<MAKE_ZONE>`  with your actual values.

* `MAKE_ZONE` - The zone your organization is hosted in (e.g., `eu2.make.com`).

You've now connected Make MCP server to the OpenAI API.&#x20;


---

# 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.make.com/mcp-server/connect-using-mcp-token/usage-with-openai-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.
