Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/opencode
/ mcp.ts
File
mcp.ts
packages/opencode/src/server/routes/instance/httpapi/handlers/mcp.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ MCP } from
"@/mcp"
2
import
{ Effect, Schema } from
"effect"
3
import
{ HttpApiBuilder, HttpApiError } from
"effect/unstable/httpapi"
4
import
{ InstanceHttpApi } from
"../api"
Callers
nothing calls this directly
Calls
7
add
Method · 0.65
status
Method · 0.45
finishAuth
Method · 0.45
authenticate
Method · 0.45
connect
Method · 0.45
disconnect
Method · 0.45
handle
Method · 0.45
Tested by
no test coverage detected