Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServiceClient ¶
func NewServiceClient(ctx context.Context, s svc.Service, opts ...ServiceHandlerOption) (mcpclient.Interface, error)
NewServiceClient returns an mcp client.Interface exposing the given service methods.
Types ¶
type ServiceHandlerOption ¶ added in v0.1.7
type ServiceHandlerOption func(*serviceHandler)
ServiceHandlerOption configures a serviceHandler.
func WithServiceMCPManager ¶ added in v0.1.7
func WithServiceMCPManager(mgr promptdef.MCPManager) ServiceHandlerOption
WithServiceMCPManager injects an MCP manager for MCP-sourced profile rendering.
func WithServiceProfileRepo ¶ added in v0.1.7
func WithServiceProfileRepo(repo profileRepo) ServiceHandlerOption
WithServiceProfileRepo injects a profile repository into the local MCP service handler so clients see prompts/list and prompts/get.
Click to show internal directories.
Click to hide internal directories.