examples/

directory
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2026 License: Apache-2.0

Directories

Path Synopsis
backend-tools-only
cmd/server command
Command backend-tools-only is the Phase 28 worked example showing Dockyard as a pure-tools MCP server — no MCP App, no UI, just typed tool handlers exposed to an agent host (RFC §2; Phase 28, D-150).
Command backend-tools-only is the Phase 28 worked example showing Dockyard as a pure-tools MCP server — no MCP App, no UI, just typed tool handlers exposed to an agent host (RFC §2; Phase 28, D-150).
internal/contracts
Package contracts holds the tool input/output contracts for the backend-tools-only example (Phase 28).
Package contracts holds the tool input/output contracts for the backend-tools-only example (Phase 28).
internal/handlers
Package handlers implements the backend-tools-only example's tool handlers over a small, in-process bookmarks catalog.
Package handlers implements the backend-tools-only example's tool handlers over a small, in-process bookmarks catalog.
combined-patterns
cmd/server command
Command combined-patterns is the Phase 28 worked example showing analytics-widgets + approval-flows COMPOSED on one MCP App (D-150).
Command combined-patterns is the Phase 28 worked example showing analytics-widgets + approval-flows COMPOSED on one MCP App (D-150).
internal/contracts
Package contracts holds the tool contracts for the combined-patterns example (Phase 28).
Package contracts holds the tool contracts for the combined-patterns example (Phase 28).
internal/handlers
Package handlers implements the combined-patterns example's two tool handlers.
Package handlers implements the combined-patterns example's two tool handlers.
prompts-demo
cmd/server command
Command prompts-demo is the Phase 28 worked example for the Dockyard prompts API (D-151).
Command prompts-demo is the Phase 28 worked example for the Dockyard prompts API (D-151).
internal/contracts
Package contracts holds the tool contract for the prompts-demo example's one tool (Phase 28).
Package contracts holds the tool contract for the prompts-demo example's one tool (Phase 28).
internal/handlers
Package handlers implements the prompts-demo example's one tool (summarize_text) and its three MCP Prompts.
Package handlers implements the prompts-demo example's one tool (summarize_text) and its three MCP Prompts.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL