Directories
¶
| Path | Synopsis |
|---|---|
|
Package app wires the ports to the adapters: the use cases behind each CLI command.
|
Package app wires the ports to the adapters: the use cases behind each CLI command. |
|
Package audit is the driven adapter for evidence: one JSON object per governed action, appended to a JSONL file.
|
Package audit is the driven adapter for evidence: one JSON object per governed action, appended to a JSONL file. |
|
Package config is the driven adapter for the JSON config file — the only state toolhost keeps.
|
Package config is the driven adapter for the JSON config file — the only state toolhost keeps. |
|
Package core holds the domain model and the ports that adapters implement.
|
Package core holds the domain model and the ports that adapters implement. |
|
Package frontdoor is the driving adapter: the HTTP+MCP surface agents connect to.
|
Package frontdoor is the driving adapter: the HTTP+MCP surface agents connect to. |
|
Package namespace owns the qualified-tool-name grammar: backend + "__" + tool.
|
Package namespace owns the qualified-tool-name grammar: backend + "__" + tool. |
|
Package oauth is the driven adapter for upstream OAuth: it builds the go-sdk OAuthHandlers (client-credentials via extauth, auth-code+PKCE via auth.AuthorizationCodeHandler) and owns the on-disk token store that lets `serve` run unattended after `toolhost mcp auth` granted once.
|
Package oauth is the driven adapter for upstream OAuth: it builds the go-sdk OAuthHandlers (client-credentials via extauth, auth-code+PKCE via auth.AuthorizationCodeHandler) and owns the on-disk token store that lets `serve` run unattended after `toolhost mcp auth` granted once. |
|
Package upstream is the driven adapter for backend MCP servers: it turns a config.Backend into a live core.Upstream over the go-sdk client.
|
Package upstream is the driven adapter for backend MCP servers: it turns a config.Backend into a live core.Upstream over the go-sdk client. |
Click to show internal directories.
Click to hide internal directories.