MCPcopy
hub / github.com/TanStack/ai / OpencodeMcpServer

Interface OpencodeMcpServer

packages/ai-opencode/src/adapters/projection.ts:70–75  ·  view source on GitHub ↗

An OpenCode `remote`-type MCP server entry (mirrors OPENCODE_CONFIG_CONTENT shape).

Source from the content-addressed store, hash-verified

68
69/** An OpenCode `remote`-type MCP server entry (mirrors OPENCODE_CONFIG_CONTENT shape). */
70interface OpencodeMcpServer {
71 type: 'remote'
72 url: string
73 enabled: boolean
74 headers: Record<string, string>
75}
76
77/**
78 * Build the `mcp` section of OpenCode's `opencode.json` from the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected