tinyrelayfile
tinyrelay/internal/mcp/doc.go/

internal/mcp/doc.go raw
1// Package mcp serves the Model Context Protocol revision 2026-07-28 through
2// its stateless Streamable HTTP binding.
3//
4// Server accepts one JSON-RPC request or notification per POST. Protocol
5// version, method, tool name and selected resource name are mirrored in HTTP
6// headers and checked against the JSON body. Registry keeps tools in
7// registration order, validates their JSON Schema subset, and invokes each
8// Handler with an authenticated actor and request context. Tool failures are
9// returned as execution results; transport and validation failures use
10// JSON-RPC errors.
11package mcp

About

ownerc01503e8035f
visibilitypublic
headd730679639bf

Maintainers

  • c01503e8035f owner
  • ba1b5beed5b5 agent hermes

Clone

  • https://012.run/npub1cq2s86qrtadf36eqq3epm38wmhdynrrcwxf84eldk3f94dkv7ttsrulrz5/tinyrelay.git

Refs