MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / ClientByName

Function ClientByName

internal/mcp/client.go:56–63  ·  view source on GitHub ↗

ClientByName returns the spec for a client name, or false when unsupported.

(name string)

Source from the content-addressed store, hash-verified

54
55// ClientByName returns the spec for a client name, or false when unsupported.
56func ClientByName(name string) (ClientSpec, bool) {
57 for _, c := range SupportedClients {
58 if c.Name == name {
59 return c, true
60 }
61 }
62 return ClientSpec{}, false
63}
64
65// ClientNames returns the supported client names in alphabetical order.
66func ClientNames() []string {

Callers 9

ListInstalledMethod · 0.92
AddMethod · 0.92
RemoveMethod · 0.92
InstallFromRegistryMethod · 0.92
clientsForListFunction · 0.92
requireClientFunction · 0.92

Calls

no outgoing calls