Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/anomalyco/opencode
/ mcp.ts
File
mcp.ts
packages/opencode/src/cli/cmd/mcp.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ cmd } from
"./cmd"
2
import
{ ConfigV1 } from
"@opencode-ai/core/v1/config/config"
3
import
{ effectCmd } from
"../effect-cmd"
4
import
{ Cause } from
"effect"
Callers
nothing calls this directly
Calls
15
cmd
Function · 0.90
effectCmd
Function · 0.90
listState
Function · 0.85
configuredServers
Function · 0.85
isMcpRemote
Function · 0.85
authState
Function · 0.85
oauthServers
Function · 0.85
getAuthStatusIcon
Function · 0.85
getAuthStatusText
Function · 0.85
resolveConfigPath
Function · 0.85
addMcpToConfig
Function · 0.85
sync
Method · 0.80
Tested by
no test coverage detected