MCP PHP SDK

SessionFactoryInterface

Factory interface for creating session instances.

This allows for different session implementations and custom initialization logic.

Tags
author

Kyrian Obikwelu koshnawaza@gmail.com

Table of Contents

Methods

create()  : SessionInterface
Creates a new session with an auto-generated UUID.
createWithId()  : SessionInterface
Creates a session with a specific UUID.

Methods


        
On this page

Search results