weirdnet-mcp 0.1.0

Weirdnet MCP: a transport-agnostic Model Context Protocol (JSON-RPC 2.0) tools server with tool specs, annotations, argument helpers and a stdio-to-HTTP bridge loop (extracted from TAUR).
Documentation
  • Coverage
  • 100%
    55 out of 55 items documented0 out of 24 items with examples
  • Size
  • Source code size: 24.6 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 389.6 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • WeirdBrains/weirdnet-mcp
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • m3talsmith

weirdnet-mcp

A transport-agnostic Model Context Protocol tools server, extracted from TAUR and shared with Salty Gull.

  • Server::handle takes one decoded JSON-RPC 2.0 message (or batch) plus the caller's bearer token and returns the reply (or nothing for notifications): initialize with version negotiation (2025-06-18, 2025-03-26, 2024-11-05), ping, tools/list, tools/call.
  • ToolSpec / Param: static tool tables with input schemas and readOnlyHint, destructiveHint, openWorldHint; tools that need auth say "Requires a bearer token.".
  • The app implements Tools::call; failures become isError tool results.
  • args: argument getters with uniform messages.
  • stdio::bridge: the <app>ctl mcp loop that forwards stdio lines to a remote /mcp.

The HTTP route (stateless streamable HTTP, JSON responses) stays in the app's server.

License

BSD-3-Clause.