Documentation
¶
Overview ¶
Package server exposes tap's two-tool MCP surface over stdio and HTTP. The SDK answers tools/list and wraps every result, so tap follows whichever MCP revision each client speaks; tap supplies the tools' definitions, argument checks, results and its two JSON-RPC refusals.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
New builds the static two-tool surface for stdio or HTTP, with the settings it was given.
Types ¶
type Backend ¶
type Backend interface {
Listing(context.Context, bool) (wire.Object, error)
Search(context.Context, string, float64, bool) (wire.Object, error)
Call(context.Context, string, any, bool) (wire.Object, error)
CallWithMeta(context.Context, string, any, bool, mcp.Meta) (wire.Object, error)
Discover(context.Context, registry.SearchOptions, bool) (wire.Object, error)
Refresh(context.Context, string, bool) (wire.Object, error)
CallWithOptions(context.Context, string, any, bool, bool, []registry.ArgumentReference, mcp.Meta) (wire.Object, error)
Inspect(context.Context, string, string, int, int, int) (wire.Object, error)
Drop(context.Context, string) (wire.Object, error)
Close()
}
Backend is the shared contract for local engines and remote relays.
Click to show internal directories.
Click to hide internal directories.