ezmcp
Search uses release 0.1.0.0 · 416 definitions
Definitions (416)
- def loopback.ata host of n chars that is a loopback name, then a port
- def loopback.hostwhether what follows the scheme is a loopback host and an optional port
- def loopback.schemea scheme of n chars, then a loopback host
- def loopbackwhether an Origin is a page on this machine: http or https, host localhost, 127.0.0.1 or [::1], and an optional port
- def origin.okwhether an Origin is allowed: an absent one (a client that is not a browser), a page on this machine, or one the server lists
- def version.okwhether an MCP-Protocol-Version header is acceptable: absent, or a revision ezmcp speaks
- def revisionthe revision a request is read by: its MCP-Protocol-Version, or 2025-03-26 when it has none (basic/transports#protocol-version-header)
- def texta plain-text reply
- def post.asa POST read by revision `rev`: the server's step on its body
- def post.oka POST: refused for an unsupported revision, else the server's step under the revision its header names
- def posta POST: the decision on its MCP-Protocol-Version header, empty when absent
- def methodany method but POST is 405
- def origina request whose Origin is not allowed is 403
- def routethe decision over a request's parts: the path first, then the Origin, then the method, then the protocol version (its MCP-Protocol-Version header, empty when absent), then the body
- def decidewhat the transport does with one HTTP request to an endpoint at `path`, which allows the browser origins listed
- def replya Web reply as ezhttp's reply (a Later or a Many never reaches here)