yap-mcp

command
v2.2.2 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package main is the entrypoint for the yap-mcp binary — an MCP (Model Context Protocol) server that exposes yap's package-build capabilities to MCP-compatible clients (Claude Desktop, IDE agents, etc.).

v1 binds the stdio transport. HTTP+SSE is planned but gated for later.

Shutdown semantics: the server exits cleanly when any of these happen:

  • stdin reaches EOF (the SDK's stdio transport Read returns and Run unblocks)
  • SIGINT / SIGTERM is delivered
  • parent process dies (Linux PR_SET_PDEATHSIG → SIGTERM)

Logging: stdout is reserved for the JSON-RPC stream. All log output goes to stderr via pkg/logger. Set YAP_VERBOSE=1 for debug-level frames.

Jump to

Keyboard shortcuts

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