The pieces / weirdnet-mcp

weirdnet-mcp

A transport-agnostic Model Context Protocol tools server and stdio bridge.

GitHub crates.io docs.rs weirdnet-mcp = "0.1"

What it is

A stateless MCP tools server extracted from TAUR and shared with Salty Gull. The HTTP route stays in the app’s server.

What is in it

  • Server::handle: one JSON-RPC 2.0 message or batch plus the caller’s bearer token in, the reply out: initialize with version negotiation, ping, tools/list, tools/call.
  • ToolSpec / Param: static tool tables with input schemas and read-only, destructive and open-world hints.
  • The app implements Tools::call; failures become isError results. args: argument getters with uniform messages.
  • stdio::bridge: the <app>ctl mcp loop that forwards stdio lines to a remote /mcp.

Where it fits

  • Used by TAUR.
  • Extracted from TAUR.
  • License: BSD-3-Clause.