Data Product MCP lifecycle
See how a Data Product MCP session initializes, operates, and ends.
When an AI host adds Data Product MCP, the MCP client and server follow a three-phase lifecycle.
Initialization
Initialization runs once at the start of every session.
The MCP client sends its supported protocol version and capabilities. Data Product MCP responds with its version, server details, and supported capabilities, including the tool catalog.
The client reads that catalog and makes the available tools visible to the model. No tool calls happen in this phase.
If the client and server cannot agree on a compatible protocol version, the session does not proceed.
Operation
Operation is the active phase. All Data Product MCP work happens here.
The model receives the user's prompt and the tool descriptions negotiated during initialization. When the model decides a Data Product tool is needed, it requests the tool call through the MCP client.
The client sends a structured JSON-RPC request to Data Product MCP. The server validates identity, applies DataOS authorization and policies, calls the appropriate Data Product API, and returns a structured response.
A single user question may trigger several tool calls in sequence. For example, the assistant may search for a Data Product, then check its quality status, then run a query against it.
Shutdown
Shutdown ends the session.
MCP does not require a dedicated shutdown message. The session ends when the underlying transport closes.
For HTTP-based connections, this happens when the connection is released. After shutdown, no further tool calls can be made. A new session starts with a fresh initialization phase.
Last updated
Was this helpful?