code wiki / mcp

topic: mcp

44 modules sharing the mcp name family (derived from the tree's prefix discipline).

The 'mcp' topic family in the Nishi sovereign ecosystem provides tools for managing MCP (Message Control Protocol) interactions within the system. The nx_mcp module serves as the sovereign MCP client, replacing older Python and PowerShell scripts. nx_mcp_call enables secure JSON-RPC calls over TLS-1.3, while nx_mcp_coverage ensures API exposure is properly monitored and controlled. These modules work together to maintain secure, efficient, and compliant MCP operations across the ecosystem.

auto-narrated by the local model from this topic's module headers; links verified against the wiki index.

narrated overview -- maintained by the narration lane, module links verified against this wiki.

moduledescriptionlinesfuncs
nx_mcp.nxTHE SOVEREIGN MCP CLIENT. Retires nishi-ops/nxmcp.py (Python) and nxfsedit.ps12499
nx_mcp_authenticated_gate.nxFresh native stdio read-only authenticated roundtrip using existing HTTPS fixture.762
nx_mcp_body_gate.nxLANE K 2026-08-23. Referee for the MCP-wire body-read root fix in40017
nx_mcp_call.nxthe SOVEREIGN MCP client: POST a JSON-RPC tools/call to /mcp over our own TLS-1.3 and PRINT27414
nx_mcp_control.nxBorrowed MCP control metadata. JSON stays at the boundary; no value tree1803
nx_mcp_control_gate.nx221
nx_mcp_coverage.nxTHE STANDING MCP/API EXPOSURE COVERAGE ORGAN (operator 2026-07-16: make2006
nx_mcp_coverage_gate.nxgate for the standing MCP/API exposure coverage organ.542
nx_mcp_edge_boundary_gate.nx442
nx_mcp_envelope.nxNative MCP envelope selection. Reuses the estate value parser.622
nx_mcp_envelope_gate.nx303
nx_mcp_http_envelope_gate.nx242
nx_mcp_http_gate.nx513
nx_mcp_http_gate_t174.nx503
nx_mcp_https_gate.nx536
nx_mcp_https_gate_t175.nx536
nx_mcp_pending.nxMCP-specific identity ownership over the generic process pool.56733
nx_mcp_pending_candidate_t230.nxMCP-specific identity ownership over the generic process pool.56733
nx_mcp_pending_http_t174.nxMCP-specific identity ownership over the generic process pool.39320
nx_mcp_queue_canonical_gate_t230.nxManages JSON-RPC request queues with cancellation, budgeting, and recovery mechanisms for MCP gateways.753
nx_mcp_queue_gate_t230.nxManages JSON-RPC request queuing, cancellation, and worker recovery in a distributed system.753
nx_mcp_queue_stdio_canonical_gate_t230.nxTests MCP queue behavior with JSON-RPC input and checks output for expected responses and error conditions.743
nx_mcp_queue_stdio_gate_t230.nxSends JSON-RPC requests to a tool lister and checks responses for expected outcomes.743
nx_mcp_queue_stdio_recheck_t236.nxTests MCP admission recheck with stdio by executing a tool and verifying output and event logs.743
nx_mcp_route.nxCredential routing is explicit configuration; the remote capability verifier remains authoritative.1277
nx_mcp_route_archive_gate_t160.nxValidates and configures route authorization policies for the Nishi sovereign ecosystem.582
nx_mcp_route_auth_read_gate_t1.nxValidates and configures route authorization policies for the Nishi sovereign ecosystem.482
nx_mcp_route_auth_read_t1.nxCredential routing is explicit configuration; the remote capability verifier remains authoritative.1277
nx_mcp_route_json_canonical_gate_t160.nxValidates and configures route authorization policies for the Nishi sovereign ecosystem.2336
nx_mcp_route_json_gate_t160.nxValidates and configures route authorization policies for the Nishi sovereign ecosystem.2336
nx_mcp_route_json_t160.nxCredential routing is explicit configuration; the remote capability verifier remains authoritative.1277
nx_mcp_sse.nxMCP response decoding belongs to the native stdio transport, before protocol output.1276
nx_mcp_sse_gate_t316.nxTests message stream decoding, HTTP parsing, chunking, and overflow handling in the Nishi sovereign ecosystem.885
nx_mcp_sse_live_gate_t316.nx321
nx_mcp_sse_pool_gate_t316.nx595
nx_mcp_stdio.nxMCP stdio to sovereign HTTPS. The server remains the authority for discovery and capability checks.4137
nx_mcp_stdio_candidate_t230.nxMCP stdio to sovereign HTTPS. The server remains the authority for discovery and capability checks.4187
nx_mcp_stdio_gate.nxlane conn, 2026-09-11.1974
nx_mcp_stdio_gate_t174.nxlane conn, 2026-09-11.1974
nx_mcp_stdio_http_t174.nxMCP stdio to sovereign HTTPS. The server remains the authority for discovery and capability checks.4036
nx_mcp_stdio_samepool_gate_t161.nxlane conn, 2026-09-11.1974
nx_mcp_stdio_sse_t316.nxMCP stdio to sovereign HTTPS. The server remains the authority for discovery and capability checks.4137
nx_mcp_transport.nxthe SOVEREIGN MCP client: POST a JSON-RPC tools/call to /mcp over our own TLS-1.3 and PRINT22316
nx_mcp_transport_gate.nx221