Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoEnroll ¶
func AutoEnroll(ctx context.Context, addr, configDir string) (certPath, keyPath, caPath string, err error)
AutoEnroll registers with jniservice if no certs exist in configDir. It connects using TLS with InsecureSkipVerify (no client cert needed for Register). Returns paths to the cert, key, and CA files.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server wraps the go-sdk MCP server, providing tool and resource registrations that bridge MCP clients to the jniservice gRPC backend.
func NewServer ¶
func NewServer(conn *grpc.ClientConn, log *slog.Logger) *Server
NewServer creates the MCP server and registers all tools and resources.
Click to show internal directories.
Click to hide internal directories.