Documentation
¶
Overview ¶
Package servercaps builds the capabilities the platform's MCP server declares, explicitly rather than by the SDK's inference, so the server's contract is visible in one place. It was taken out of the platform facade for that package's size budget; the facade decides what is on and this package states what that declares.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build(in Input) *mcp.ServerCapabilities
Build returns the capabilities in describes.
Types ¶
type Input ¶
type Input struct {
// Resources is true when resource templates, managed resources or custom
// resources are configured.
Resources bool
// Prompts is true when prompts are configured or the knowledge layer
// serves them.
Prompts bool
// Tasks is true where the MCP Tasks extension is offered (#2009).
Tasks bool
}
Input is what the capabilities are decided by.
Click to show internal directories.
Click to hide internal directories.