MCPcopy
hub / github.com/github/github-mcp-server / SetResources

Method SetResources

pkg/inventory/builder.go:73–76  ·  view source on GitHub ↗

SetResources sets the resource templates for the inventory. Returns self for chaining.

(resources []ServerResourceTemplate)

Source from the content-addressed store, hash-verified

71
72// SetResources sets the resource templates for the inventory. Returns self for chaining.
73func (b *Builder) SetResources(resources []ServerResourceTemplate) *Builder {
74 b.resourceTemplates = resources
75 return b
76}
77
78// SetPrompts sets the prompts for the inventory. Returns self for chaining.
79func (b *Builder) SetPrompts(prompts []ServerPrompt) *Builder {

Calls

no outgoing calls