Documentation
¶
Index ¶
- func BuildSkillsPrompt(user *model.User) string
- func CreateAuthProvider(remoteServer config.MCPRemoteServerConfig) mcp.AuthProvider
- func FromToml(tomlStr string) ([]mcppkg.Parameter, error)
- func InitializeMCPServer(routes *http.ServeMux, enableWebEndpoint bool, mcpConfig *config.MCPConfig) *mcp.Server
- func NewScriptToolsProvider(user *model.User) *scriptToolsProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildSkillsPrompt ¶ added in v0.23.6
BuildSkillsPrompt returns a skills section to append to the system prompt, or an empty string if the user has no accessible active skills.
Skills are fetched directly from the database (not via the management API) so that both global and user-owned skills are included, zone restrictions are enforced, and group-based access control is applied.
func CreateAuthProvider ¶ added in v0.23.0
func CreateAuthProvider(remoteServer config.MCPRemoteServerConfig) mcp.AuthProvider
CreateAuthProvider creates an MCP authentication provider from configuration
func FromToml ¶ added in v0.23.0
FromToml parses a TOML schema definition and returns MCP parameters
func InitializeMCPServer ¶
func NewScriptToolsProvider ¶ added in v0.23.0
NewScriptToolsProvider creates a new script tools provider for a user Returns all tools (native and discoverable) with their visibility set
Types ¶
This section is empty.