localclient

package
v0.1.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL