MCPcopy
hub / github.com/modelcontextprotocol/registry / CreateServer

Method CreateServer

internal/service/service.go:28–28  ·  view source on GitHub ↗

CreateServer creates a new server version

(ctx context.Context, req *apiv0.ServerJSON)

Source from the content-addressed store, hash-verified

26 GetAllVersionsByServerName(ctx context.Context, serverName string, includeDeleted bool) ([]*apiv0.ServerResponse, error)
27 // CreateServer creates a new server version
28 CreateServer(ctx context.Context, req *apiv0.ServerJSON) (*apiv0.ServerResponse, error)
29 // UpdateServer updates an existing server and optionally its status
30 UpdateServer(ctx context.Context, serverName, version string, req *apiv0.ServerJSON, statusChange *StatusChangeRequest) (*apiv0.ServerResponse, error)
31 // UpdateServerStatus updates only the status metadata of a server version

Implementers 1

registryServiceImplinternal/service/registry_service.go

Calls

no outgoing calls