Directories
¶
| Path | Synopsis |
|---|---|
|
auth
|
|
|
di implements a simple generic dependency injection container.
|
di implements a simple generic dependency injection container. |
|
mcp
|
|
|
authz
Package authz authorizes each upstream call at the moment it is sent.
|
Package authz authorizes each upstream call at the moment it is sent. |
|
callstate
Package callstate answers whether the CALLER ended a call, as opposed to the MCP service's own tool-call ceiling.
|
Package callstate answers whether the CALLER ended a call, as opposed to the MCP service's own tool-call ceiling. |
|
common
Package common holds the constants shared by the MCP resource-server, middleware and authorization packages under pkg/mcp.
|
Package common holds the constants shared by the MCP resource-server, middleware and authorization packages under pkg/mcp. |
|
config
Package config holds the configuration types an MCP resource server embeds into its own configuration struct.
|
Package config holds the configuration types an MCP resource server embeds into its own configuration struct. |
|
guidance
Package guidance is a reusable engine for a small catalog of embedded markdown "guidance" documents served over MCP: it parses a flat directory of front-matter'd .md files, validates the corpus at build time, and exposes it as MCP resources.
|
Package guidance is a reusable engine for a small catalog of embedded markdown "guidance" documents served over MCP: it parses a flat directory of front-matter'd .md files, validates the corpus at build time, and exposes it as MCP resources. |
|
middleware
Package middleware holds the receiving-side MCP middlewares an MCP resource server installs: request logging, tools/call authorization (Auth) and tools/list visibility filtering (Visibility).
|
Package middleware holds the receiving-side MCP middlewares an MCP resource server installs: request logging, tools/call authorization (Auth) and tools/list visibility filtering (Visibility). |
|
rs
Package rs is an MCP service's OAuth 2.1 Resource Server HTTP surface: the RFC 9728 discovery endpoint and the bearer-authn middleware on /mcp.
|
Package rs is an MCP service's OAuth 2.1 Resource Server HTTP surface: the RFC 9728 discovery endpoint and the bearer-authn middleware on /mcp. |
|
tool
Package tool is the registration framework for an MCP service's tools: each tool declares, in one place, its name, the upstream routes its arguments can reach, its behaviour hint, and how it attaches to the server.
|
Package tool is the registration framework for an MCP service's tools: each tool declares, in one place, its name, the upstream routes its arguments can reach, its behaviour hint, and how it attaches to the server. |
Click to show internal directories.
Click to hide internal directories.