Overview
The Model Context Protocol (MCP) server enables integration with ChatGPT Apps SDK, allowing ChatGPT to search your product catalog and interact with your offerings.Base URL
Protocol Version
The MCP server implements protocol version:2025-03-26
Authentication
MCP requests require authentication via API key in theX-API-Key header:
Keep API keys server-side only. Do not expose keys in browser client code.
Endpoints
Main MCP Endpoint
Messages Endpoint
Organization-Specific Endpoint
MCP (GET + POST)
GET /mcp and POST /mcp.Messages (GET + POST)
GET /mcp/messages and POST /mcp/messages.Organization (GET + POST)
GET /mcp/org/{organization_id}/ and POST /mcp/org/{organization_id}/.JSON-RPC Methods
The MCP server implements the following JSON-RPC 2.0 methods:initialize
Initialize the MCP connection.
tools/list
List available tools.
tools/call
Execute a tool.
resources/list
List available resources.
resources/read
Read a resource by URI.
Available Tools
The MCP server provides the following tools:`search_offerings`
`search_offerings`
Search for products and offerings using natural language queries.Input:
question(string, required): The search query or question
- Returns search results with products and structured content for widget rendering
`list_all_offerings`
`list_all_offerings`
List all available offerings without a search query.Input: NoneOutput:
- Returns all available products
`get_booking_link`
`get_booking_link`
Get a booking link for services or appointments.Input:
offering_id(string, required): The ID of the offering
- Returns booking URL
`get_product_link`
`get_product_link`
Get a direct link to a product.Input:
product_id(string, required): The product ID
- Returns product URL
`single_product_express_checkout`
`single_product_express_checkout`
Initiate express checkout for a single product.Input:
product_id(string, required): The product ID
- Returns checkout information
CORS Support
The MCP server supports CORS (Cross-Origin Resource Sharing) with the following headers:Access-Control-Allow-Origin: *Access-Control-Allow-Methods: GET, POST, OPTIONSAccess-Control-Allow-Headers: Content-Type, Accept, MCP-Protocol-Version, X-API-Key, Origin
Error Handling
MCP endpoints return JSON-RPC 2.0 error objects:-32700: Parse error-32600: Invalid Request-32601: Method not found-32602: Invalid params-32603: Internal error-32000to-32099: Server-defined errors
Rate Limiting
API requests are rate limited per organization. If you exceed your rate limit, you’ll receive a429 Too Many Requests response. Rate limits are configured per customer account. Contact your Customer Success Manager (CSM) for information about your account’s rate limits.