This topic was automatically generated from Slack. You can find the original thread here.
Hi team!
I’m having trouble testing the MCP integration with OpenAI using curl/Postman and need some guidance.
Issue: When following the MCP documentation for OpenAI integration, I’m getting this error from OpenAI’s API:
text
{
"error": {
"message": "Missing required parameter: 'tools[0].function'.",
"type": "invalid_request_error",
"param": "tools[0].function",
"code": "missing_required_parameter"
}
}
What I’m trying: Using the exact curl example from your docs (Using Pipedream MCP with OpenAI — Pipedream) with the MCP tool format:
json
"tools": [
{
"type": "mcp",
"server_label": "Notion",
"server_url": "https://remote.mcp.pipedream.net",
"headers": { ... },
"require_approval": "never"
}
]
- Does the standard OpenAI API actually support
"type": "mcp"
tools, or is this only available in OpenAI’s playground? - Should I be using a different endpoint or API version for MCP integration?
- Is there a working curl/Postman example that actually works with the current OpenAI or other LLM APIs?
My setup: All environment variables are properly configured (ACCESS_TOKEN, PIPEDREAM_PROJECT_ID, etc.) and I can successfully authenticate with both Pipedream and OpenAI APIs individually.
Any clarification on the correct way to test Pipedream MCP tools with OpenAI or Gemini APIs would be super helpful!