Connect the MultitaskAI MCP server to OpenAI Responses API
The OpenAI Responses API can call remote MCP servers as tools. Add an mcp tool with the MultitaskAI URL as server_url and your key in authorization.
Endpoint
Text
https://mcp.multitaskai.com
Steps
- Create an API key in your MultitaskAI account.
- Add an mcp tool to your Responses API request with the endpoint as server_url and your key in authorization.
- Set require_approval to never, or answer the approval requests your app receives.
- Send the request and check the output for mcp_list_tools and mcp_call items.
Shell
curl https://api.openai.com/v1/responses \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d '{
"model": "gpt-6-astra",
"tools": [
{
"type": "mcp",
"server_label": "multitaskai",
"server_url": "https://mcp.multitaskai.com",
"authorization": "YOUR_API_KEY",
"require_approval": "never"
}
],
"input": "List my MultitaskAI tools."
}'
Authentication
OpenAI Responses API sends your MultitaskAI API key in the Authorization header. Create a key in your account and use it in place of YOUR_API_KEY. Keep the key out of files you share or commit.
Text
Authorization: Bearer YOUR_API_KEY
Good to know
- authorization takes the bare key, without the Bearer prefix; OpenAI does not store it, so send it on every request.
- OpenAI calls the server from its own infrastructure, so the endpoint must be reachable from the internet.
- Approval is asked by default; set require_approval to never to skip it.
- allowed_tools limits which tools are imported.
Official documentation
The OpenAI MCP documentation covers OpenAI Responses API's own settings in detail. See the overview for the endpoint and authentication, and pricing for the daily free requests.