mcpcmd

package
v1.102.5 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2026 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package mcpcmd implements `lux mcp` — an agent's door onto a running node.

The node serves MCP over ZAP: frames on a socket, no HTTP listener, no request, no status code. An MCP client (Claude Code, an editor, an agent runtime) speaks the same protocol over stdin and stdout. Those are two renderings of ONE value — zapmcp.Frame marshals as the ZAP wire and as the JSON-RPC 2.0 message — so this command is a relay and not a translation: it reads a frame from one side and writes it to the other, and reads nothing inside it.

That is why there is no HTTP anywhere in here, and why there is no tool list either. The tools are the node's typed ops, projected by the node, and a copy of them on this side would be one more thing to drift.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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