Developer tools

Network Protocol Reference

Compare TCP, UDP, HTTPS, and MCP by layer, ports, handshake, security, and typical use. Nothing you enter is sent to BrowserLore.

Runs locally in your browser. This reference is bundled with the page and nothing you type is sent anywhere.
Protocols and filter
Comparison4 protocols · 9 rows
Comparison of TCP, UDP, HTTPS, MCP
AttributeTCPUDPHTTPSMCP
Layer and roleTransport layer. Carries application data inside IP packets and identifies services with port numbers.Transport layer. Adds port numbers and a checksum to IP datagrams with an 8-byte header.Application layer. HTTP request and response semantics protected by TLS.Application layer. JSON-RPC 2.0 messages exchanged between an MCP client (inside an AI application) and an MCP server.
Defined byRFC 9293 (obsoletes RFC 793).RFC 768.HTTP semantics in RFC 9110, HTTP/1.1 in RFC 9112, HTTP/2 in RFC 9113, HTTP/3 in RFC 9114, and TLS 1.3 in RFC 8446.Published as the Model Context Protocol specification at modelcontextprotocol.io. It is versioned by date and is not an IETF standard.
Connection modelConnection-oriented. Both endpoints keep state for the duration of the connection.Connectionless. Each datagram is independent and there is no handshake or session state in the protocol.HTTP/1.1 and HTTP/2 run over TLS over TCP. HTTP/3 runs over QUIC, which runs over UDP.Stateful session over a chosen transport. The standard transports are stdio (a local subprocess) and Streamable HTTP (a remote server).
Reliability and orderingReliable and in order. Sequence numbers, acknowledgments, and retransmission recover lost data; flow control and congestion control limit the sending rate.Best effort. Datagrams can be lost, duplicated, or reordered, and UDP does not control congestion. The application must handle these cases.Inherited from the transport: TCP for HTTP/1.1 and HTTP/2, QUIC streams for HTTP/3.Inherited from the transport. stdio uses process pipes; Streamable HTTP uses HTTP over TCP.
Default portNone of its own. TCP carries port numbers (0–65535); the application protocol chooses the well-known port.None of its own. UDP carries port numbers (0–65535); well-known examples are DNS on 53 and NTP on 123.443 by default (TCP). HTTP/3 normally uses UDP port 443.None defined by the specification. A Streamable HTTP server exposes one endpoint URL on whatever port its operator chooses; stdio uses no network port.
Session setupThree-way handshake: SYN, SYN-ACK, ACK. Data can flow after one round trip.None. The sender transmits immediately, which gives the lowest startup latency.TCP handshake, then a TLS handshake (one additional round trip in TLS 1.3). HTTP/3 combines transport and TLS setup in QUIC's handshake.The client sends an initialize request with its protocol version and capabilities, the server replies with its own, and the client then sends an initialized notification.
SecurityNo encryption or authentication. Protect data by layering TLS (or SSH) on top.No encryption or authentication. Add DTLS, or use a protocol such as QUIC that includes TLS 1.3.Encrypts and authenticates traffic, and verifies the server through its certificate. It does not hide the destination address or the approximate size of traffic.Use HTTPS for remote servers and authorize requests. Local HTTP servers should bind to localhost and validate the Origin header. Users should approve tool calls that act on their behalf.
Typical usesWeb traffic, email (SMTP, IMAP), SSH, database connections, file transfer, and most APIs.DNS queries, DHCP, NTP, real-time audio and video, games, and QUIC (the transport used by HTTP/3).Websites, REST and GraphQL APIs, webhooks, and downloading software or data.Giving AI assistants controlled access to files, databases, APIs, and developer tools.
Main trade-offsSetup latency, per-connection state, and head-of-line blocking: one lost segment delays later data on the same connection.Applications must implement their own loss recovery and congestion control. Spoofed source addresses make UDP services a common target for amplification abuse, and some networks restrict it.Requires certificate issuance and renewal, and TLS adds some CPU and setup cost. Misconfigured certificates or old TLS versions weaken protection.The specification is still evolving, so client and server must negotiate a version. Every connected server expands what an AI application can reach, so permissions need careful review.

Sources: TCP: RFC 9293 · UDP: RFC 768 · HTTPS: RFC 9110 (HTTP) and RFC 8446 (TLS 1.3) · MCP: MCP specification (not an RFC). Always check the current specification before relying on a detail.

How to use this tool

  1. Choose the protocols you want to compare.
  2. Optionally type a word such as port, handshake, or encryption to keep only matching rows.
  3. Read the table, follow the specification links for detail, or copy the result as text.

Privacy and limits

This is a static reference bundled with the page; nothing is requested from a server while you use it. It summarizes the standards listed under the table and is not a connectivity tester, because browsers cannot open raw TCP or UDP connections. Verify details against the current specification before depending on them.