MCPcopy Index your code
hub / github.com/anomalyco/opencode / oauthServers

Function oauthServers

packages/opencode/src/cli/cmd/mcp.ts:62–66  ·  view source on GitHub ↗
(config: ConfigV1.Info)

Source from the content-addressed store, hash-verified

60}
61
62function oauthServers(config: ConfigV1.Info) {
63 return configuredServers(config).filter(
64 (entry): entry is [string, McpRemote] => isMcpRemote(entry[1]) && entry[1].oauth !== false,
65 )
66}
67
68function listState() {
69 return Effect.gen(function* () {

Callers 2

authStateFunction · 0.85
mcp.tsFile · 0.85

Calls 2

configuredServersFunction · 0.85
isMcpRemoteFunction · 0.85

Tested by

no test coverage detected