feature-mcp-connect advanced
Everything else the package exports, for when you go beyond its components and hooks, such as your own queries or cache updates. Most projects never need these.
Other functions and constants4
connectTicketStep | The proxy step that takes the authorization request off the URL before any page loads. @evolve-storefront/feature-mcp-connect/proxy |
CONNECT_PARAM | Marks the page a ticket was moved off, so a page only offers to connect when the customer just arrived to. @evolve-storefront/feature-mcp-connect/proxy |
CONNECT_TICKET_COOKIE | Where the authorization request waits while the customer signs in. @evolve-storefront/feature-mcp-connect/proxy |
createConnectFlow | The storefront's side of connecting an AI assistant: a session of the client's own, kept in a sealed HttpOnly cookie until the customer consents. @evolve-storefront/feature-mcp-connect/server |
Types16
ConnectChoice | One option of a ConnectSelection.@evolve-storefront/feature-mcp-connect |
ConnectConsentDetails | What the consent screen shows for one authorization request. @evolve-storefront/feature-mcp-connect |
ConnectCookies | The cookie store of a request, as cookies() from next/headers gives it.@evolve-storefront/feature-mcp-connect |
ConnectDocumentId | Resolves the persisted-document id, where the router only runs trusted ones. @evolve-storefront/feature-mcp-connect |
ConnectGatewayResult | The result of one gateway request for a connecting client. @evolve-storefront/feature-mcp-connect |
ConnectRequest | Who asks to connect, and for what. @evolve-storefront/feature-mcp-connect |
ConnectSelectionField | A selection as the consent screen shows it. @evolve-storefront/feature-mcp-connect |
ConnectSession | A gateway session, which the MCP service keeps sealed for its client. @evolve-storefront/feature-mcp-connect |
ConnectStore | The store a session is created in. @evolve-storefront/feature-mcp-connect |
ConnectFlow | @evolve-storefront/feature-mcp-connect/server |
ConnectGateway | Sends a document to the gateway, without any cookie of the visitor's. @evolve-storefront/feature-mcp-connect/server |
ConnectSelection | A choice the customer makes while connecting, such as the company to act for. @evolve-storefront/feature-mcp-connect/server |
ConsentAnswer | @evolve-storefront/feature-mcp-connect/server |
ConnectFormBinding | What a login form needs while a client connects: the shape of LoginFormBinding from feature-auth, so it spreads onto LoginFormView.@evolve-storefront/feature-mcp-connect/hooks |
ConnectConsentScopeRenderer | Renders what one scope lets the client do, in the customer's words. @evolve-storefront/feature-mcp-connect/connect-consent |
ConnectConsentSelectionRenderer | Renders one selection. @evolve-storefront/feature-mcp-connect/connect-consent |
Not listed: 12 props and options types. They appear as the tables on the pages of what they type.

