Documentation
¶
Overview ¶
Package mcpserver serves Codog tools through the Model Context Protocol.
Package mcpserver exposes Codog tools, prompts, and local resources through a minimal stdio MCP server.
Index ¶
- func ExposedTools(registry *tools.Registry) []map[string]any
- func LocalPrompts() []map[string]any
- func LocalResourceTemplates() []map[string]any
- func LocalResources(opts Options) []map[string]any
- func Serve(ctx context.Context, in io.Reader, out io.Writer, registry *tools.Registry, ...) error
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExposedTools ¶
ExposedTools returns tool definitions that are safe to expose over MCP.
func LocalPrompts ¶
LocalPrompts returns built-in MCP prompts for common workspace tasks.
func LocalResourceTemplates ¶
LocalResourceTemplates returns parameterized resources for workspace-scoped file reads.
func LocalResources ¶
LocalResources returns the static workspace, status, and tool resources advertised by the local MCP server.
Types ¶
Click to show internal directories.
Click to hide internal directories.