Documentation
¶
Overview ¶
@index Shared MCP runtime assembly for stdio and HTTP server entry points.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlushQueryCache ¶
FlushQueryCache clears the MCP query cache if it exists. @intent let graph updates invalidate shared MCP cache without coupling to transport packages. @sideEffect cache가 있으면 저장된 질의 결과를 비운다.
Types ¶
type Instance ¶
type Instance struct {
Server *mcpgo.MCPServer
Cache *mcp.Cache
Deps *mcp.Deps
// contains filtered or unexported fields
}
Instance is a fully assembled MCP server plus runtime resources. @intent share MCP server construction while keeping stdio and HTTP transports in separate packages.
type Options ¶
type Options struct {
CacheTTL time.Duration
NoCache bool
OTELEndpoint string
NamespaceRoot string
RepoRoot string
MaxFileBytes int64
MaxTotalParsedBytes int64
ServiceVersion string
RagIndexDir string
RagProjectDesc string
}
Options controls shared MCP runtime setup independent of transport. @intent pass cache, telemetry, namespace, RAG, and parse-limit settings without importing HTTP server code.
Click to show internal directories.
Click to hide internal directories.